]> git.eshelyaron.com Git - emacs.git/commit
Expand host names in Tramp's ad-hoc multi-hop file names
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 20 Oct 2018 11:38:31 +0000 (13:38 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 20 Oct 2018 11:38:31 +0000 (13:38 +0200)
commit67d3b40e0cba5f34b1c7aacc4e1ccea6300eae76
tree992635f6f00e83aea36a3e2de1ceff1a29c03da8
parentefb214622a0f4e077c09e721d134552dfe76ef70
Expand host names in Tramp's ad-hoc multi-hop file names

* 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-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate)
(tramp-test26-file-name-completion): Extend tests.
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp.el
test/lisp/net/tramp-tests.el