diff options
| author | Michael Albinus | 2018-12-31 12:18:41 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-12-31 12:18:41 +0100 |
| commit | 792dc36e691b1e4b7735c75d2d402d1b9a8801ce (patch) | |
| tree | cfbe4bf4b8f315ce7fe878facb5d71843a9a333a /doc | |
| parent | 03e7215a0b89c2a02c50de77fd79817bf888b931 (diff) | |
| download | emacs-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.texi | 21 |
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 | ||
| 2779 | Each involved method must be an inline method (@pxref{Inline methods}). | 2779 | Each involved method must be an inline method (@pxref{Inline methods}). |
| 2780 | 2780 | ||
| 2781 | Proxies 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 |
| 2785 | during that Emacs session. Subsequent @value{tramp} connections to | 2783 | that Emacs session. Subsequent @value{tramp} connections to the same |
| 2786 | the same remote host can then use the shortcut form: | 2784 | remote 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 |
| 2786 | removed from @code{tramp-default-proxies-alist} via the command | ||
| 2787 | @kbd{M-x tramp-cleanup-all-connections @key{RET}} (@pxref{Cleanup | ||
| 2788 | remote connections}). | ||
| 2788 | 2789 | ||
| 2789 | @defopt tramp-save-ad-hoc-proxies | 2790 | @defopt tramp-save-ad-hoc-proxies |
| 2790 | For ad-hoc definitions to be saved automatically in | 2791 | For 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 |
| 3177 | Flushes all active remote connection objects, the same as in | 3178 | Flushes 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 |
| 3180 | proxy 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 |
| 3182 | Just as for @code{tramp-cleanup-all-connections}, all remote | 3185 | Just as for @code{tramp-cleanup-all-connections}, all remote |
| 3183 | connections are cleaned up in addition to killing buffers related to | 3186 | connections and ad-hoc proxy definition are cleaned up in addition to |
| 3184 | that remote connection. | 3187 | killing buffers related to that remote connection. |
| 3185 | @end deffn | 3188 | @end deffn |
| 3186 | 3189 | ||
| 3187 | 3190 | ||