aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2018-10-31 20:04:04 +0100
committerMichael Albinus2018-10-31 20:04:04 +0100
commit0913f18dbebd8480289863480cd147a63ee59cca (patch)
tree928657cdee62bea8261f93a6c00108dc121e2475 /doc/misc
parent42681c54bf5ea2ff9d2a3ec6553766b194454caf (diff)
downloademacs-0913f18dbebd8480289863480cd147a63ee59cca.tar.gz
emacs-0913f18dbebd8480289863480cd147a63ee59cca.zip
Remote file name completion is also performed by auth-sources search
* doc/misc/tramp.texi (File name completion): User and host name completion is also performed by auth-sources search. * etc/NEWS: Document remote file name completion using auth-sources. * lisp/net/tramp.el (tramp-completion-use-auth-sources): New user option. (tramp-parse-auth-sources): New defun. (tramp-get-completion-function): Call it.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 128501c3908..f68205519f3 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2538,6 +2538,14 @@ names on that host.
2538When the configuration (@pxref{Customizing Completion}) includes user 2538When the configuration (@pxref{Customizing Completion}) includes user
2539names, then the completion lists will account for the user names as well. 2539names, then the completion lists will account for the user names as well.
2540 2540
2541@vindex tramp-completion-use-auth-sources
2542Results from @code{auth-sources} search (@pxref{Using an
2543authentication file}) are added to the completion candidates. This
2544search could be annoying, for example due to a passphrase request of
2545the @file{~/.authinfo.gpg} authentication file. The user option
2546@code{tramp-completion-use-auth-sources} controls, whether such a
2547search is performed during completion.
2548
2541Remote hosts previously visited or hosts whose connections are kept 2549Remote hosts previously visited or hosts whose connections are kept
2542persistently (@pxref{Connection caching}) will be included in the 2550persistently (@pxref{Connection caching}) will be included in the
2543completion lists. 2551completion lists.