Use new auth-source search API for mail-source, nnimap, nntp.
authorTed Zlatanov <tzz@lifelogs.com>
Tue, 8 Feb 2011 22:24:44 +0000 (16:24 -0600)
committerTed Zlatanov <tzz@lifelogs.com>
Tue, 8 Feb 2011 22:24:44 +0000 (16:24 -0600)
commit8894cb17aa25f5de7672f93fd52f4731f42ed9e0
treea07281799902981951e66fbca409da4ab754aa8e
parente0f083f85fb22ef0c4aa3db9aa9f3e95dc3b7c30
Use new auth-source search API for mail-source, nnimap, nntp.

* nntp.el: Autoload `auth-source-search'.
(nntp-send-authinfo): Use it.  Note TODO.

* nnimap.el: Autoload `auth-source-search'.
(nnimap-credentials): Use it.
(nnimap-open-connection-1): Ask for the virtual server and physical
address in one shot.

* mail-source.el: Autoload `auth-source-search'.
(mail-source-keyword-map): Note order matters.
(mail-source-set-1): Get all the mail-source source values and
defaults and search auth-source on those if needed.  This can all
probably be simplified.
lisp/ChangeLog
lisp/mail-source.el
lisp/nnimap.el
lisp/nntp.el