diff options
| author | Gene Goykhman | 2023-09-04 11:43:18 +0200 |
|---|---|---|
| committer | Michael Albinus | 2023-09-04 11:43:18 +0200 |
| commit | 55a0f0e047034b3a458b6fdbe245f33b83fd88b0 (patch) | |
| tree | fccb0c15b3147c2bfbe76713946610c844b8b1ce | |
| parent | f8d82b428186aceecea0177c9f365daf7b8725e5 (diff) | |
| download | emacs-55a0f0e047034b3a458b6fdbe245f33b83fd88b0.tar.gz emacs-55a0f0e047034b3a458b6fdbe245f33b83fd88b0.zip | |
Announce user option tramp-completion-multi-hop-methods
* doc/misc/tramp.texi (Ad-hoc multi-hops):
Add tramp-completion-multi-hop-methods.
* etc/NEWS: New user option tramp-completion-multi-hop-methods.
| -rw-r--r-- | doc/misc/tramp.texi | 11 | ||||
| -rw-r--r-- | etc/NEWS | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 6189ef2d41d..2d6ab6592e5 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -3704,6 +3704,17 @@ host name of the previous hop is reused. Therefore, the following | |||
| 3704 | file name is equivalent to the previous example: | 3704 | file name is equivalent to the previous example: |
| 3705 | @samp{@trampfn{ssh@value{postfixhop}remotehost|su,,}}. | 3705 | @samp{@trampfn{ssh@value{postfixhop}remotehost|su,,}}. |
| 3706 | 3706 | ||
| 3707 | @defopt tramp-completion-multi-hop-methods | ||
| 3708 | When this list includes the last method in a multi-hop connection, the | ||
| 3709 | remote host will be queried for a list of completion candidates. This | ||
| 3710 | can, for example, provide a list of running docker or podman | ||
| 3711 | containers on the remote host. | ||
| 3712 | |||
| 3713 | @lisp | ||
| 3714 | (customize-set-variable 'tramp-completion-multi-hop-methods | ||
| 3715 | `(,tramp-docker-method ,tramp-podman-method)) | ||
| 3716 | @end lisp | ||
| 3717 | @end defopt | ||
| 3707 | 3718 | ||
| 3708 | @node Home directories | 3719 | @node Home directories |
| 3709 | @section Expanding @file{~} to home directory | 3720 | @section Expanding @file{~} to home directory |
| @@ -459,6 +459,13 @@ This macro could wrap code which handles local files only. Due to the | |||
| 459 | temporary deactivation of remote files, it results in a slightly | 459 | temporary deactivation of remote files, it results in a slightly |
| 460 | improved performance of file name handling in Emacs. | 460 | improved performance of file name handling in Emacs. |
| 461 | 461 | ||
| 462 | +++ | ||
| 463 | *** New user option 'tramp-completion-multi-hop-methods'. | ||
| 464 | It contains a list of connection methods for which completion should | ||
| 465 | be attempted at the end of a multi-hop chain. This allows completion | ||
| 466 | candidates to include a list of, for example, containers running on a | ||
| 467 | remote docker host. | ||
| 468 | |||
| 462 | ** EWW | 469 | ** EWW |
| 463 | 470 | ||
| 464 | +++ | 471 | +++ |