summaryrefslogtreecommitdiff
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-10-31 20:04:04 +0100
committerMichael Albinus <michael.albinus@gmx.de>2018-10-31 20:04:04 +0100
commit0913f18dbebd8480289863480cd147a63ee59cca (patch)
tree928657cdee62bea8261f93a6c00108dc121e2475 /doc/misc
parent42681c54bf5ea2ff9d2a3ec6553766b194454caf (diff)
downloademacs-0913f18dbebd8480289863480cd147a63ee59cca.tar.gz
emacs-0913f18dbebd8480289863480cd147a63ee59cca.tar.bz2
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.
When the configuration (@pxref{Customizing Completion}) includes user
names, then the completion lists will account for the user names as well.
+@vindex tramp-completion-use-auth-sources
+Results from @code{auth-sources} search (@pxref{Using an
+authentication file}) are added to the completion candidates. This
+search could be annoying, for example due to a passphrase request of
+the @file{~/.authinfo.gpg} authentication file. The user option
+@code{tramp-completion-use-auth-sources} controls, whether such a
+search is performed during completion.
+
Remote hosts previously visited or hosts whose connections are kept
persistently (@pxref{Connection caching}) will be included in the
completion lists.