diff options
| author | Michael Albinus | 2018-10-20 13:38:31 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-10-20 13:38:31 +0200 |
| commit | 67d3b40e0cba5f34b1c7aacc4e1ccea6300eae76 (patch) | |
| tree | 992635f6f00e83aea36a3e2de1ceff1a29c03da8 /etc | |
| parent | efb214622a0f4e077c09e721d134552dfe76ef70 (diff) | |
| download | emacs-67d3b40e0cba5f34b1c7aacc4e1ccea6300eae76.tar.gz emacs-67d3b40e0cba5f34b1c7aacc4e1ccea6300eae76.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -172,7 +172,7 @@ the data. | |||
| 172 | 172 | ||
| 173 | +++ | 173 | +++ |
| 174 | ** The Network Security Manager now allows more fine-grained control | 174 | ** The Network Security Manager now allows more fine-grained control |
| 175 | of what checks to run via the `network-security-protocol-checks' | 175 | of what checks to run via the 'network-security-protocol-checks' |
| 176 | variable. | 176 | variable. |
| 177 | 177 | ||
| 178 | +++ | 178 | +++ |
| @@ -356,7 +356,7 @@ shown in the currently selected window. | |||
| 356 | ** Comint | 356 | ** Comint |
| 357 | 357 | ||
| 358 | +++ | 358 | +++ |
| 359 | *** 'send-invisible' is now an obsolete alias for `comint-send-invisible'. | 359 | *** 'send-invisible' is now an obsolete alias for 'comint-send-invisible'. |
| 360 | Also, 'shell-strip-ctrl-m' is declared obsolete. | 360 | Also, 'shell-strip-ctrl-m' is declared obsolete. |
| 361 | 361 | ||
| 362 | +++ | 362 | +++ |
| @@ -391,7 +391,7 @@ facilities to aid more casual SQL developers layout queries and | |||
| 391 | complex expressions. | 391 | complex expressions. |
| 392 | 392 | ||
| 393 | *** 'sql-use-indent-support' (default t) enables SQL indention support. | 393 | *** 'sql-use-indent-support' (default t) enables SQL indention support. |
| 394 | The `sql-indent' package from ELPA must be installed to get the | 394 | The 'sql-indent' package from ELPA must be installed to get the |
| 395 | indentation support in 'sql-mode' and 'sql-interactive-mode'. | 395 | indentation support in 'sql-mode' and 'sql-interactive-mode'. |
| 396 | 396 | ||
| 397 | *** 'sql-mode-hook' and 'sql-interactive-mode-hook' changed. | 397 | *** 'sql-mode-hook' and 'sql-interactive-mode-hook' changed. |
| @@ -420,7 +420,7 @@ This enables more efficient backends. See the docstring of | |||
| 420 | 420 | ||
| 421 | ** Package | 421 | ** Package |
| 422 | 422 | ||
| 423 | *** New function `package-get-version` lets packages query their own version. | 423 | *** New function 'package-get-version' lets packages query their own version. |
| 424 | Example use in auctex.el: (defconst auctex-version (package-get-version)) | 424 | Example use in auctex.el: (defconst auctex-version (package-get-version)) |
| 425 | 425 | ||
| 426 | *** New 'package-quickstart' feature. | 426 | *** New 'package-quickstart' feature. |
| @@ -747,6 +747,10 @@ are obsoleted in GVFS. | |||
| 747 | *** The user option 'tramp-ignored-file-name-regexp' allows to disable | 747 | *** The user option 'tramp-ignored-file-name-regexp' allows to disable |
| 748 | Tramp for some look-alike remote file names. | 748 | Tramp for some look-alike remote file names. |
| 749 | 749 | ||
| 750 | +++ | ||
| 751 | *** For some connection methods, like "su" or "sudo", the host name in | ||
| 752 | ad-hoc multi-hop file names must match the previous hop. | ||
| 753 | |||
| 750 | ** Register | 754 | ** Register |
| 751 | --- | 755 | --- |
| 752 | *** The return value of method 'register-val-describe' includes the | 756 | *** The return value of method 'register-val-describe' includes the |