[gnus git] branch master updated: n0-13-19-g5d8afc8
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 5d8afc874441acee6946b8d1e5534648c6b29cab (commit)
via 2a713f5140baea3bfde7088349b038f123bb7725 (commit)
from fb9385fba737a55bb38168d5eb0f431b38e3dad6 (commit)
- Log -----------------------------------------------------------------
commit 5d8afc874441acee6946b8d1e5534648c6b29cab
Author: Ted Zlatanov <[email protected]>
Date: Tue Feb 22 12:23:05 2011 -0600
* auth-source.el (auth-sources): Search ~/.netrc as well by default.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3a7359b..ba33cbb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-22 Teodor Zlatanov <[email protected]>
+
+ * auth-source.el (auth-sources): Search ~/.netrc as well by default.
+
2011-02-22 Andrew Cohen <[email protected]>
* nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index e5a2e31..f5e26ed 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -177,13 +177,14 @@ If the value is a function, debug messages are logged by calling
(function :tag "Function that takes arguments like `message'")
(const :tag "Don't log anything" nil)))
-(defcustom auth-sources '("~/.authinfo.gpg" "~/.authinfo")
+(defcustom auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc")
"List of authentication sources.
The default will get login and password information from
\"~/.authinfo.gpg\", which you should set up with the EPA/EPG
packages to be encrypted. If that file doesn't exist, it will
-try the unencrypted version \"~/.authinfo\".
+try the unencrypted version \"~/.authinfo\" and the famous
+\"~/.netrc\" file.
See the auth.info manual for details.
commit 2a713f5140baea3bfde7088349b038f123bb7725
Author: Ted Zlatanov <[email protected]>
Date: Tue Feb 22 12:21:59 2011 -0600
Update docs to mention ~/.netrc is used now.
* auth.texi (Help for users): Mention ~/.netrc is also searched by
default now.
diff --git a/texi/ChangeLog b/texi/ChangeLog
index fd47032..ad61f45 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-22 Teodor Zlatanov <[email protected]>
+
+ * auth.texi (Help for users): Mention ~/.netrc is also searched by
+ default now.
+
2011-02-21 Lars Ingebrigtsen <[email protected]>
* gnus.texi (Article Date): Clarify gnus-article-update-date-headers.
diff --git a/texi/auth.texi b/texi/auth.texi
index 90b16e0..bfc3c96 100644
--- a/texi/auth.texi
+++ b/texi/auth.texi
@@ -127,8 +127,8 @@ you will be pwned as the kids say.
``Netrc'' files are usually called @code{.authinfo} or @code{.netrc};
nowadays @code{.authinfo} seems to be more popular and the auth-source
-library encourages this confusion by making it the default, as you'll
-see later.
+library encourages this confusion by accepting both, as you'll see
+later.
If you have problems with the search, set @code{auth-source-debug} to
@code{t} and see what host, port, and user the library is checking in
@@ -159,7 +159,7 @@ and simplest configuration is:
;;; mostly equivalent (see below about fallbacks) but shorter:
(setq auth-sources '((:source "~/.authinfo.gpg")))
;;; even shorter and the @emph{default}:
-(setq auth-sources '("~/.authinfo.gpg" "~/.authinfo"))
+(setq auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc"))
;;; use the Secrets API @var{Login} collection (@pxref{Secret Service API})
(setq auth-sources '("secrets:Login"))
@end lisp
@@ -184,8 +184,8 @@ the defaults: any host and any port are looked up in the netrc
file @code{~/.authinfo.gpg}, which is a GnuPG encrypted file
(@pxref{GnuPG and EasyPG Assistant Configuration}).
-If that fails, the unencrypted netrc file @code{~/.authinfo} will
-be used.
+If that fails, the unencrypted netrc files @code{~/.authinfo} and
+@code{~/.netrc} will be used.
The typical netrc line example is without a port.
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/auth-source.el | 5 +++--
texi/ChangeLog | 5 +++++
texi/auth.texi | 10 +++++-----
4 files changed, 17 insertions(+), 7 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project