1. 01 Jan, 2019 2 commits
    • Paul Eggert's avatar
      Update more copyright years · a04bf151
      Paul Eggert authored
      Update some other copyright years automatically, by running:
      UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 admin/update-copyright'
      followed by 'admin/merge-gnulib'.
    • Paul Eggert's avatar
      Update copyright year to 2019 · 26bed8ba
      Paul Eggert authored
      Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
  2. 31 Dec, 2018 1 commit
    • Michael Albinus's avatar
      Precise documentation of Tramp ad-hoc proxies · 792dc36e
      Michael Albinus authored
      * doc/misc/tramp.texi (Ad-hoc multi-hops): Remove superfluous
      first entry about %h and %u.  Describe, how to remove ad-hoc proxy
      (Cleanup remote connections): Mention, that also ad-hoc proxy
      definitions are removed.
      * etc/NEWS: Mention default host names in Tramp ad-hoc proxies.
  3. 25 Dec, 2018 2 commits
  4. 23 Dec, 2018 2 commits
  5. 22 Dec, 2018 3 commits
    • Philipp Stephani's avatar
      Add file name handler support for 'make-process' (Bug#28691) · 039be4e0
      Philipp Stephani authored
      * src/process.c (Fmake_process): Add new keyword argument
      (syms_of_process) <make-process, :file-handler>: Define new symbols.
      * lisp/files.el (file-name-non-special): Add support for
      * test/src/process-tests.el (make-process/file-handler/found)
      (make-process/file-handler/disable): New unit tests.
      (process-tests--file-handler): New helper function.
      * test/lisp/files-tests.el
      (files-tests-file-name-non-special-make-process): New unit test.
      * doc/lispref/files.texi (Magic File Names): Document that
      'make-process' can invoke file name handlers.
      * doc/lispref/processes.texi (Asynchronous Processes): Document
      ':file-handlers' argument to 'make-process'.
      * etc/NEWS (Lisp Changes in Emacs 27.1): Mention new
      :file-handler argument for 'make-process'.
    • Michael Albinus's avatar
      ; Cosmetic changes in etc/NEWS · 29310168
      Michael Albinus authored
    • Michael Albinus's avatar
      ; Cosmetic changes to etc/NEWS · 36c270da
      Michael Albinus authored
  6. 20 Dec, 2018 3 commits
  7. 17 Dec, 2018 3 commits
    • Juri Linkov's avatar
      Syntactic fontification of diff hunks (bug#33567) · 6973b148
      Juri Linkov authored
      * lisp/vc/diff-mode.el (diff-font-lock-syntax): New defcustom.
      (diff-default-directory): New buffer-local variable.
      (diff-indicator-removed, diff-indicator-added)
      (diff-indicator-changed): Set foreground to distinctive colors.
      (diff-context): Remove colors to make room for syntax highlighting.
      (diff-font-lock-keywords): Add diff--font-lock-syntax.
      (diff--font-lock-cleanup): Remove diff-mode syntax overlays.
      (diff--font-lock-syntax, diff--font-lock-syntax--refresh)
      (diff-syntax-fontify-revisions, diff-syntax-fontify-hunk)
      (diff-syntax-fontify-props): New functions.
      * lisp/vc/diff.el (diff-no-select): Set diff-default-directory to
      * doc/emacs/files.texi (Diff Mode): Document diff-font-lock-syntax.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/map.el: Avoid special casing lists. · 55838e4e
      Stefan Monnier authored
      (map-not-inplace, map-inplace): New errors.
      (map-insert): New generic function.
      (map-put!): Signal map-not-inplace rather than a generic 'error'.
      (map-elt): Use map-not-inplace and map-insert to avoid hardcoding
      a special case for lists.
      * test/lisp/emacs-lisp/map-tests.el (test-map-put!): Rename from
      test-map-put.  Also test the errors signaled.
    • Alex Branham's avatar
      New function flatten-tree · 36b05dc8
      Alex Branham authored
      Co-authored-by: default avatarBasil L. Contovounesios <contovob@tcd.ie>
      * doc/lispref/lists.texi: Document `flatten-tree'.
      * lisp/progmodes/js.el (js--maybe-join):
      * lisp/printing.el (pr-switches):
      * lisp/lpr.el (lpr-print-region):
      * lisp/gnus/nnimap.el (nnimap-find-wanted-parts):
      * lisp/gnus/message.el (message-talkative-question):
      * lisp/gnus/gnus-sum.el (gnus-remove-thread)
      (gnus-thread-highest-number, gnus-thread-latest-date):
      * lisp/eshell/esh-util.el (eshell-flatten-and-stringify):
      * lisp/eshell/esh-opt.el (eshell-eval-using-options):
      * lisp/eshell/esh-ext.el (eshell-external-command):
      * lisp/eshell/em-xtra.el (eshell/expr):
      * lisp/eshell/em-unix.el (eshell/rm, eshell-mvcpln-template)
      (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
      (eshell/du, eshell/time, eshell/diff, eshell/locate):
      * lisp/eshell/em-tramp.el (eshell/su, eshell/sudo):
      * lisp/eshell/em-term.el (eshell-exec-visual):
      * lisp/eshell/em-dirs.el (eshell-dirs-substitute-cd, eshell/cd):
      * lisp/eshell/em-basic.el (eshell/printnl):
      Use new flatten-tree.
      * lisp/progmodes/js.el (js--flatten-list):
      * lisp/lpr.el (lpr-flatten-list):
      * lisp/gnus/message.el (message-flatten-list):
      * lisp/eshell/esh-util.el (eshell-flatten-list):
      Obsolete in favor of Emacs-wide `flatten-tree'.
      * lisp/subr.el (flatten-list): Alias to `flatten-tree' for
      * lisp/subr.el (flatten-tree): New defun.
      * test/lisp/subr-tests.el (subr-tests-flatten-tree): New test.
  8. 16 Dec, 2018 1 commit
    • Michael Albinus's avatar
      Add Tramp sudoedit method · e8199e76
      Michael Albinus authored
      * doc/misc/tramp.texi (Quick Start Guide): New section "Using sudoedit".
      (External methods) <sudoedit>: Describe.
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Add handler.
      * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-uid-gid): Rename from
      `tramp-sh-handle-set-file-uid-gid'.  Handle only remote file names.
      * lisp/net/tramp-sudoedit.el: New file.
      * lisp/net/tramp.el (tramp-file-name-for-operation): Handle also
      (tramp-set-file-uid-gid): New defun.
      (tramp-get-local-uid, tramp-get-local-gid): Cache result.
      * test/lisp/net/tramp-tests.el (tramp--test-sudoedit-p): New defun.
      (tramp-test20-file-modes, tramp-test22-file-times)
      (tramp--test-sudoedit-p): Use it.
  9. 11 Dec, 2018 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/map.el: Make the functions generic · 1691a510
      Stefan Monnier authored
      Make them document their delegation relationship, to clarify when
      a method is needed.
      (map--dispatch): Give more info in the error message.
      (map-elt): Make it generic and deprecate the 'testfn' arg.
      (map-put): Make it obsolete.
      (map-length): Make it work on hash-tables.
      (map-apply): Define it in terms of map-do.
      (map-do, map-into): Use cl-generic dispatch instead of map--dispatch.
      (map-empty-p): Define it in terms of map-length.
      (map-contains-key): Deprecate 'testfn'.  Make it return a boolean, so
      it can return non-nil even if 'key' is nil.  Improve implementation to
      avoid constructing an intermediate list of all keys.
      (map-merge-with): Use 'eql' rather than `eq'.
      (map-put!): Rename from map--put and make it generic, to replace map-put.
      (map--apply-alist, map--apply-hash-table, map--apply-array):
      Turn them into methods of map-apply.
      (map--do-alist, map--do-array): Turn them into methods of map-do.
      (map--into-hash-table): Turn it into a method of map-into.
  10. 10 Dec, 2018 1 commit
  11. 08 Dec, 2018 2 commits
  12. 06 Dec, 2018 2 commits
  13. 04 Dec, 2018 3 commits
    • Eli Zaretskii's avatar
      Support IBM038 (a.k.a. "EBCDIC-INT") encoding · 6d898918
      Eli Zaretskii authored
      * lisp/international/mule-conf.el (ibm038): New charset.
      (ebcdic-int, cp038): Alias charsets of ibm038.
      * lisp/language/english.el (ibm038): New coding-system.
      (ebcdic-int, cp038): Alias coding-systems of ibm038.
      * etc/NEWS: Announce the new coding system ibm038.
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-yank-on-move): New defcustom · f745cf8c
      Juri Linkov authored
      with shift-move related options extracted from `search-exit-option'.
      (isearch-pre-command-hook): Rename search-exit-option to
      isearch-yank-on-move in shift-move related places.
      (isearch-post-command-hook): Check for isearch-pre-move-point
      instead of search-exit-option.  (Bug#15839)
      * doc/emacs/search.texi (Not Exiting Isearch): Rename
      search-exit-option to isearch-yank-on-move.
      * lisp/menu-bar.el (menu-bar-i-search-menu): Add more isearch commands.
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-allow-scroll): New option `unlimited'. · beafe2bf
      Juri Linkov authored
      (isearch-pre-command-hook): Call isearch-pre-scroll-point unless
      isearch-allow-scroll is 'unlimited'.
      (isearch-post-command-hook): Use `when' instead of `cond'.
      Call isearch-lazy-highlight-new-loop when isearch-allow-scroll is
      'unlimited'.  (Bug#15839)
  14. 02 Dec, 2018 1 commit
    • Paul Eggert's avatar
      emacsclient: prefer XDG_RUNTIME_DIR (Bug#33367) · 92282cb5
      Paul Eggert authored
      * lib-src/emacsclient.c: Disable -Wformat-truncation=2,
      to avoid false alarms about the new snprintf calls.
      (local_sockname): New function.
      (set_local_socket): Use it.  Prefer XDG_RUNTIME_DIR (if set)
      for location of socket directory.  Avoid unnecessary memory
      allocation by using snprintf to destination.
      * lisp/server.el (server-socket-dir): Prefer XDG_RUNTIME_DIR if set.
  15. 01 Dec, 2018 1 commit
  16. 25 Nov, 2018 1 commit
  17. 24 Nov, 2018 2 commits
    • Michael Albinus's avatar
      Add Tramp rclone method · a7d9c38d
      Michael Albinus authored
      * doc/misc/tramp.texi (Top): Remove "History".
      (History): Remove node.
      (Quick Start Guide): New section "Using rclone".
      (External methods) <rclone>: Describe.
      * etc/NEWS: Mention Tramp rclone method.
      * lisp/net/tramp-rclone.el: New file.
    • Charles A. Roelli's avatar
      Add tool-bar and menu-bar menu for Isearch (Bug#32990) · 57b14370
      Charles A. Roelli authored
      * etc/NEWS (Search and Replace): Mention this change.
      * lisp/isearch.el: Declare the new, non-autoloaded function
      (isearch-tmm-menubar): New function.
      (isearch-menu-bar-commands): New variable.
      (isearch-menu-bar-yank-map, isearch-menu-bar-map): New variables.
      (isearch-mode-map): Define a menu-bar search menu and remap
      'tmm-menubar' bindings to point to 'isearch-tmm-menubar'.
      (isearch-tool-bar-old-map): New variable.
      (isearch-tool-bar-image): New function.
      (isearch-tool-bar-map): New variable.
      (minor-mode-map-alist): Add an entry for Isearch so that
      'isearch-menu-bar-map' shows during search.
      (isearch-mode, isearch-done): Save and restore possible
      buffer-local 'tool-bar-map' using 'isearch-tool-bar-old-map'.
      (iseacrh-mouse-commands): New variable.
      (isearch-mouse-leave-buffer): Allow commands in
      (with-isearch-suspended): Only push changed states of Isearch
      after running the body argument of this macro.
      (isearch-pre-command-hook): Additionally allow bindings in
      'isearch-tool-bar-map' to pass through, as well as commands
      in isearch-menu-bar-commands.
      (isearch-post-command-hook): Call 'force-mode-line-update' at its
      end to make sure the menu- and tool-bars are up-to-date.
      * lisp/tmm.el (tmm-menubar-keymap): New function factored out from
      (tmm-menubar): Use 'tmm-menubar-keymap'.
      (tmm-prompt): New optional argument 'no-execute'.
  18. 22 Nov, 2018 3 commits
  19. 21 Nov, 2018 3 commits
  20. 20 Nov, 2018 1 commit
  21. 17 Nov, 2018 1 commit
  22. 16 Nov, 2018 1 commit