1. 06 Feb, 2020 7 commits
    • Richard Stallman's avatar
      Merge · c4be8011
      Richard Stallman authored
    • Richard Stallman's avatar
      Lispref: Explain avoiding lambdas on hooks. · 53f0de5d
      Richard Stallman authored
      (lispref/modes.texi): Explain avoiding lambdas on hooks.
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 15814d0c
      Glenn Morris authored
      The following commit was skipped:
      b2e27d86 (origin/emacs-27) Revert "Signal user-error on duplicate p...
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 68d43392
      Glenn Morris authored
      09eed01a Wrap some set-auto-mode calls with delay-mode-hooks (bug#3...
      4a0a1145 Support ido-vertical-mode better
      ef5fba9f Fix faces tab-bar and tab-line.
      83150842 Cater for 3-argument version of pthread_setname_np
      f27187f9 Clarify lexvar restrictions for add-to-ordered-list, add-t...
      32763dac Replace add-to-list to lexical variable with push (bug#39373)
      d07f1773 Clarify add-to-list documentation (bug#39373)
      d3d2ea92 MH-E: alter content in mh-display-msg, not mh-show-mode
      db7fa254 Update documentation for mh-show-mode-hook
      d10be6bf Example goto-addr hook: MH-E already uses goto-address
      # Conflicts:
      #	etc/NEWS
    • Stefan Monnier's avatar
    • Zajcev Evgeny's avatar
      Make 'M-x battery RET' work out-of-box for UPower users. · d8f4317f
      Zajcev Evgeny authored
      * battery.el (battery-upower-prop): Removed in favor for
        (battery-upower-device): Can be nil, meaning autodetect the battery
        (battery-upower-line-power-device): New.  line-power device.  Can be
        nil, meaning autodetect line-power device.
        (battery-status-function): Check UPower service is available to use
        'battery-upower' as status function.
        (battery-upower): Speedup.  Request D-Bus only once, fetching all
        the properties at once.  Provide string for "%b" format spec.
        (battery-upower-device-list, battery-upower-device-all-properties,
        battery-upower-device-property): New functions to work with UPower
        (battery-upower-dbus-service, battery-upower-dbus-interface,
        battery-upower-dbus-path, battery-upower-dbus-device-interface,
        battery-upower-dbus-device-path): New constants describing UPower
        D-Bus service.
    • Stefan Kangas's avatar
      Revert "Signal user-error on duplicate package refresh" · b2e27d86
      Stefan Kangas authored
      That commit caused errors when the connection was dropped in the
      middle of a package refresh.  To avoid any further issues this close
      to the pretest, we simply remove this feature.  (Bug#39187)
      Don't merge to master, where we will instead try to fix the bug.
  2. 05 Feb, 2020 11 commits
  3. 04 Feb, 2020 6 commits
    • Dmitry Gutov's avatar
      Support ido-vertical-mode better · 4a0a1145
      Dmitry Gutov authored
      * lisp/ido.el (ido-exhibit):
      Prepend a space to INF if it starts with a newline (bug#39379).
    • Juri Linkov's avatar
      Fix faces tab-bar and tab-line. · ef5fba9f
      Juri Linkov authored
      * lisp/tab-bar.el (tab-bar) <defface>:
      * lisp/tab-line.el (tab-line) <defface>:
      Check for min-colors 88 instead of type x.
    • Adam Porter's avatar
      * lisp/emacs-lisp/map.el: Add keyword-only pattern abbreviation · e287da5a
      Adam Porter authored
      * lisp/emacs-lisp/map.el: Update version to 2.1.
      ((pcase-defmacro map)): Update docstring.
      (map--make-pcase-bindings): Match keyword pattern.
      * test/lisp/emacs-lisp/map-tests.el (test-map-plist-pcase): Add test.
    • Stefan Kangas's avatar
      Silence byte-compiler warning · b641c178
      Stefan Kangas authored
      * lisp/dired.el (grep-read-files-function): Add defvar to silence
      byte-compiler warning.
    • Stefan Kangas's avatar
      Provide default for describe-keymap prompt · 330228d5
      Stefan Kangas authored
      * lisp/help-fns.el (describe-keymap): Provide a reasonable
      default for prompt.  (Bug#30660)
      (help-fns--most-relevant-active-keymap): New functions.
      * test/lisp/help-fns-tests.el
      (help-fns-test-find-keymap-name): New test.
    • Stefan Kangas's avatar
      Add new help command describe-keymap · 557b790e
      Stefan Kangas authored
      * lisp/help-fns.el (describe-keymap): New command to show key bindings
      for a given keymap.  (Bug#30660)
      * doc/emacs/help.texi (Misc Help): Document the new command.
      * doc/lispref/keymaps.texi (Scanning Keymaps): Add a cross-reference
      to the above documentation.
      * etc/NEWS: Announce the new command.
      * test/lisp/help-fns-tests.el (help-fns-test-describe-keymap/symbol)
      (help-fns-test-describe-keymap/dynamically-bound-no-file): New tests.
      Co-authored-by: default avatarDrew Adams <drew.adams@oracle.com>
  4. 03 Feb, 2020 2 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el: Remove old non-SMIE indentation code · f9504ffb
      Stefan Monnier authored
      (sh-learn-basic-offset, sh-blink, sh-use-smie): Remove config vars.
      (sh-kw-alist, sh-learned-buffer-hook): Remove var.
      (sh-must-support-indent, sh-mark-init, sh-mark-line): Remove function.
      (sh-kw, sh-special-keywords): Remove constant.
      (sh-help-string-for-variable, sh-read-variable, sh-goto-matching-if)
      (sh-handle-prev-if, sh-handle-this-else, sh-handle-prev-else)
      (sh-handle-this-fi, sh-handle-prev-fi, sh-handle-this-then)
      (sh-handle-prev-then, sh-handle-prev-open, sh-handle-this-close)
      (sh-goto-matching-case, sh-handle-prev-case, sh-handle-this-esac)
      (sh-handle-prev-esac, sh-handle-after-case-label)
      (sh-handle-prev-case-alt-end, sh-safe-forward-sexp)
      (sh-goto-match-for-done, sh-handle-this-done, sh-handle-prev-done)
      (sh-handle-this-do, sh-handle-prev-do, sh-find-prev-switch)
      (sh-handle-this-rc-case, sh-handle-prev-rc-case, sh-check-rule)
      (sh-get-indent-info, sh-get-indent-var-for-line, sh-prev-line)
      (sh-prev-stmt, sh-get-word, sh-prev-thing, sh-this-is-a-continuation)
      (sh-get-kw, sh-find-prev-matching, sh-set-var-value)
      (sh-calculate-indent, sh-indent-line, sh-blink, sh-guess-basic-offset):
      Remove functions.
      (sh-show-indent, sh-set-indent, sh-learn-line-indent)
      (sh-learn-buffer-indent): Redefine as obsolete aliases.
    • Robert Pluim's avatar
      Cater for 3-argument version of pthread_setname_np · 83150842
      Robert Pluim authored
      Fixes Bug#39363.
      * configure.ac: Add check for 3-argument version of
      * src/systhread.c (sys_thread_set_name)
      [HAVE_PTHREAD_SETNAME_NP_3ARG]: Call pthread_setname_np with
      3 arguments.
  5. 02 Feb, 2020 2 commits
  6. 01 Feb, 2020 12 commits
    • Mattias Engdegård's avatar
      Replace add-to-list to lexical variable with push (bug#39373) · 32763dac
      Mattias Engdegård authored
      Since 'add-to-list', being a plain function, cannot access lexical
      variables, such use must be rewritten for correctness.
      (Some instances actually do work thanks to a compiler macro,
      but it's not something code should rely on.)
      * lisp/autoinsert.el (auto-insert-alist):
      * lisp/cedet/mode-local.el (mode-local-print-bindings):
      * lisp/net/tramp-cache.el (tramp-flush-connection-properties)
      * lisp/net/zeroconf.el (zeroconf-list-service-names)
      (zeroconf-list-service-types, zeroconf-list-services):
      * lisp/org/org.el (org-reload):
      * lisp/whitespace.el (whitespace-report-region):
      * test/lisp/emacs-lisp/map-tests.el (test-map-do):
      Replace add-to-list with push.
    • Mattias Engdegård's avatar
      Clarify add-to-list documentation (bug#39373) · d07f1773
      Mattias Engdegård authored
      While add-to-list often works with lexical variables, this is a hack
      that isn't always effective; better tell the user not to try.
      * doc/lispref/lists.texi (List Variables): Add a note about lexical
      variables to the add-to-list description.  Fix the equivalent code.
      * lisp/subr.el (add-to-list): Amend doc string.
    • Stephen Gildea's avatar
      MH-E: alter content in mh-display-msg, not mh-show-mode · d3d2ea92
      Stephen Gildea authored
      * lisp/mh-e/mh-show.el (mh-display-msg, mh-show-mode):  buffer-altering
      code formerly in mh-show-mode is moved to the location in mh-display-msg
      where mh-show-mode used to be called before the fix to MH-E bug #470
      moved the call earlier.
    • Stephen Gildea's avatar
      Update documentation for mh-show-mode-hook · db7fa254
      Stephen Gildea authored
      * lisp/mh-e/mh-e.el, doc/misc/mh-e.texi (mh-show-mode-hook): Now that
      the fix for MH-E bug #470 calls mh-show-mode-hook earlier, update the
      documentation to no longer say that the message contents are available.
    • Stephen Gildea's avatar
      Example goto-addr hook: MH-E already uses goto-address · d10be6bf
      Stephen Gildea authored
      * lisp/net/goto-addr.el, doc/emacs/misc.texi: Do not use MH-E as the
      example of how to add a hook to goto-address, because MH-E calls
      goto-address internally.
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 39f723b2
      Glenn Morris authored
      The following commit was skipped:
      42c1e606 (origin/emacs-27, emacs-27) ; Auto-commit of loaddefs files.
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 1083e524
      Glenn Morris authored
      cdf8c318 Extend workaround for Cygwin O_PATH bug
    • Glenn Morris's avatar
      ; Merge from origin/emacs-27 · 0e9a14be
      Glenn Morris authored
      The following commit was skipped:
      0223a157 * lisp/emacs-lisp/debug.el (debug): Merge the non-interact...
    • Glenn Morris's avatar
      Merge from origin/emacs-27 · 0ceb5d0b
      Glenn Morris authored
      5bf2ef38 Add more blackboard bold characters to TeX input method
      c362a624 ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix comme...
      2b1e18ae Protect against errors in gdb-mi.el handlers
      baceb8e8 Allow exiting the Python interpreter of a GDB session
      2e66013d Ensure minibuffer input is added to history in read_minibuf
      de411615 Tab-bar related fixes.
      247f2cfa ; ChangeLog.3 fixes.
      e1a712bb * admin/authors.el: Add missing entries.
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · fcac8fcf
      Glenn Morris authored
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 42c1e606
      Glenn Morris authored
    • Michael Albinus's avatar
      Implement `shell-command-dont-erase-buffer' in Tramp. (Bug#39067) · bb1d42b9
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-shell-command):
      Handle `shell-command-dont-erase-buffer'.  (Bug#39067)
      * test/lisp/net/tramp-tests.el (shell-command-dont-erase-buffer):
      (tramp-test10-write-region, tramp-test21-file-links): Use function
      (tramp--test-async-shell-command): Don't assume that
      `async-shell-command' returns the process object.
      (tramp-test32-shell-command): Rework `async-shell-command-width' test.
      (tramp-test32-shell-command-dont-erase-buffer): New test.