aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Goykhman2023-09-04 11:43:18 +0200
committerMichael Albinus2023-09-04 11:43:18 +0200
commit55a0f0e047034b3a458b6fdbe245f33b83fd88b0 (patch)
treefccb0c15b3147c2bfbe76713946610c844b8b1ce
parentf8d82b428186aceecea0177c9f365daf7b8725e5 (diff)
downloademacs-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.texi11
-rw-r--r--etc/NEWS7
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
3704file name is equivalent to the previous example: 3704file 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
3708When this list includes the last method in a multi-hop connection, the
3709remote host will be queried for a list of completion candidates. This
3710can, for example, provide a list of running docker or podman
3711containers 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
diff --git a/etc/NEWS b/etc/NEWS
index bbf4b67fe34..3686bc42f19 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -459,6 +459,13 @@ This macro could wrap code which handles local files only. Due to the
459temporary deactivation of remote files, it results in a slightly 459temporary deactivation of remote files, it results in a slightly
460improved performance of file name handling in Emacs. 460improved performance of file name handling in Emacs.
461 461
462+++
463*** New user option 'tramp-completion-multi-hop-methods'.
464It contains a list of connection methods for which completion should
465be attempted at the end of a multi-hop chain. This allows completion
466candidates to include a list of, for example, containers running on a
467remote docker host.
468
462** EWW 469** EWW
463 470
464+++ 471+++