1. 19 Jul, 2018 1 commit
    • Charles A. Roelli's avatar
      Add 'font-lock-maximum-decoration' levels for Python · 36b64e08
      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'.
      36b64e08
  2. 18 Jul, 2018 7 commits
    • Paul Eggert's avatar
      * etc/NEWS: Fix eql typo in previous change. · 5934122c
      Paul Eggert authored
      5934122c
    • Stefan Monnier's avatar
      * lisp/comint.el: Clean up namespace · 04a32fa6
      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.
      04a32fa6
    • Filipp Gunbin's avatar
      Fix imenu--generic-function after fix for Bug#32024. · 343b2938
      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.
      343b2938
    • Paul Eggert's avatar
      * etc/NEWS: Mention eql etc. NaN fix. · a6827078
      Paul Eggert authored
      a6827078
    • Paul Eggert's avatar
      Fix bug with eql etc. on NaNs · c70d22f7
      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.
      c70d22f7
    • Stefan Monnier's avatar
    • Alex's avatar
      Remove menu name from emacs-lisp-mode-map (Bug#27114) · 1c79d158
      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.
      1c79d158
  3. 17 Jul, 2018 4 commits
    • Paul Eggert's avatar
      Update from gnulib · 3f391c89
      Paul Eggert authored
      This incorporates:
      2018-07-17 gnulib-tool: limit line length for git send-email
      * lib/gnulib.mk.in: Regenerate.
      3f391c89
    • Paul Eggert's avatar
      Update from Gnulib · 04599bb1
      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.
      04599bb1
    • Eli Zaretskii's avatar
      00fa9467
    • Michael Albinus's avatar
      Add variable main-thread, fix Bug#32169 · 798cbac1
      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.
      798cbac1
  4. 16 Jul, 2018 5 commits
  5. 15 Jul, 2018 7 commits
    • Noam Postavsky's avatar
      ; Trace epg-tests (Bug#23561) · 6de91809
      Noam Postavsky authored
      6de91809
    • Noam Postavsky's avatar
      Don't test symmetric operations on gpg 2.0 (Bug#23561) · 7acb87ab
      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.
      7acb87ab
    • Michael Albinus's avatar
      Precise dav/davs in Tramp manual · 95931085
      Michael Albinus authored
      * doc/misc/tramp.texi (GVFS based methods): Mention `owncloud'
      method for special `dav'/`davs' file names.
      95931085
    • Michael Albinus's avatar
      Fix Bug#32147 · 02db06fc
      Michael Albinus authored
      * test/lisp/net/secrets-tests.el (secrets-test02-collections)
      (secrets-test03-items): Test for both "Login" or "login"
      collection.  (Bug#32147)
      02db06fc
    • Noam Postavsky's avatar
      Update package.el test for message format changes · b1ebc123
      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.
      b1ebc123
    • Noam Postavsky's avatar
      Fix gpg detection for tests (Bug#23561) · 10a7e919
      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'.
      10a7e919
    • Noam Postavsky's avatar
  6. 14 Jul, 2018 4 commits
  7. 13 Jul, 2018 12 commits