diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2018-11-08 12:48:54 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2018-11-08 12:48:54 +0100 |
commit | 48f6f28132c97b92c0083479a0dfcefd6d0d022f (patch) | |
tree | 9e4bfa07f0911704ebf88627f1ce8cf7fb1a7305 | |
parent | b61f6c9ac01b189c89bfba80885b6222746d6bc5 (diff) | |
download | emacs-48f6f28132c97b92c0083479a0dfcefd6d0d022f.tar.gz |
* doc/misc/tramp.texi (Password handling): Explain Ange FTP case.
-rw-r--r-- | doc/misc/tramp.texi | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index a0b65d58b55..874c1da1d9f 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -1669,6 +1669,16 @@ by setting the user option @code{auth-source-save-behavior} to @code{nil}. @vindex auth-source-debug Set @code{auth-source-debug} to @code{t} to debug messages. +@vindex ange-ftp-netrc-filename +@strong{Note} that @file{auth-source.el} is not used for @option{ftp} +connections, because @value{tramp} passes the work to Ange FTP. If +you want, for example, use your @file{~/.authinfo.gpg} authentication +file, you must customize @code{ange-ftp-netrc-filename}: + +@lisp +(customize-set-variable 'ange-ftp-netrc-filename "~/.authinfo.gpg") +@end lisp + @anchor{Caching passwords} @subsection Caching passwords @@ -4036,7 +4046,7 @@ export EDITOR=/path/to/emacsclient.sh @item -How to determine wheter a buffer is remote? +How to determine whether a buffer is remote? The buffer-local variable @code{default-directory} tells this. If the form @code{(file-remote-p default-directory)} returns non-@code{nil}, |