- 19 Jul, 2018 1 commit
-
-
Charles A. Roelli authored
* etc/NEWS: New entry under Python mode. * lisp/progmodes/python.el (python-font-lock-keywords-level-1) (python-font-lock-keywords-level-2) (python-font-lock-keywords-maximum-decoration): New variables based off the incumbent 'python-font-lock-keywords'. (python-font-lock-keywords): Change it to a list of the new symbols, for use in the 'car' of 'font-lock-defaults'. (python-mode): Set the 'car' of 'font-lock-defaults' to the value of 'python-font-lock-keywords', instead of the symbol 'python-font-lock-keywords'.
-
- 18 Jul, 2018 7 commits
-
-
Paul Eggert authored
-
Stefan Monnier authored
(shell-strip-ctrl-m): Mark as obsolete. (comint-send-invisible): Rename from `send-invisible`. (send-invisible): Make it an obsolete alias. * lisp/net/rlogin.el: Adjust accordingly; Use lexical-binding. * lisp/shell.el: Adjust accordingly.
-
Filipp Gunbin authored
* lisp/imenu.el (imenu--generic-function): Restore returning of nconc result from the function. Move filtering out empty menus so it is done before removing dummy element and splicing main element into index-alist.
-
Paul Eggert authored
-
Paul Eggert authored
Fix a bug where eql, sxhash-eql, memql, and make-hash-table were not consistent on NaNs. Likewise for equal, sxhash-equal, member, and make-hash-table. Some of these functions ignored NaN significands, whereas others treated them as significant. It's more logical to treat significands as significant, and this typically makes eql a bit more efficient on floats, with just one integer comparison instead of one to three floating-point comparisons. * doc/lispref/numbers.texi (Float Basics): Document that NaNs are never numerically equal, but might be eql. * src/fns.c (WORDS_PER_DOUBLE): Move to top level of this file. (union double_and_words): Now named, and at the top level of this file. (same_float): New function. (Fmemql, Feql, internal_equal, cmpfn_eql): Use it, so that the corresponding functions treat NaNs consistently. (sxhash_float): Simplify based on above-mentioned changes. * test/src/fns-tests.el (fns-tests-equality-nan): New test.
-
Stefan Monnier authored
-
Alex authored
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-map): Don't give a menu name to the top-level map, the menu name is only useful for the menu-map.
-
- 17 Jul, 2018 4 commits
-
-
Paul Eggert authored
This incorporates: 2018-07-17 gnulib-tool: limit line length for git send-email * lib/gnulib.mk.in: Regenerate.
-
Paul Eggert authored
This causes config.guess to assume support for shell functions, a safe assumption nowadays. * build-aux/config.guess, build-aux/config.sub: Copy from Gnulib.
-
Eli Zaretskii authored
-
Michael Albinus authored
* doc/lispref/threads.texi (Basic Thread Functions): Add example, how to propagate signals to the main thread. Describe variable `main-thread'. Document optional argument CLEANUP of `thread-last-error'. * src/thread.c (Fthread_last_error): Add optional argument CLEANUP. (Bug#32169) (main-thread): New defvar. * test/src/thread-tests.el (thread-last-error): Adapt declaration. (main-thread): Declare. (threads-main-thread): New test. (threads-errors): Extend test.
-
- 16 Jul, 2018 5 commits
-
-
Charles A. Roelli authored
* etc/NEWS: Describe the change. * lisp/register.el (register-val-describe) [(window-configuration-p (car val))]: Include the shown buffers in the return value to make 'register-read-with-preview' more useful. (Bug#30863)
-
Charles A. Roelli authored
Running 'make install' to test a repo build on macOS used to be required, but is no longer needed.
-
Noam Postavsky authored
-
Noam Postavsky authored
Previously, gpg2 2.0 would be rejected, but the same version installed as "gpg" would be accepted. * lisp/epg-config.el (epg-gpg2-minimum-version): New constant. (epg-config--program-alist) <OpenPGP>: Require a version in 1.4.3..2.0 or 2.1.6+., not just anything above 1.4.3. (epg-check-configuration): Accept a list of required version intervals, in addtion to just a single minimum.
-
Paul Eggert authored
-
- 15 Jul, 2018 7 commits
-
-
Noam Postavsky authored
-
Noam Postavsky authored
On the Hydra test machines, which have gpg 2.0, the symmetric tests fail. * test/lisp/epg-tests.el (with-epg-tests): Pass REQUIRE-PUBLIC-KEY to `epg-tests-find-usable-gpg-configuration' and call it before `epg-make-context' so that the latter uses the resulting cached config. (epg-tests-find-usable-gpg-configuration): Only allow gpg 2.0 for symmetric operations. Clear `epg--configurations' and don't pass NO-CACHE to `epg-find-configuration'. (epg-tests--config-program-alist): Use copy-tree to avoid modifying the epg-config--program-alist cons values. * test/lisp/emacs-lisp/package-tests.el (package-test-signed): Allow running with gpg 2.0.
-
Michael Albinus authored
* doc/misc/tramp.texi (GVFS based methods): Mention `owncloud' method for special `dav'/`davs' file names.
-
Michael Albinus authored
* test/lisp/net/secrets-tests.el (secrets-test02-collections) (secrets-test03-items): Test for both "Login" or "login" collection. (Bug#32147)
-
Noam Postavsky authored
* test/lisp/emacs-lisp/package-tests.el (package-test-signed): Update the expected message. The message was changed in 2018-06-25 "Reformat package.el message strings for future l10n". (with-package-test, with-fake-help-buffer): Add debug declarations.
-
Noam Postavsky authored
* test/lisp/emacs-lisp/package-tests.el (package-test-signed): Stop using epg-check-configuration and ignore-errors, they're redundant because epg-find-configuration already does all that. * test/lisp/epg-tests.el (epg-tests-find-usable-gpg-configuration): Remove tracing. (with-epg-tests): Skip test if no gpg config is found. (epg-decrypt-1 epg-roundtrip-1, epg-sign-verify-1, epg-sign-verify-2) (epg-import-1): Don't check gpg configuration at top-level, rely on `with-epg-tests' instead. Checking the gpg configuration requires a valid HOME (or GNUPGHOME), which is provided by `with-epg-tests'.
-
Noam Postavsky authored
-
- 14 Jul, 2018 4 commits
-
-
Noam Postavsky authored
-
Charles A. Roelli authored
* lisp/register.el (jump-to-register): * doc/emacs/regs.texi (Position Registers): Document that jumping to a register can push the mark.
-
Noam Postavsky authored
-
Jonathan Kyle Mitchell authored
* xdisp.c (safe_set_text_properties): New function. (display_mode_element): Call Fset_text_properties through internal_condition_case_n, using safe_set_text_properties as a wrapper. (Bug#32038)
-
- 13 Jul, 2018 12 commits
-
-
Stefan Monnier authored
(diff--font-lock-prettify): New function. (diff-font-lock-keywords): Use it.
-
Glenn Morris authored
17ebb6e5 (origin/emacs-26) Use consistent function names in thread-tes... 1c862297 Fix format error in Faccept_process_output b38b91a8 Lessen stack consumption in recursive read1 3eb4603b Match w32 paths in grep sans --null hits (Bug#32051) 5cc7c4b4 Fix previous make-network-process change d6a1b69c Another documentation improvement in flyspell.el 9b49a8ed Improve documentation of Flyspell 3744fda5 Provide feature 'threads ef9025f5 Save the server alias on reconnect (Bug#29657) db3874b1 Refer to "proper lists" instead of "true lists" 35e0305d Avoid turning on the global-minor-mode recursively 51bf4e46 Fix Bug#32085
-
Basil L. Contovounesios authored
* lisp/emacs-lisp/subr-x.el (string-join): #'-quote function symbol. (string-trim-left, string-trim-right): Make better use of substring for minor speedup. * test/lisp/emacs-lisp/subr-x-tests.el (subr-x-test-string-trim-left, subr-x-test-string-trim-right) (subr-x-test-string-remove-prefix) (subr-x-test-string-remove-suffix): New tests.
-
Basil L. Contovounesios authored
* lisp/cus-theme.el (custom-new-theme-mode, customize-themes) (custom-theme-choose-mode): Use setq-local. (customize-create-theme): Ditto. Use delete-all-overlays. (describe-theme-1, custom-theme-summary): Simplify logic.
-
Basil L. Contovounesios authored
* lisp/custom.el (custom-quote): Duplicate macroexp-quote. (custom-load-symbol, customize-mark-to-save, customize-mark-as-set) (custom-theme-name-valid-p, enable-theme, custom-enabled-themes) (disable-theme): Simplify logic.
-
Basil L. Contovounesios authored
-
Basil L. Contovounesios authored
Remove duplicate 'Custom Themes' comment heading. (deftheme, custom-declare-theme): Fix advertised calling convention. (custom-enabled-themes): Fix message grammar.
-
Basil L. Contovounesios authored
For discussion, see thread starting at https://lists.gnu.org/archive/html/emacs-devel/2018-05/msg00222.html. * lisp/custom.el: (custom-available-themes): Use directory-files instead of performing arbitrary wildcard expansion in file names. (custom-theme--load-path): Document return value. * test/lisp/custom-tests.el: New file. (custom-theme--load-path): New test.
-
Basil L. Contovounesios authored
* etc/themes/adwaita-theme.el: * etc/themes/deeper-blue-theme.el: * etc/themes/dichromacy-theme.el: * etc/themes/leuven-theme.el: * etc/themes/light-blue-theme.el: * etc/themes/manoj-dark-theme.el: * etc/themes/misterioso-theme.el: * etc/themes/tango-dark-theme.el: * etc/themes/tango-theme.el: * etc/themes/tsdh-dark-theme.el: * etc/themes/tsdh-light-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/whiteboard-theme.el: * etc/themes/wombat-theme.el: Disable no-byte-compile. https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00614.html https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00060.html
-
Basil L. Contovounesios authored
* lisp/custom.el (load-theme): Load byte-compiled file of safe themes when available. https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00614.html https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00060.html
-
Michael Albinus authored
* test/src/thread-tests.el (threads-call-error, threads-custom) (threads-errors, threads-sticky-point, threads-signal-early): Rename, using naming convention to prefix with "threads-".
-
Michael Albinus authored
* src/process.c (Faccept_process_output): Do not use format spec "%p", it isn't valid for error().
-