gnus
13 years ago* nnimap.el (nnimap-inbox): Doc fix.
Simon Josefsson [Mon, 21 Feb 2011 23:11:24 +0000 (15:11 -0800)]
* nnimap.el (nnimap-inbox): Doc fix.

13 years agoFix last bogus change.
Katsumi Yamaoka [Mon, 21 Feb 2011 13:34:37 +0000 (13:34 +0000)]
Fix last bogus change.

13 years agoFix last change.
Katsumi Yamaoka [Mon, 21 Feb 2011 13:21:10 +0000 (13:21 +0000)]
Fix last change.

13 years agoMerge changes made in Emacs trunk.
Emacs devel [Mon, 21 Feb 2011 13:00:50 +0000 (13:00 +0000)]
Merge changes made in Emacs trunk.

2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
 Autoload.  Add optional arg FRAME, and pass it to color-values.
 (color-complement): Caller changed.  Doc fix.
 (color-gradient): Rewrite for better clarity and efficiency.

2011-02-20  Chong Yidong  <cyd@stupidchicken.com>
 * shr-color.el (shr-color->hexadecimal): Use renamed function names
 color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
 color-lab-to-srgb.

2011-02-20  Drew Adams  <drew.adams@oracle.com>
 * color.el: First part of merge from hexrgb.el.
 (color-rgb-to-hex): Rename from color-rgb->hex.
 (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
 saturation to zero if the value is too small.
 (color-rgb-to-hsl): Rename from color-rgb->hsl.
 (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
 (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
 (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
 (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
 (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
 (color-cie-de2000): Doc fix.

13 years agoWait for the end of the LIST ACTIVE command, if we're using that.
Lars Ingebrigtsen [Mon, 21 Feb 2011 08:47:13 +0000 (00:47 -0800)]
Wait for the end of the LIST ACTIVE command, if we're using that.

Instead of waiting for the beginning.

13 years agoAdd a kludge to use the given method as in the group name if we're using an extended...
Lars Ingebrigtsen [Mon, 21 Feb 2011 05:01:59 +0000 (21:01 -0800)]
Add a kludge to use the given method as in the group name if we're using an extended method.

13 years agoExtend the methods so that we're sure to get unique server names.
Lars Ingebrigtsen [Mon, 21 Feb 2011 04:54:10 +0000 (20:54 -0800)]
Extend the methods so that we're sure to get unique server names.

And we don't output two async commands in the same buffer.  This fixes
an NNTP hang for some users.

13 years agoNo Gnus v0.12 is begun
Lars Ingebrigtsen [Mon, 21 Feb 2011 03:25:59 +0000 (19:25 -0800)]
No Gnus v0.12 is begun

13 years agoNo Gnus v0.11 is released
Lars Ingebrigtsen [Mon, 21 Feb 2011 03:25:59 +0000 (19:25 -0800)]
No Gnus v0.11 is released

13 years agoFix some errors.
Lars Ingebrigtsen [Mon, 21 Feb 2011 03:19:01 +0000 (19:19 -0800)]
Fix some errors.

13 years agoCheck in the new git-based makepub.
Lars Ingebrigtsen [Mon, 21 Feb 2011 03:13:03 +0000 (19:13 -0800)]
Check in the new git-based makepub.

13 years agoDon't ignore makepub any more.
Lars Ingebrigtsen [Mon, 21 Feb 2011 03:12:41 +0000 (19:12 -0800)]
Don't ignore makepub any more.

13 years agoAdd a kludge to reselect the summary buffer before reading going to the next buffer.
Lars Ingebrigtsen [Mon, 21 Feb 2011 02:00:04 +0000 (18:00 -0800)]
Add a kludge to reselect the summary buffer before reading going to the next buffer.

This avoids putting the point in the group buffer if you `C-g' the
command.

13 years agoAdd an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable.
Lars Ingebrigtsen [Mon, 21 Feb 2011 01:34:09 +0000 (17:34 -0800)]
Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable.

13 years agoComment fix.
Lars Ingebrigtsen [Mon, 21 Feb 2011 01:26:11 +0000 (17:26 -0800)]
Comment fix.

13 years ago* nnfolder.el (copyright-update): Define for the compiler.
Lars Ingebrigtsen [Mon, 21 Feb 2011 00:58:28 +0000 (16:58 -0800)]
* nnfolder.el (copyright-update): Define for the compiler.

13 years ago* auth-source.el (auth-source-search): Fix unbound variable.
Lars Ingebrigtsen [Mon, 21 Feb 2011 00:57:21 +0000 (16:57 -0800)]
* auth-source.el (auth-source-search): Fix unbound variable.

13 years ago* gnus.texi (Window Layout): Document layout names.
Lars Ingebrigtsen [Sun, 20 Feb 2011 01:32:38 +0000 (17:32 -0800)]
* gnus.texi (Window Layout): Document layout names.

13 years ago(nnimap-wait-for-response): Ensure that we get the entire line we're waiting for.
Lars Ingebrigtsen [Sun, 20 Feb 2011 01:03:16 +0000 (17:03 -0800)]
(nnimap-wait-for-response): Ensure that we get the entire line we're waiting for.

13 years agoResolved.
Lars Ingebrigtsen [Sun, 20 Feb 2011 01:04:45 +0000 (17:04 -0800)]
Resolved.

13 years ago* gnus-art.el (gnus-article-next-page-1): Because customized mode-line
Darren Hoo [Sat, 19 Feb 2011 21:18:32 +0000 (13:18 -0800)]
* gnus-art.el (gnus-article-next-page-1): Because customized mode-line
face with line-width greater than zero will cause RET in gnus summary
buffer to scroll down article page-wise because auto vscroll happens,
it should be temporalily disabled when doing a scroll-up.

13 years agoResolved.
Lars Ingebrigtsen [Sun, 20 Feb 2011 01:04:26 +0000 (17:04 -0800)]
Resolved.

13 years agoMerge changes made in Emacs trunk.
Emacs devel [Sat, 19 Feb 2011 23:36:11 +0000 (23:36 +0000)]
Merge changes made in Emacs trunk.

auth.texi: Sync @dircategory with Emacs/info/dir.
emacs-mime.texi: Sync @dircategory with Emacs/info/dir.
gnus.texi: Sync @dircategory with Emacs/info/dir.
message.texi: Sync @dircategory with Emacs/info/dir.
pgg.texi: Sync @dircategory with Emacs/info/dir.
sasl.texi: Sync @dircategory with Emacs/info/dir.
sieve.texi: Sync @dircategory with Emacs/info/dir.
gnus.el (gnus-meta): Doc fix.
nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update, in case it's not yet loaded.

13 years ago(nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
Lars Ingebrigtsen [Sat, 19 Feb 2011 09:40:02 +0000 (01:40 -0800)]
(nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.

13 years ago* gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that...
Antoine Levitt [Fri, 18 Feb 2011 23:18:30 +0000 (15:18 -0800)]
* gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier.

13 years ago(auth-source-search): Only ask a single backend to create the credentials.
Lars Ingebrigtsen [Fri, 18 Feb 2011 22:09:56 +0000 (14:09 -0800)]
(auth-source-search): Only ask a single backend to create the credentials.

13 years agoIf we don't find a match, don't bug out on non-bound variables.
Lars Ingebrigtsen [Fri, 18 Feb 2011 22:07:53 +0000 (14:07 -0800)]
If we don't find a match, don't bug out on non-bound variables.

13 years agoSmall post-receive fixes.
Ted Zlatanov [Fri, 18 Feb 2011 11:44:06 +0000 (05:44 -0600)]
Small post-receive fixes.

* post-receive: Fix $(( bug.  Note that the user name and address are
incorrect if the last commit was on a branch.

13 years ago(auth-source-search): Don't try to create credentials if the caller doesn't want...
Lars Ingebrigtsen [Fri, 18 Feb 2011 00:45:49 +0000 (16:45 -0800)]
(auth-source-search): Don't try to create credentials if the caller doesn't want that.

13 years ago(nnimap-request-list): Protect against not being able to open the server.
Lars Ingebrigtsen [Fri, 18 Feb 2011 00:31:28 +0000 (16:31 -0800)]
(nnimap-request-list): Protect against not being able to open the server.

13 years ago(nnimap-credentials): Protect against auth-source-search returning nil.
Lars Ingebrigtsen [Fri, 18 Feb 2011 00:22:48 +0000 (16:22 -0800)]
(nnimap-credentials): Protect against auth-source-search returning nil.

13 years agotexi/ChangeLog: Synch with Emacs trunk.
Katsumi Yamaoka [Fri, 18 Feb 2011 00:02:09 +0000 (00:02 +0000)]
texi/ChangeLog: Synch with Emacs trunk.

13 years ago(auth-source-search): Do a two-phase search, one with no :create to get the responses...
Lars Ingebrigtsen [Thu, 17 Feb 2011 23:45:12 +0000 (15:45 -0800)]
(auth-source-search): Do a two-phase search, one with no :create to get the responses from all backends.

13 years agoDelete duplicate server names when getting credentials.
Lars Ingebrigtsen [Thu, 17 Feb 2011 23:00:43 +0000 (15:00 -0800)]
Delete duplicate server names when getting credentials.

13 years agoMention the default now is to have two files in `auth-sources'.
Ted Zlatanov [Thu, 17 Feb 2011 14:42:25 +0000 (08:42 -0600)]
Mention the default now is to have two files in `auth-sources'.

* auth.texi (GnuPG and EasyPG Assistant Configuration): Mention the
default now is to have two files in `auth-sources'.

13 years agoComplete among multiple auth-source-search choices when creating. Don't show the...
Ted Zlatanov [Thu, 17 Feb 2011 14:40:43 +0000 (08:40 -0600)]
Complete among multiple auth-source-search choices when creating.  Don't show the password when prompting for creation.

* auth-source.el (auth-source-search): Updated docs to talk about
multiple creation choices.
(auth-source-netrc-create): Accept a list as a value (from the search
parameters) and do completion on that list.  Keep a separate netrc line
with the password obscured for showing the user.

13 years agoTurn off auth-source-debug by default.
Ted Zlatanov [Thu, 17 Feb 2011 12:08:57 +0000 (06:08 -0600)]
Turn off auth-source-debug by default.

* auth-source.el (auth-source-debug): Default to off.

13 years agoUse :port instead of :protocol for all auth-source docs.
Ted Zlatanov [Thu, 17 Feb 2011 12:01:37 +0000 (06:01 -0600)]
Use :port instead of :protocol for all auth-source docs.

* auth.texi (Help for users): Use :port instead of :protocol for all
auth-source docs.

13 years agoUse :port instead of :protocol for all auth-source functions.
Ted Zlatanov [Thu, 17 Feb 2011 12:00:47 +0000 (06:00 -0600)]
Use :port instead of :protocol for all auth-source functions.

* 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.

(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.

* auth-source.el (auth-source-netrc-parse): Use :port instead of
:protocol and accept a missing user, host, or port as a wildcard match.

13 years agoauth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of...
Katsumi Yamaoka [Thu, 17 Feb 2011 05:04:35 +0000 (05:04 +0000)]
auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4.

13 years agoauth-source.el: Don't pass more than two args, that XEmacs 21.4 doesn't support,...
Katsumi Yamaoka [Thu, 17 Feb 2011 04:07:41 +0000 (04:07 +0000)]
auth-source.el: Don't pass more than two args, that XEmacs 21.4 doesn't support, to `require'.

13 years agoauth-source.el: Bind load-path when loading EIEIO from "gnus-fallback-lib/eieio".
Katsumi Yamaoka [Thu, 17 Feb 2011 03:55:30 +0000 (03:55 +0000)]
auth-source.el: Bind load-path when loading EIEIO from "gnus-fallback-lib/eieio".

13 years agoUse eval-and-compile to load EIEIO correctly.
Raphael Kubo da Costa [Thu, 17 Feb 2011 03:19:30 +0000 (21:19 -0600)]
Use eval-and-compile to load EIEIO correctly.

* auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
as EIEIO must also be loaded when auth-source.el is being
byte-compiled.

13 years agoBring in EIEIO from Emacs.
Ted Zlatanov [Wed, 16 Feb 2011 22:14:41 +0000 (16:14 -0600)]
Bring in EIEIO from Emacs.

* auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
necessary.

* gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.

* gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Ted Zlatanov [Wed, 16 Feb 2011 22:05:52 +0000 (16:05 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoOverride password-cache-expiry with auth-source-cache-expiry.
Ted Zlatanov [Wed, 16 Feb 2011 22:05:19 +0000 (16:05 -0600)]
Override password-cache-expiry with auth-source-cache-expiry.

* auth-source.el (auth-source-cache-expiry): New variable to override
`password-cache-expiry'.
(auth-source-remember): Use it.

13 years ago(gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn...
Lars Ingebrigtsen [Wed, 16 Feb 2011 20:39:35 +0000 (12:39 -0800)]
(gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn't get updated.

13 years agoDo smarter auth-source creation if needed and still work without creation.
Ted Zlatanov [Wed, 16 Feb 2011 18:22:36 +0000 (12:22 -0600)]
Do smarter auth-source creation if needed and still work without creation.

* nnimap.el (nnimap-credentials): Remove the `inhibit-create'
parameter.  Create entry if necessary by using :create t.
(nnimap-open-connection-1): Don't pass `inhibit-create'.

* auth-source.el (auth-source-netrc-create): Return a synthetic search
result when the user doesn't want to write to the file.
(auth-source-netrc-search): Expect a synthetic result and proceed
accordingly.

13 years agoEnable `auth-source-debug' by default. Add and use `auth-source-do-warn'.
Ted Zlatanov [Tue, 15 Feb 2011 15:31:58 +0000 (09:31 -0600)]
Enable `auth-source-debug' by default.  Add and use `auth-source-do-warn'.

* auth-source.el (auth-source-debug): Enable by default and don't
mention the obsolete `auth-source-hide-passwords'.
(auth-source-do-warn): New function to debug unconditionally.
(auth-source-do-debug): Use it.
(auth-source-backend-parse): Use it for invalid `auth-sources' entries
and for Secrets API entries when the secrets.el library is not
available.

13 years ago(gnus-summary-exit): Kill the correct article buffer on exit from a `C-d' group.
Lars Ingebrigtsen [Mon, 14 Feb 2011 23:43:43 +0000 (15:43 -0800)]
(gnus-summary-exit): Kill the correct article buffer on exit from a `C-d' group.

13 years ago(gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks.
Lars Ingebrigtsen [Mon, 14 Feb 2011 23:39:07 +0000 (15:39 -0800)]
(gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks.

13 years agoMake non-full window usage work better on choosing the next group.
Lars Ingebrigtsen [Mon, 14 Feb 2011 22:57:45 +0000 (14:57 -0800)]
Make non-full window usage work better on choosing the next group.

13 years agoMake non-full window usage work better on group exit.
Lars Ingebrigtsen [Mon, 14 Feb 2011 22:48:32 +0000 (14:48 -0800)]
Make non-full window usage work better on group exit.

13 years agoReinstate the two-part async code again so that we can debug it properly.
Lars Ingebrigtsen [Mon, 14 Feb 2011 21:04:46 +0000 (13:04 -0800)]
Reinstate the two-part async code again so that we can debug it properly.

13 years ago(message-reply): Take an optional switch-buffer parameter so that Gnus window confs...
Lars Ingebrigtsen [Mon, 14 Feb 2011 20:36:58 +0000 (12:36 -0800)]
(message-reply): Take an optional switch-buffer parameter so that Gnus window confs are respected better.

13 years agoIndent.
Lars Ingebrigtsen [Mon, 14 Feb 2011 20:23:48 +0000 (12:23 -0800)]
Indent.

13 years ago Don't bug out when updating multiple headers.
Lars Ingebrigtsen [Mon, 14 Feb 2011 19:59:56 +0000 (11:59 -0800)]
 Don't bug out when updating multiple headers.

13 years ago* auth.texi (Help for users): Login collection is "Login" and not "login".
Ted Zlatanov [Mon, 14 Feb 2011 14:48:31 +0000 (08:48 -0600)]
* auth.texi (Help for users): Login collection is "Login" and not "login".

13 years agoRemove CL functions. Fix Secrets Login collection name.
Ted Zlatanov [Mon, 14 Feb 2011 14:47:59 +0000 (08:47 -0600)]
Remove CL functions.  Fix Secrets Login collection name.

* auth-source.el (auth-source-secrets-search): Use `delete-dups',
`append mapcar', and `butlast' instead of `remove-duplicates',
`mapcan', and `subseq'.
(auth-sources, auth-source-backend-parse, auth-source-secrets-search):
Login collection is "Login" and not "login".

13 years agoXEmacs bugfix for plist-get.
Ted Zlatanov [Mon, 14 Feb 2011 11:18:42 +0000 (05:18 -0600)]
XEmacs bugfix for plist-get.

* auth-source.el (auth-source-backend-parse-parameters): Don't rely on
`plist-get' to accept non-list parameters (XEmacs issue).  Fix
docstring.

13 years agoDon't log login commands.
Lars Ingebrigtsen [Mon, 14 Feb 2011 03:43:23 +0000 (19:43 -0800)]
Don't log login commands.

13 years ago(auth-source-netrc-search): The asserts seem to want to have more parameters.
Lars Ingebrigtsen [Mon, 14 Feb 2011 03:24:26 +0000 (19:24 -0800)]
(auth-source-netrc-search): The asserts seem to want to have more parameters.

13 years ago(nnimap-send-command): Mark the command time for each command, so that we don't get...
Lars Ingebrigtsen [Mon, 14 Feb 2011 03:02:51 +0000 (19:02 -0800)]
(nnimap-send-command): Mark the command time for each command, so that we don't get NOOPs stepping on our toes.

13 years ago(article-date-ut): Get the date from the Date header on `t'.
Lars Ingebrigtsen [Mon, 14 Feb 2011 02:07:44 +0000 (18:07 -0800)]
(article-date-ut): Get the date from the Date header on `t'.

13 years agoauth-source.el (auth-source-search): Use copy-sequence instead of the cl.el copy...
Katsumi Yamaoka [Mon, 14 Feb 2011 01:35:22 +0000 (01:35 +0000)]
auth-source.el (auth-source-search): Use copy-sequence instead of the cl.el copy-list.

13 years agoBring back imap.el.
Ted Zlatanov [Mon, 14 Feb 2011 00:37:47 +0000 (18:37 -0600)]
Bring back imap.el.

* imap.el: Bring it back (revert
84d800cd31de3064f0ed39617d725709a2f8f42f).

13 years ago* gnus-delay.el (gnus-delay-article) Improve prompt.
Adam Sjøgren [Sun, 13 Feb 2011 19:37:54 +0000 (11:37 -0800)]
* gnus-delay.el (gnus-delay-article) Improve prompt.

13 years ago* gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
Adam Sjøgren [Sun, 13 Feb 2011 19:22:56 +0000 (11:22 -0800)]
* gnus-delay.el (gnus-delay-article) Fix number of seconds per day.

13 years agoRemove the article washing status from the default format.
Lars Ingebrigtsen [Sun, 13 Feb 2011 18:44:43 +0000 (10:44 -0800)]
Remove the article washing status from the default format.

It isn't very informative.

13 years agoFix Gcc processing on imap.
Tassilo Horn [Sun, 13 Feb 2011 13:34:40 +0000 (07:34 -0600)]
Fix Gcc processing on imap.

* nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix
Gcc processing on imap.

13 years agoRemove imap.el now that imap-hash.el and tramp-imap.el are gone.
Ted Zlatanov [Sun, 13 Feb 2011 13:20:53 +0000 (07:20 -0600)]
Remove imap.el now that imap-hash.el and tramp-imap.el are gone.

* imap.el: Remove file.  All the functionality is in nnimap.el.

13 years agoRewrite of auth-source.el and change all the API calls.
Ted Zlatanov [Sat, 12 Feb 2011 13:37:18 +0000 (07:37 -0600)]
Rewrite of auth-source.el and change all the API calls.

Merged from tzz-auth-source-rewrite branch with slight rebasing to
preserve 0bca1908b8a435b5ade1dbebeb9f98207e81d9c4 and
bcfcbbaf5361e3019ab21b4e96967150f74e2a62 to nntp.el and
proto-stream.el respectively.

* sieve-manage.el: Autoload `auth-source-search'.
(sieve-sasl-auth): Use it.

* nnimap.el: Autoload `auth-source-forget+'.
(nnimap-open-connection-1): Use it if the connection fails.

* password-cache.el (password-cache-remove): Accept secrets that are
not strings.

* 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.

* 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.

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

* auth-source.el: Require `password-cache'.
(auth-source-hide-passwords, auth-source-cache): Remove and mark
obsolete.
(auth-source-magic): Marker for `password-cache' keys.
(auth-source-do-cache): Update docstring.
(auth-source-search): Use and check cache.
(auth-source-forget-all-cached, auth-source-remember)
(auth-source-recall, auth-source-forget, auth-source-forget+)
(auth-source-specmatchp): Caching support functions.
(auth-source-forget-user-or-password, auth-source-forget-all-cached):
Remove and obsolete.
(auth-source-user-or-password): Remove caching to further discourage
using it.  Always hide passwords.

* auth-source.el (auth-source-secrets-search)
(auth-source-user-or-password): Use `append' instead of `nconc'.
(auth-source-user-or-password): Build return list better and protect
against nil :secret.

* auth-source.el (top): Require 'eieio unconditionally.  Autoload
`secrets-get-attributes' instead of `secrets-get-attribute'.
(auth-source-secrets-search): Limit search when `max' is greater than
number of results.

* auth-source.el (auth-source-secrets-search): Add examples.

* auth-source.el (auth-sources): Allow for simpler defaults for Secrets
API with a string "secrets:collection-name" and with 'default.
(auth-source-backend-parse): Parse "secrets:collection-name" and
'default.  Recurse on parses instead of repeating code.  Use the
Secrets API is the source is not nil and 'ignore otherwise.  Emit a
message when ignoring a source.
(auth-source-search): List ignored search keys at the top level.
(auth-source-netrc-create): Use `case' instead of `cond'.
(auth-source-secrets-search): Created with TODOs.
(auth-source-secrets-create): Created with TODOs.
(auth-source-retrieve, auth-source-create, auth-source-delete)
(auth-source-protocol-defaults, auth-source-user-or-password-imap)
(auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
(auth-source-user-or-password-sftp)
(auth-source-user-or-password-smtp): Removed.
(auth-source-user-or-password): Deprecated and modified to be a wrapper
around `auth-source-search'.  Not tested thoroughly.

* auth-source.el: Bring in assoc and eioeio libraries.
(secrets-enabled): New variable to track the status of the Secrets API.
(auth-source-backend): New EIOEIO class to represent a backend.
(auth-source-creation-defaults): New variable to set prompt defaults
during token creation (see the `auth-source-search' docstring for
details).
(auth-sources): Simplify to allow a simple string as a netrc backend
spec.
(auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
(auth-source-backend-parse-parameters): Fill in the backend parameters.
(auth-source-search): Main auth-source API entry point.
(auth-source-delete): Wrapper around `auth-source-search' for deletion.
(auth-source-search-collection): Helper function for searching.
(auth-source-netrc-parse, auth-source-netrc-normalize)
(auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
Supports search, create, and delete.
(auth-source-secrets-search, auth-source-secrets-create): Secrets API
backend stubs.
(auth-source-user-or-password): Call `auth-source-search' but it's not
ready yet.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Ted Zlatanov [Sat, 12 Feb 2011 12:45:50 +0000 (06:45 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite

Conflicts:
lisp/ChangeLog

13 years agomml2015.el (mml2015-signers): Minor doc fix.
Chong Yidong [Sat, 12 Feb 2011 10:29:42 +0000 (10:29 +0000)]
mml2015.el (mml2015-signers): Minor doc fix.

13 years agoTalk about spaces in the netrc file.
Ted Zlatanov [Fri, 11 Feb 2011 20:16:34 +0000 (14:16 -0600)]
Talk about spaces in the netrc file.

13 years ago* auth.texi (Overview, Help for users, Help for developers): Update docs.
Ted Zlatanov [Fri, 11 Feb 2011 17:25:03 +0000 (11:25 -0600)]
* auth.texi (Overview, Help for users, Help for developers): Update docs.

13 years agoCosmetic fix.
Stefan Monnier [Thu, 10 Feb 2011 22:46:33 +0000 (22:46 +0000)]
Cosmetic fix.

13 years agomessage.el (message-bury): Don't pop up a new window when selected window is dedicated.
Stefan Monnier [Thu, 10 Feb 2011 22:39:08 +0000 (22:39 +0000)]
message.el (message-bury): Don't pop up a new window when selected window is dedicated.

13 years ago* sieve-manage.el: Autoload `auth-source-search'. (sieve-sasl-auth): Use it.
Ted Zlatanov [Thu, 10 Feb 2011 21:33:32 +0000 (15:33 -0600)]
* sieve-manage.el: Autoload `auth-source-search'. (sieve-sasl-auth): Use it.

13 years agognus-sum: use read-directory-name
Antoine Levitt [Thu, 10 Feb 2011 16:25:05 +0000 (17:25 +0100)]
gnus-sum: use read-directory-name

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoMerge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Ted Zlatanov [Wed, 9 Feb 2011 21:34:12 +0000 (15:34 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite

Conflicts:
lisp/ChangeLog

13 years agoAdd caching through password-cache.
Ted Zlatanov [Wed, 9 Feb 2011 21:32:55 +0000 (15:32 -0600)]
Add caching through password-cache.

* password-cache.el (password-cache-remove): Accept secrets that are
not strings.

* auth-source.el: Require `password-cache'.
(auth-source-hide-passwords, auth-source-cache): Remove and mark
obsolete.
(auth-source-magic): Marker for `password-cache' keys.
(auth-source-do-cache): Update docstring.
(auth-source-search): Use and check cache.
(auth-source-forget-all-cached, auth-source-remember)
(auth-source-recall, auth-source-forget, auth-source-forget+)
(auth-source-specmatchp): Caching support functions.
(auth-source-forget-user-or-password, auth-source-forget-all-cached):
Remove and obsolete.
(auth-source-user-or-password): Remove caching to further discourage
using it.  Always hide passwords.

* nnimap.el: Autoload `auth-source-forget+'.
(nnimap-open-connection-1): Use it if the connection fails.

13 years agoDisable the async code for now, since it doesn't work for all users.
Lars Magne Ingebrigtsen [Wed, 9 Feb 2011 18:04:52 +0000 (10:04 -0800)]
Disable the async code for now, since it doesn't work for all users.

13 years agomessage: make message-options really buffer local
Julien Danjou [Wed, 9 Feb 2011 08:51:42 +0000 (09:51 +0100)]
message: make message-options really buffer local

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoUse new auth-source search API for mail-source, nnimap, nntp.
Ted Zlatanov [Tue, 8 Feb 2011 22:24:44 +0000 (16:24 -0600)]
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.

13 years agoFix up ChangeLog.
Ted Zlatanov [Tue, 8 Feb 2011 20:11:22 +0000 (14:11 -0600)]
Fix up ChangeLog.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Ted Zlatanov [Tue, 8 Feb 2011 20:09:36 +0000 (14:09 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite

Conflicts:
lisp/ChangeLog

13 years agoshr: add support for text attribute in body
Julien Danjou [Tue, 8 Feb 2011 10:32:01 +0000 (11:32 +0100)]
shr: add support for text attribute in body

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agomessage: make message-options a local variable
Julien Danjou [Tue, 8 Feb 2011 09:57:28 +0000 (10:57 +0100)]
message: make message-options a local variable

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoMerge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Ted Zlatanov [Mon, 7 Feb 2011 20:35:10 +0000 (14:35 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite

Conflicts:
lisp/ChangeLog

13 years agoFixes for backwards compatibility and nconc misuse.
Ted Zlatanov [Mon, 7 Feb 2011 20:27:11 +0000 (14:27 -0600)]
Fixes for backwards compatibility and nconc misuse.

* auth-source.el (auth-source-secrets-search)
(auth-source-user-or-password): Use `append' instead of `nconc'.
(auth-source-user-or-password): Build return list better and protect
against nil :secret.

13 years ago(nnimap-update-info): Simplify split history test.
Lars Ingebrigtsen [Mon, 7 Feb 2011 16:25:58 +0000 (08:25 -0800)]
(nnimap-update-info): Simplify split history test.

13 years ago(nnimap-update-info): Fix macrology bug-out.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:57:26 +0000 (02:57 -0800)]
(nnimap-update-info): Fix macrology bug-out.

13 years ago(nnimap-process-quirk): Renamed function to avoid collision.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:50:47 +0000 (02:50 -0800)]
(nnimap-process-quirk): Renamed function to avoid collision.

13 years ago(nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL characters.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:48:55 +0000 (02:48 -0800)]
(nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL characters.

13 years ago(nnimap-update-info): Clean up slightly.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:21:39 +0000 (02:21 -0800)]
(nnimap-update-info): Clean up slightly.

13 years ago(nnimap-update-info): Tell Gnus whether there are any \Recent messages.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:20:52 +0000 (02:20 -0800)]
(nnimap-update-info): Tell Gnus whether there are any \Recent messages.

13 years ago* nnimap.el (nnimap-update-info): Refactor slightly.
Lars Ingebrigtsen [Mon, 7 Feb 2011 10:04:12 +0000 (02:04 -0800)]
* nnimap.el (nnimap-update-info): Refactor slightly.

13 years agoMerge branch 'tzz-auth-source-rewrite' of https://git.gnus.org/gnus into tzz-auth...
Ted Zlatanov [Sun, 6 Feb 2011 19:56:50 +0000 (13:56 -0600)]
Merge branch 'tzz-auth-source-rewrite' of https://git.gnus.org/gnus into tzz-auth-source-rewrite

Conflicts:
lisp/ChangeLog

13 years agoFixes from Michael Albinus: requires, autoloads, and avoid subseq beyond end.
Ted Zlatanov [Sun, 6 Feb 2011 19:27:27 +0000 (13:27 -0600)]
Fixes from Michael Albinus: requires, autoloads, and avoid subseq beyond end.

* auth-source.el (top): Require 'eieio unconditionally.  Autoload
`secrets-get-attributes' instead of `secrets-get-attribute'.
(auth-source-secrets-search): Limit search when `max' is greater than
number of results.