1. 09 Mar, 2019 1 commit
    • Michael Albinus's avatar
      Do not hardcode "/bin/sh" in compile. Bug#24338, Bug#29723 · 21f54fee
      Michael Albinus authored
      * doc/emacs/custom.texi (Connection Variables): New node.
      * doc/emacs/emacs.texi (Top): Add entry for Connection Variables.
      * doc/emacs/misc.texi (Single Shell): Mention default value for
      remote buffers.
      * doc/lispref/variables.texi (Connection Local Variables):
      Describe `with-connection-local-variables' instead of
      * doc/misc/tramp.texi (Remote processes): Refer to Emacs manual.
      Mention default connection-local settings for `shell-file-name'
      and `shell-command-switch'.
      * etc/NEWS: Mention connection-local variables changes.
      * lisp/files-x.el (hack-connection-local-variables):
      Push connection-local variables to `file-local-variables-alist'.
      (connection-local-criteria-for-default-directory): New defsubst.
      (with-connection-local-variables): Rename from
      `with-connection-local-profiles'.  Adapt implementation.
      * lisp/files.el (hack-local-variables):
      Call `hack-connection-local-variables'.
      * lisp/shell.el (shell): Use `with-connection-local-variables'.
      * lisp/subr.el (start-file-process-shell-command):
      * lisp/progmodes/compile.el (compilation-start):
      Use `with-connection-local-variables'.  Do not set "/bin/sh" for
      remote buffers, trust settings of `shell-file-name'.  (Bug#24338),
      * lisp/net/ange-ftp.el (ange-ftp-compress, ange-ftp-uncompress):
      Use `shell-command-switch'.
      * lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile):
      New defvar.  Add it to connection-local profiles after loading "shell".
      * lisp/net/tramp-integration.el (tramp-compat): Require tramp-compat.
      (tramp-compat-exec-path): Do not declare anymore.
      (tramp-connection-local-safe-shell-file-names): New defvar.
      (tramp-connection-local-default-profile): New defconst.  Activate
      it after loading "shell".
      (shell-file-name, shell-command-switch): Add safe-local-variable
      * lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp):
      Add tramp-autoload cookie.
      * test/lisp/files-x-tests.el (remote-shell-file-name):
      Add safe-local-variable property to remote-* variables.
      (tramp-connection-local-default-profile): Declare.
      Rename from `files-x-test-with-connection-local-profiles'.  Adapt
      * test/lisp/net/tramp-tests.el
      (tramp-test34-connection-local-variables): New test.
      (tramp-test34-explicit-shell-file-name): Run it also for tramp-adb.
      Bind connection-local-{profile,criteria}-alist.  Use tramp-adb
      specific `shell-file-name'.  Add safe-local-variable property to
      `explicit-shell-file-name' and `explicit-sh-args'.
  2. 24 Feb, 2019 1 commit
    • Michael Albinus's avatar
      Cleanup also recentf files in Tramp · cbcb5718
      Michael Albinus authored
      * doc/misc/tramp.texi (Cleanup remote connections): Mention also
      recentf cache.
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection)
      (tramp-cleanup-all-connections): Call `tramp-recentf-cleanup'.
      * lisp/net/tramp-integration.el: New package.
      * lisp/net/tramp.el (tramp-rfn-eshadow-overlay)
      (tramp-eshell-directory-change): Move to tramp-integration.el
  3. 21 Feb, 2019 1 commit
  4. 01 Jan, 2019 1 commit
  5. 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.
  6. 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.
  7. 13 Dec, 2018 1 commit
  8. 09 Dec, 2018 1 commit
  9. 24 Nov, 2018 1 commit
    • 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.
  10. 21 Nov, 2018 2 commits
    • Michael Albinus's avatar
      * doc/misc/tramp.texi: Fix last commit. · e0799e67
      Michael Albinus authored
    • Michael Albinus's avatar
      Let Tramp sudo sessions expire after a timeout · fb200f3e
      Michael Albinus authored
      * doc/misc/tramp.texi (Inline methods) <sudo, doas>: Both methods expire
      the underlying session per default.
      (Predefined connection information): Explain "session-timeout".
      * etc/NEWS: Mention Tramp session expiration.
      * lisp/net/tramp-sh.el (tramp-methods) <sudo, doas>:
      Add `tramp-session-timeout'.
      (tramp-timeout-session): New defun.
      (tramp-maybe-open-connection): Handle session timeout.
      * lisp/net/tramp.el (tramp-methods): Adapt docstring.
      (tramp-equal-remote): Extend.
  11. 16 Nov, 2018 1 commit
  12. 08 Nov, 2018 1 commit
  13. 06 Nov, 2018 1 commit
    • Michael Albinus's avatar
      Handle also port and domain in Tramp proxy definitions · 3abe7bfe
      Michael Albinus authored
      * doc/misc/tramp.texi (Multi-hops): Exclude ports and domains from
      pattern expansion.
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
      Remove ad-hoc proxies.
      * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Handle also
      port and domain in the proxy.  Propertize ad-hoc proxies.
      * lisp/net/tramp.el (tramp-default-proxies-alist): Adapt docstring.
      * test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
      (tramp-test02-file-name-dissect-separate): Extend tests.
  14. 31 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Remote file name completion is also performed by auth-sources search · 0913f18d
      Michael Albinus authored
      * doc/misc/tramp.texi (File name completion): User and host name
      completion is also performed by auth-sources search.
      * etc/NEWS: Document remote file name completion using auth-sources.
      * lisp/net/tramp.el (tramp-completion-use-auth-sources):
      New user option.
      (tramp-parse-auth-sources): New defun.
      (tramp-get-completion-function): Call it.
  15. 20 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Expand host names in Tramp's ad-hoc multi-hop file names · 67d3b40e
      Michael Albinus authored
      * doc/misc/tramp.texi (Quick Start Guide): Improve wording.
      (Change file name syntax): Say, that `tramp-file-name-regexp' is
      not constant.
      (Ad-hoc multi-hops): Explain host name expansion.
      * etc/NEWS: Mention that host names in Tramp ad-hoc multi-hop file
      names must match the previous hop for methods like "su" or "sudo".
      Fix typos.
      * lisp/net/tramp.el (tramp-find-method, tramp-find-user):
      Adapt docstring.
      (tramp-find-host): Mark default value.
      (tramp-dissect-file-name): Expand host name for hops.
      (tramp-dissect-hop-name, tramp-make-tramp-hop-name): New defuns.
      (tramp-clear-passwd): Simplify.
      * test/lisp/net/tramp-tests.el (tramp-test02-file-name-dissect)
      (tramp-test26-file-name-completion): Extend tests.
  16. 04 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Some reaarangements in tramp*.texi · 44bf4a6b
      Michael Albinus authored
      * doc/misc/trampver.texi (trampfn): Change check for definition of macro.
      (tramp-bug-report-address): New variable.
      * doc/misc/tramp.texi (Top, Bug Reports): Use it.
  17. 02 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Rearrangements in tramp*.texi · 0f505bbe
      Michael Albinus authored
      * doc/misc/trampver.texi (trampfn): New macro, taken from tramp.texi.
      * doc/misc/tramp.texi (trampfn): Moved to trampver.texi.
      (Top): Add sections `System Requirement' and `Basic Installation'.
  18. 01 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Minor edits in tramp.texi · 886a1f26
      Michael Albinus authored
      * doc/misc/tramp.texi (Password handling): Say "user option".
      (Remote shell setup): Say "environment variable".
      (External packages): Add `non-essential' to variable index.
  19. 27 Sep, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix typos in documentation · d309994a
      Eli Zaretskii authored
      * doc/misc/vhdl-mode.texi (Custom Indentation Functions):
      * doc/misc/url.texi (Customization):
      * doc/misc/tramp.texi (Overview):
      * doc/misc/srecode.texi (Developing Template Functions):
      * doc/misc/sieve.texi (Sieve Mode):
      * doc/misc/reftex.texi (Options - Creating Citations):
      * doc/misc/org.texi (Cooperation, Conflicts):
      * doc/misc/gnus.texi (Misc Group Stuff):
      * doc/misc/eshell.texi (Bugs and ideas):
      * doc/misc/calc.texi (Summary):
      * doc/man/emacsclient.1:
      * doc/lispref/os.texi (Security Considerations):
      * doc/lispref/control.texi (pcase Macro):
      * CONTRIBUTE: Fix typos.  Reported by Mak Kolybabi
      <mak@kolybabi.com>  (Bug#32853)
  20. 11 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Editorial changes in tramp.texi · a0d00f17
      Michael Albinus authored
      * doc/misc/tramp.texi (Bug Reports): Tramp buffers shall be
      appended as attachments to bug reports.
      (Frequently Asked Questions): New item, determining remote buffers.
  21. 04 Aug, 2018 1 commit
    • Michael Albinus's avatar
      Rename Tramp method "owncloud" to "nextcloud" · b9e2a91e
      Michael Albinus authored
      In the spirit of freedom, "nextcloud" is preferred over "owncloud".
      * doc/misc/tramp.texi (Quick Start Guide, GVFS based methods):
      * etc/NEWS: Rename "owncloud" method to "nextcloud".
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods, tramp-goa-methods)
      (tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
      (tramp-get-goa-accounts): Use "nextcloud" instead of "owncloud".
      (tramp-gvfs-nextcloud-default-prefix-regexp): Rename them.  Adapt
      all callees.
      * test/lisp/net/tramp-tests.el (tramp--test-nextcloud-p):
      Rename from `tramp--test-owncloud-p'.
      (tramp-test11-copy-file, tramp-test12-rename-file): Use it.
  22. 26 Jul, 2018 1 commit
  23. 25 Jul, 2018 1 commit
  24. 15 Jul, 2018 1 commit
  25. 10 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#32085 · 51bf4e46
      Michael Albinus authored
      * doc/misc/tramp.texi (GVFS based methods): `dav' and `davs' do
      not support paths in the volume name.  (Bug#32085)
  26. 06 Jul, 2018 1 commit
    • Michael Albinus's avatar
      Tramp editorials · 271d1f77
      Michael Albinus authored
      * doc/misc/tramp.texi (Android shell setup): Mention Termux.
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      Use proper spelling "Tramp" in docstring.
  27. 20 Jun, 2018 1 commit
    • 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-test43-delay-load): Rename.
      * test/lisp/net/tramp-tests.el (tramp-test34-exec-path): New test.
      (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.
  28. 13 Jun, 2018 3 commits
  29. 07 Jun, 2018 1 commit
    • Michael Albinus's avatar
      Remove Tramp "obex" and "synce" methods · 2e2f61ef
      Michael Albinus authored
      * doc/misc/tramp.texi (GVFS based methods): Remove `obex' and `synce'.
      * etc/NEWS: Mention obsolete Tramp "obex" and "synce" methods.
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods):
      Remove "obex" and "synce".
      (top): Do not add defaults for "obex" and "synce".
      (tramp-bluez-service, tramp-bluez-interface-manager)
      (tramp-bluez-discover-devices-timeout, tramp-bluez-discovery)
      (tramp-bluez-devices, tramp-hal-service, tramp-hal-path-manager)
      (tramp-hal-interface-manager, tramp-hal-interface-device)
      (tramp-bluez-address, tramp-bluez-device)
      (tramp-bluez-list-devices, tramp-bluez-property-changed)
      (tramp-bluez-device-found, tramp-bluez-parse-device-names)
      (tramp-synce-list-devices, tramp-synce-parse-device-names): Remove.
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec): Do not
      handle "obex" and "synce".
  30. 30 May, 2018 1 commit
  31. 29 May, 2018 4 commits
  32. 21 May, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#31489 · ab37ceb9
      Michael Albinus authored
      * doc/misc/tramp.texi (Frequently Asked Questions):
      Mention `tramp-ignored-file-name-regexp'.  Improve index.
      ; * etc/NEWS: Mention `tramp-ignored-file-name-regexp'.
      * lisp/net/tramp.el (tramp-ignored-file-name-regexp): New defcustom.
      (tramp-tramp-file-p): Use it.  Check also for `tramp-mode'.
      (tramp-file-name-handler): Don't check for `tramp-mode'.  (Bug#31489)
      * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax):
      Extend test.
  33. 27 Apr, 2018 1 commit
    • Michael Albinus's avatar
      Manual update for Tramp · caa93364
      Michael Albinus authored
      * doc/misc/tramp.texi (Password handling): Explain, how passwords
      are saved permanently.
      * etc/NEWS: auth-source Secret Service backend supports :create.
      Tramp saves validated passwords.
  34. 19 Apr, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix use of @key in Texinfo manuals · 8f6293ca
      Eli Zaretskii authored
      * doc/misc/efaq-w32.texi (Location of init file):
      * doc/misc/org.texi (Editing source code, Export settings)
      (Closing items, Drawers, Structure editing):
      * doc/misc/gnus.texi (Spam and Ham Processors, Terminology):
      * doc/misc/calc.texi (Keypad Functions Menu, Keypad Binary Menu)
      (Keypad Vectors Menu, Keypad Main Menu, Basic Arithmetic)
      (Symbolic Mode):
      * doc/misc/sc.texi (Electric References):
      * doc/misc/info.texi (Help-^L):
      * doc/misc/reftex.texi (Reference Styles):
      * doc/misc/idlwave.texi (Troubleshooting, Examining Variables)
      (Lesson III---User Catalog, Using the Shell):
      * doc/misc/eshell.texi (Bugs and ideas):
      * doc/misc/ada-mode.texi (Automatic Casing):
      * doc/misc/ediff.texi (Selective Browsing):
      * doc/misc/vip.texi (Customizing Constants):
      * doc/misc/pcl-cvs.texi (Selected files):
      * doc/misc/efaq.texi (Replying to the sender of a message)
      (Basic keys, No Meta key, Matching parentheses)
      (Origin of the term Emacs, Installing Texinfo documentation)
      (Learning how to do something, Emacs manual, Extended commands):
      * doc/misc/viper.texi (Rudimentary Changes):
      * doc/misc/tramp.texi (Frequently Asked Questions):
      * doc/emacs/kmacro.texi (Basic Keyboard Macro):
      * doc/emacs/frames.texi (Frame Commands):
      * doc/emacs/msdos.texi (Windows Keyboard):
      * doc/emacs/search.texi (Query Replace):
      * doc/lispintro/emacs-lisp-intro.texi (Keybindings)
      (Note for Novices):
      * doc/lispref/tips.texi (Key Binding Conventions): Fix use of
      @key.  For the details, see