- 19 Feb, 2017 2 commits
-
-
Paul Eggert authored
-
Mark Oteiza authored
* lisp/json.el (json-read-keyword, json-read-number, json-read-object): (json-read-array): Just use = for char comparison.
-
- 18 Feb, 2017 16 commits
-
-
Alan Mackenzie authored
This allows c-lang-defvars with the symbol 'dont-doc in the place of the optional documentation to be instrumented for edebug. lisp/progmodes/cc-langs.el (top-level): Amend the edebug-spec for c-lang-defvar. (c-opt-identifier-concat-key, c-decl-prefix-or-start-re): remove redundant 'dont-doc.
-
Lars Ingebrigtsen authored
* lisp/net/eww.el (eww-size-text-inputs): `eww-form' isn't a plist. (eww-process-text-input): Not here, either.
-
Michael Albinus authored
* doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.3.2-pre". * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use `tramp-completion-mode-p'. * lisp/net/tramp.el (tramp-file-name-handler): Unset `non-essential' when file name doesn't match `tramp-completion-file-name-regexp'.
-
Eli Zaretskii authored
* Makefile.in (CONFIG_STATUS_FILES_IN): New variable, lists non-Makefile files produced by config.status. ($(MAKEFILE_NAME)): Depend on $(CONFIG_STATUS_FILES_IN), so that their targets are regenerated when the source changes.
-
Alan Mackenzie authored
This is a partial reversion of CC Mode commit on 2016-05-09 17:49:45 +0000. It fixes bug #25722. lisp/progmodes/cc-mode.el (awk-mode): Explicitly set the syntax table.
-
Göktuğ Kayaalp authored
* lisp/language/european.el ("Turkish"): Fix a typo in Turkish language setup. (Bug#25763)
-
Rami Ylimäki authored
* src/term.c (init_tty): Use 24-bit terminal colors if corresponding foreground and background functions are present in terminal type definition. * src/tparam.h: Define prototype for tigetstr. * lisp/term/tty-colors.el (tty-color-define): Convert color palette index to pixel value on 16.7M color terminals. (tty-color-24bit): New function to convert color palette index to pixel value on 16.7M color terminals. (tty-color-desc): Don't approximate colors on 16.7M color terminals. * lisp/term/xterm.el (xterm-register-default-colors): Define all named TTY colors on 16.7M color terminals. * doc/misc/efaq.texi (Colors on a TTY): Add instructions on how to enable direct color TTY mode. * etc/NEWS: Mention direct color TTY mode and point to FAQ.
-
Rami Ylimäki authored
* src/termchar.h (tty_display_info): Remove TN_max_pairs field, describing maximum number of terminal background/foreground color pairs. * src/term.c (tty_default_color_capabilities, tty_setup_colors) (init_tty): Remove references to TN_max_pairs.
-
Eli Zaretskii authored
* doc/emacs/search.texi (Query Replace): Document the meaning of the nil value of query-replace-from-to-separator. (Bug#25482)
-
Eli Zaretskii authored
* src/keyboard.c (Fset__this_command_keys): Add a comment about the magic 248 value. (Bug#25612)
-
Eli Zaretskii authored
* lisp/rect.el (rectangle--*-char): Avoid inflooping when called with argument N whose absolute value is greater than 1. (Bug#25773)
-
Eli Zaretskii authored
* src/data.c (Fmake_variable_buffer_local, Fmake_local_variable): Remove warnings about making symbols local while let-bound. (Bug#25561)
-
Hong Xu authored
* flyspell.el (flyspell-auto-correct-word, flyspell-word): Apply functionp instead of fboundp on flyspell-generic-check-word-predicate (Bug#25765).
-
Glenn Morris authored
It's a largely internal detail that can confuse users. (Bug#25590) * lisp/version.el (emacs-build-number): New constant. (emacs-version): Use emacs-build-number. * lisp/loadup.el (top-level): When dumping, increment emacs-build-number rather than emacs-version. * src/emacs.c (emacs-version): Doc fix. * doc/lispref/intro.texi (Version Info): Update emacs-version details. Mention emacs-build-number. * lisp/gnus/gnus-util.el (gnus-emacs-version): * lisp/mail/emacsbug.el (report-emacs-bug): * admin/admin.el (set-version): Update for emacs-version change. ; * etc/NEWS: Mention this.
-
Glenn Morris authored
* lisp/startup.el (user-mail-address): Initialize in the normal way. (command-line): Reset user-mail-address if needed using standard custom machinery. * lisp/mail/feedmail.el (feedmail-fiddle-from): * lisp/mail/rmail.el (rmail-unknown-mail-followup-to): * lisp/mail/rmailsum.el (rmail-header-summary): Simplify now that user-mail-address is always set. ; * doc/lispref/os.texi (System Environment): Remove fixme comment.
-
Mark Oteiza authored
* lisp/progmodes/ruby-mode.el: Turn on lexical-binding. (ruby-font-lock-syntax-table): Use make-syntax-table. (ruby-mode): 'define-derived-mode' writes the keys for us.
-
- 17 Feb, 2017 10 commits
-
-
Mark Oteiza authored
* lisp/emacs-lisp/elint.el: Quote entry point commands in commentary. (elint-running, elint-current-pos): Move these dynamic vars to toward the top of the file. (elint-check-quote-form): Ignore unused argument. (elint-check-conditional-form): Remove unused binding.
-
Gemini Lasswell authored
-
Mark Oteiza authored
* lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Set default to 0.2 (Bug#25709).
-
Michal Nazarewicz authored
The [5ec3a584: Generate upcase and downcase tables from Unicode data] commit broke bootstrap from a truly clean tree (e.g. a fresh clone or one created with ‘make extraclean’), see <http://hydra.nixos.org/build/48774928>. The failure was caused by characters.el trying to read Unicode property tables which aren’t available so early in the build process. Wrap the part that requires Unicode property tables in a condition checking if those are available. If they aren’t they case and syntax tables won’t be fully set but later on, the characters.el file will be evaluated again and this time with Unicode properties available so final Emacs ends up with the exact same case and syntax tables.
-
Katsumi Yamaoka authored
* lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Improve regexp to search html meta tag.
-
Katsumi Yamaoka authored
* lisp/gnus/mm-decode.el (mm-shr): Prefer charset specified in html meta tag than mail-parse-charset in the case there is no charset spec in MIME header.
-
Glenn Morris authored
* lisp/gnus/message.el (user-mail-address, user-full-name): No need to re-specify custom-type.
-
Glenn Morris authored
* lisp/play/dunnet.el (dun-special-object, dun-put-objs) (dun-rlogin-endgame): Whitespace trivia.
-
Glenn Morris authored
* src/casefiddle.c (casify_object): Reject negative integers: Emacs characters are positive integers. (Bug#25684)
-
Dmitry Gutov authored
* lisp/vc/vc.el (vc-retrieve-tag): When the granularity is `repository', use the repository root and pass it to vc-resynch-buffer (bug#25714).
-
- 16 Feb, 2017 8 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
* src/bytecode.c (exec_byte_code) [BYTE_CODE_SAFE]: Check that operand is a hash table and hashes to ints.
-
Paul Eggert authored
-
Vibhav Pant authored
* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Don't do redundant operations while calculating the correct jump addresses from TAGs in jump tables.
-
Mark Oteiza authored
* lisp/json.el (json-advance): Simpler docstring. (json-read-escaped-char): Use xdigit subform in rx expression. (json-read-string): Just use = for char comparison.
-
Mark Oteiza authored
* lisp/emacs-lisp/pcase.el (pcase-codegen): Only let-bind if VARS is non-nil.
-
Glenn Morris authored
* lisp/mail/feedmail.el (feedmail-fiddle-from): * lisp/mail/rmail.el (rmail-unknown-mail-followup-to): * lisp/mail/rmailsum.el (rmail-header-summary): Belated update for 2002-09-29 startup.el change, 680ebfa6, where the value of user-mail-address during initialization was changed from nil to the empty string.
-
- 15 Feb, 2017 4 commits
-
-
Michael Albinus authored
* lisp/ido.el (ido-complete): Let-bind `non-essential' to nil. (ido-file-name-all-completions-1): Do not bind `non-essential'. * lisp/net/tramp.el: (tramp-completion-file-name-handler): Improve autoloaded version. (tramp-completion-file-name-handler): Remove old compat code. Check only for `tramp-completion-mode-p'. (tramp-completion-mode-p): Autoload. Do not check any longer for `last-input-event'. (tramp-completion-handle-expand-file-name): Simplify. (Bug#25607)
-
Michal Nazarewicz authored
A compatibility digraph characters, such as Dž, are neither upper- nor lower-case. At the moment however, those are reported as upper-case¹ despite the fact that they change when upper-cased. Stop checking if a character is upper-case before trying to up-case it so that title-case characters are handled correctly. This fixes one of the issues mentioned in bug#24603. ¹ Because they change when converted to lower-case. Notice an asymmetry in that for a character to be considered lower-case it must not be upper-case (plus the usual condition of changing when upper-cased). * src/buffer.h (upcase1): Delete. (upcase): Change to upcase character unconditionally just like downcase does it. This is what upcase1 was. * src/casefiddle.c (casify_object, casify_region): Use upcase instead of upcase1 and don’t check !uppercasep(x) before calling upcase. * src/keyboard.c (read_key_sequence): Don’t check if uppercase(x), just downcase(x) and see if it changed. * test/src/casefiddle-tests.el (casefiddle-tests--characters, casefiddle-tests-casing): Update test cases which are now passing.
-
Michal Nazarewicz authored
Use Unicode data to generate case tables instead of mostly repeating them in lisp code. Do that in a way which maps ‘Dz’ (and similar) digraph to ‘dz’ when down- and ‘DZ’ when upcasing. https://debbugs.gnu.org/cgi/bugreport.cgi?msg=89;bug=24603 lists all changes to syntax table and case tables introduced by this commit. * lisp/international/characters.el: Remove case-pairs defined with explicit Lisp code and instead use Unicode character properties. * test/src/casefiddle-tests.el (casefiddle-tests--characters, casefiddle-tests-casing): Update test cases which are now working as they should.
-
Michal Nazarewicz authored
Fixes cases marked FIXME upcoming in followup commits. * test/src/casefiddle-tests.el (casefiddle-tests-char-properties, casefiddle-tests-case-table, casefiddle-tests-casing-character, casefiddle-tests-casing, casefiddle-tests-casing-byte8, casefiddle-tests-casing-byte8-with-changes): New tests. (casefiddle-tests--test-casing): New helper function for runnig some of the tests.
-