From: Michael Albinus Date: Thu, 8 Nov 2018 11:48:54 +0000 (+0100) Subject: * doc/misc/tramp.texi (Password handling): Explain Ange FTP case. X-Git-Tag: emacs-27.0.90~4200 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48f6f28132c97b92c0083479a0dfcefd6d0d022f;p=emacs.git * doc/misc/tramp.texi (Password handling): Explain Ange FTP case. --- 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},