aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2018-12-31 12:18:41 +0100
committerMichael Albinus2018-12-31 12:18:41 +0100
commit792dc36e691b1e4b7735c75d2d402d1b9a8801ce (patch)
treecfbe4bf4b8f315ce7fe878facb5d71843a9a333a /doc
parent03e7215a0b89c2a02c50de77fd79817bf888b931 (diff)
downloademacs-792dc36e691b1e4b7735c75d2d402d1b9a8801ce.tar.gz
emacs-792dc36e691b1e4b7735c75d2d402d1b9a8801ce.zip
Precise documentation of Tramp ad-hoc proxies
* doc/misc/tramp.texi (Ad-hoc multi-hops): Remove superfluous first entry about %h and %u. Describe, how to remove ad-hoc proxy definitions. (Cleanup remote connections): Mention, that also ad-hoc proxy definitions are removed. * etc/NEWS: Mention default host names in Tramp ad-hoc proxies.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi21
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index c9f1e75d8e6..49c684f5bc9 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2778,13 +2778,14 @@ proxy @samp{bird@@bastion} to a remote file on @samp{you@@remotehost}:
2778 2778
2779Each involved method must be an inline method (@pxref{Inline methods}). 2779Each involved method must be an inline method (@pxref{Inline methods}).
2780 2780
2781Proxies can take patterns @code{%h} or @code{%u}.
2782
2783@value{tramp} adds the ad-hoc definitions on the fly to 2781@value{tramp} adds the ad-hoc definitions on the fly to
2784@code{tramp-default-proxies-alist} and is available for re-use 2782@code{tramp-default-proxies-alist} and is available for re-use during
2785during that Emacs session. Subsequent @value{tramp} connections to 2783that Emacs session. Subsequent @value{tramp} connections to the same
2786the same remote host can then use the shortcut form: 2784remote host can then use the shortcut form:
2787@samp{@trampfn{ssh,you@@remotehost,/path}}. 2785@samp{@trampfn{ssh,you@@remotehost,/path}}. Ad-hoc definitions are
2786removed from @code{tramp-default-proxies-alist} via the command
2787@kbd{M-x tramp-cleanup-all-connections @key{RET}} (@pxref{Cleanup
2788remote connections}).
2788 2789
2789@defopt tramp-save-ad-hoc-proxies 2790@defopt tramp-save-ad-hoc-proxies
2790For ad-hoc definitions to be saved automatically in 2791For ad-hoc definitions to be saved automatically in
@@ -3175,13 +3176,15 @@ as in @code{tramp-cleanup-connection}.
3175 3176
3176@deffn Command tramp-cleanup-all-connections 3177@deffn Command tramp-cleanup-all-connections
3177Flushes all active remote connection objects, the same as in 3178Flushes all active remote connection objects, the same as in
3178@code{tramp-cleanup-connection}. 3179@code{tramp-cleanup-connection}. This command removes also ad-hoc
3180proxy definitions (@pxref{Ad-hoc multi-hops}).
3181
3179@end deffn 3182@end deffn
3180 3183
3181@deffn Command tramp-cleanup-all-buffers 3184@deffn Command tramp-cleanup-all-buffers
3182Just as for @code{tramp-cleanup-all-connections}, all remote 3185Just as for @code{tramp-cleanup-all-connections}, all remote
3183connections are cleaned up in addition to killing buffers related to 3186connections and ad-hoc proxy definition are cleaned up in addition to
3184that remote connection. 3187killing buffers related to that remote connection.
3185@end deffn 3188@end deffn
3186 3189
3187 3190