1. 22 Jun, 2018 3 commits
    • Michael Albinus's avatar
      Improve backward compatibility of Tramp · e6476c91
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-exec-path):
      * lisp/net/tramp-sh.el (tramp-sh-handle-exec-path): Use ´file-remote-p'.
      (tramp-get-ls-command-with): Handle busybox specially.
      
      * test/lisp/net/tramp-tests.el (tramp-test34-exec-path): Check for
      `fboundp'.  Use `file-remote-p'.  Hide compiler warning for older
      Emacsen.
      e6476c91
    • Eli Zaretskii's avatar
      Document 'major-mode-suspend' and 'major-mode-restore' · 4e15d263
      Eli Zaretskii authored
      * doc/lispref/modes.texi (Major Modes): Document
      'major-mode-suspend' and 'major-mode-restore'.  (Bug#31551)
      
      * etc/NEWS: Mark the corresponding entry as documented in
      manuals.
      4e15d263
    • Stefan Monnier's avatar
      New functions to switch back and forth to another major mode · a5511956
      Stefan Monnier authored
      * subr.el (major-mode--suspended): New var.
      (major-mode-suspend, major-mode-restore): New funs, extracted from doc-view.
      * doc-view.el (doc-view--previous-major-mode): Remove.
      (doc-view-mode): Use major-mode-suspend.
      (doc-view-fallback-mode): Use major-mode-restore.
      * hexl-mode.el (hexl-mode--minor-mode-p, hexl-mode--setq-local): Remove.
      (hexl-mode): Use major-mode-suspend and hexl-follow-ascii-mode.
      (hexl-mode-exit): Use major-mode-restore.
      (hexl-activate-ruler, hexl-follow-line): Don't bother trying to preserve
      earlier state, now that entering/leaving hexl-mode kills local vars.
      (hexl-follow-ascii-mode): New proper local minor mode.
      (hexl-follow-ascii): Rewrite, using it.
      * image-mode.el (image-mode-previous-major-mode): Remove.
      (image-mode): Use major-mode-suspend.
      (image-mode-to-text): Use major-mode-restore.
      a5511956
  2. 21 Jun, 2018 2 commits
  3. 20 Jun, 2018 3 commits
    • Michael Albinus's avatar
      ; Fix typo · 5583e646
      Michael Albinus authored
      5583e646
    • Eli Zaretskii's avatar
      Improve documentation of a recent change · dffe02d2
      Eli Zaretskii authored
      * doc/lispref/processes.texi (Subprocess Creation): Improve
      wording of documentation for the function 'exec-path'.
      
      * etc/NEWS: Improve wording and formatting of recently added
      entries.
      
      * lisp/files.el (exec-path): Doc fix.
      dffe02d2
    • Michael Albinus's avatar
      Implement command completion in remote shells. (Bug#31704) · 6f649e77
      Michael Albinus authored
      * doc/lispref/files.texi (Locating Files): Describe optional
      argument REMOTE of `executable-find'.
      (Magic File Names): Add `exec-path'.
      
      * doc/lispref/processes.texi (Subprocess Creation): Describe
      function `exec-path'.
      
      * doc/misc/tramp.texi (Remote programs): Explain refresh of search
      paths by `tramp-cleanup-this-connection'.
      
      * etc/NEWS: Mention 'exec-path' and 'executable-find'.
      
      * lisp/files.el (exec-path): New defun.
      (executable-find): Add optional argument REMOTE.
      
      * lisp/shell.el (shell-completion-vars): Set `comint-file-name-prefix'.
      (shell--command-completion-data): Use `(exec-path)'.  (Bug#31704)
      
      * lisp/net/ange-ftp.el (exec-path):
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-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)
      <exec-path>: Add handler.
      
      * lisp/net/tramp-adb.el (tramp-adb-handle-exec-path): New defun.
      (tramp-adb-maybe-open-connection): Do not set "remote-path"
      connection property.
      
      * lisp/net/tramp-compat.el (tramp-compat-exec-path): New defun.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-exec-path): New defun.
      
      * lisp/net/tramp.el (tramp-eshell-directory-change): Use it.
      
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test38-make-nearby-temp-file)
      (tramp-archive-test41-file-system-info)
      (tramp-archive-test43-auto-load)
      (tramp-archive-test43-delay-load): Rename.
      
      * test/lisp/net/tramp-tests.el (tramp-test34-exec-path): New test.
      (tramp-test36-make-auto-save-file-name)
      (tramp-test37-find-backup-file-name)
      (tramp-test38-make-nearby-temp-file)
      (tramp-test39-special-characters)
      (tramp-test39-special-characters-with-stat)
      (tramp-test39-special-characters-with-perl)
      (tramp-test39-special-characters-with-ls, tramp-test40-utf8)
      (tramp-test40-utf8-with-stat, tramp-test40-utf8-with-perl)
      (tramp-test40-utf8-with-ls, tramp-test41-file-system-info)
      (tramp-test42-asynchronous-requests, tramp-test43-auto-load)
      (tramp-test43-delay-load, tramp-test43-recursive-load)
      (tramp-test43-remote-load-path, tramp-test44-unload): Rename.
      6f649e77
  4. 19 Jun, 2018 11 commits
  5. 18 Jun, 2018 17 commits
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 1d9d35a4
      Glenn Morris authored
      36737705 (origin/emacs-26) Fix vertical-motion with 'visual' line-numb...
      d8bff530 ; CONTRIBUTE: Add a couple of nits.
      1d9d35a4
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 96dd452b
      Glenn Morris authored
      The following commits were skipped:
      
      48829cba Handle NSAttributedString inputs (bug#29837)
      0deab3fb Allow inserting non-BMP characters
      96dd452b
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 988b53ed
      Glenn Morris authored
      ebe065fd Prevent errant scroll on mouse click (Bug#31546)
      ffd20184 Minor documentation fix
      cf4dc95f * lisp/window.el (window-toggle-side-windows): Doc fix.  (Bug...
      988b53ed
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 2f477cbe
      Glenn Morris authored
      The following commits were skipped:
      
      e1284341 Fix byte compilation of (eq foo 'default)
      4753d793 Fix Bug#31846.  Do not merge with master
      2f477cbe
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · b455a1b2
      Glenn Morris authored
      63ba73a9 Fix documentation of ':propertize' in mode-line-format
      22aa665c Reject invalid 5-byte sequences when detecting UTF-8 encoding
      0d3c3580 Fix 'replace-buffer-contents' in multibyte buffers
      c79a6275 Update etc/NEWS for mail-source-movemail-program change
      63f1dc4f Improve movemail default
      0b1a2ae8 Delete description of deleted Customize functions
      fcd66d05 Keep vc-print-log from putting point at buffer end (Bug#31764)
      
      Conflicts:
      	etc/NEWS
      b455a1b2
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 2c335777
      Glenn Morris authored
      The following commit was skipped:
      
      b635c548 Don’t set EMACS=t if Bash is 4.4 or newer
      2c335777
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 72b20dd7
      Glenn Morris authored
      a933ebef Improve commentary in info.el
      94e84a92 ; Further wording fix in tramp.texi
      a5a0b111 Fix wording in tramp.texi
      29332428 * doc/misc/tramp.texi (Remote shell setup): Fix typo.
      72b20dd7
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 0f7c3bae
      Glenn Morris authored
      The following commits were skipped:
      
      6d4cbe80 Finish the Bug#11728 work: hg & git
      66a491fb Fix Bug#11728: show files updated by git
      0f7c3bae
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · ef02c9fd
      Glenn Morris authored
      5bdc3447 ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744)
      b6b793bd ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744).
      1aa906f1 Make 'tags' targets respect --with-silent-rules (Bug#31744)
      
      Conflicts:
      	test/Makefile.in
      	test/README
      ef02c9fd
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · e347754d
      Glenn Morris authored
      The following commit was skipped:
      
      642c11fd soap-client: Add byte-code compatibility function (Bug#31742)
      e347754d
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 012338f3
      Glenn Morris authored
      9c6f35a6 * doc/lispref/files.texi (Unique File Names): Fix a typo.  (B...
      012338f3
    • Eli Zaretskii's avatar
      Fix vertical-motion with 'visual' line-number display · 36737705
      Eli Zaretskii authored
      * src/indent.c (Fvertical_motion): Don't exempt 'visual' sty;e of
      line-number display from X coordinate adjustments.  (Bug#31875)
      36737705
    • Eli Zaretskii's avatar
      ; CONTRIBUTE: Add a couple of nits. · d8bff530
      Eli Zaretskii authored
      d8bff530
    • Eli Zaretskii's avatar
      Improve documentation of recent changes in Comint · bfc1dfd4
      Eli Zaretskii authored
      * lisp/comint.el (comint-insert-previous-argument)
      (comint-arguments, comint-insert-previous-argument-from-end):
      Doc fixes.
      (comint-insert-previous-argument-from-end): Add :version.
      
      * doc/emacs/misc.texi (Shell Ring): Fix a typo in the name of
      'comint-insert-previous-argument'.  Document
      'comint-insert-previous-argument-from-end'.  (Bug#25271)
      
      * etc/NEWS: Reformat and rephrase the entry for recent Comint
      changes.
      bfc1dfd4
    • Richard Stallman's avatar
      rmail-summary-by-senders defaults to sender · 3e221564
      Richard Stallman authored
      * etc/NEWS: Mention this.
      * lisp/mail/rmailsum.el (rmail-summary-by-senders):
      Offer From field of current message as a default argument.
      3e221564
    • Dima Kogan's avatar
      comint-insert-previous-argument doesn't detect and ignore trailing & · ba2ddadb
      Dima Kogan authored
      This function is invoked in shell-mode by the user, and is meant to
      emulate what M-. does in zsh and bash: it inserts an argument from a
      previous command.  Neither zsh nor bash treat a trailing & specially:
      M-. simply inserts it if it is encountered.  Emacs DID have extra
      logic to detect and discard trailing &, but this logic was buggy, and
      a && anywhere in the sequence would confuse it.  This patch simply
      removes that logic to fix the bug and to emulate zsh and bash more
      closely
      
      * lisp/comint.el (comint-insert-previous-argument): don't detect and
        ignore trailing &
        (Bug#25271)
      * etc/NEWS: Document this.
      ba2ddadb
    • Dima Kogan's avatar
      comint-insert-previous-argument counts args from start or from end · 74f377b3
      Dima Kogan authored
      This function is invoked in shell-mode by the user, and is meant to
      emulate what M-. does in zsh and bash: it inserts an argument from a
      previous command.  Without a prefix argument, it inserts the last arg
      from the previous command; with an argument INDEX, it inserts the
      INDEX-th argument.  bash counts from the start, while zsh counts from
      the end.  This patch adds a variable
      `comint-insert-previous-argument-from-end' that emulates the zsh
      behavior if non-nil.
      
      * lisp/comint.el (comint-arguments): can take in negative arguments to count
        from the end, same as indexing in python.
        (comint-insert-previous-argument): if
        comint-insert-previous-argument-from-end is non-nil, INDEX counts
        arguments from the end; if nil, from the beginning
        (Bug#25271)
      * etc/NEWS: Document this.
      74f377b3
  6. 17 Jun, 2018 4 commits