aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTeodor Zlatanov2011-02-17 12:08:48 +0000
committerKatsumi Yamaoka2011-02-17 12:08:48 +0000
commit35123c042e9154a0f2b1ebfddba06ba01596f07d (patch)
treeb8e2a42ee315b247fabd18051d58405c1e34a11c /doc
parent73057ba922a026e5416d2e432c6bc1cce127648a (diff)
downloademacs-35123c042e9154a0f2b1ebfddba06ba01596f07d.tar.gz
emacs-35123c042e9154a0f2b1ebfddba06ba01596f07d.zip
auth.texi (Help for users): Use :port instead of :protocol for all auth-source docs.
auth-source.el (auth-source-netrc-parse): Use :port instead of :protocol and accept a missing user, host, or port as a wildcard match. (auth-source-netrc-search, auth-source-netrc-create) (auth-source-secrets-search, auth-source-secrets-create) (auth-source-user-or-password, auth-source-backend, auth-sources) (auth-source-backend-parse-parameters, auth-source-search): Use :port instead of :protocol. nnimap.el (nnimap-credentials): Pass a port default to `auth-source-search' in case an entry needs to be created. (nnimap-open-connection-1): Use :port instead of :protocol.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/auth.texi7
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 4a03caee911..9a292c03c8d 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12011-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * auth.texi (Help for users): Use :port instead of :protocol for all
4 auth-source docs.
5
12011-02-16 Glenn Morris <rgm@gnu.org> 62011-02-16 Glenn Morris <rgm@gnu.org>
2 7
3 * dired-x.texi: Use emacsver.texi to get Emacs version. 8 * dired-x.texi: Use emacsver.texi to get Emacs version.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 020c582305c..0e19bce0b9f 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -105,8 +105,7 @@ It's known as @var{:host} in @code{auth-source-search} queries. You
105can also use @code{host}. 105can also use @code{host}.
106 106
107The @code{port} is the connection port or protocol. It's known as 107The @code{port} is the connection port or protocol. It's known as
108@var{:port} in @code{auth-source-search} queries. You can also use 108@var{:port} in @code{auth-source-search} queries.
109@code{protocol}.
110 109
111The @code{user} is the user name. It's known as @var{:user} in 110The @code{user} is the user name. It's known as @var{:user} in
112@code{auth-source-search} queries. You can also use @code{login} and 111@code{auth-source-search} queries. You can also use @code{login} and
@@ -155,8 +154,8 @@ particular host and protocol. While you can get fancy, the default
155and simplest configuration is: 154and simplest configuration is:
156 155
157@lisp 156@lisp
158;;; old default: required :host and :protocol, not needed anymore 157;;; old default: required :host and :port, not needed anymore
159(setq auth-sources '((:source "~/.authinfo.gpg" :host t :protocol t))) 158(setq auth-sources '((:source "~/.authinfo.gpg" :host t :port t)))
160;;; mostly equivalent (see below about fallbacks) but shorter: 159;;; mostly equivalent (see below about fallbacks) but shorter:
161(setq auth-sources '((:source "~/.authinfo.gpg"))) 160(setq auth-sources '((:source "~/.authinfo.gpg")))
162;;; even shorter and the @emph{default}: 161;;; even shorter and the @emph{default}: