Ted Zlatanov [Sun, 6 Feb 2011 17:30:40 +0000 (11:30 -0600)]
Add Secrets API search examples.
* auth-source.el (auth-source-secrets-search): Add examples.
Ted Zlatanov [Sun, 6 Feb 2011 14:46:03 +0000 (08:46 -0600)]
Merge branch 'tzz-auth-source-rewrite' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Conflicts:
lisp/ChangeLog
lisp/auth-source.el
Ted Zlatanov [Sun, 6 Feb 2011 14:37:58 +0000 (08:37 -0600)]
Merge remote branch 'origin/master' into tzz-auth-source-rewrite
Conflicts:
lisp/ChangeLog
Ted Zlatanov [Sun, 6 Feb 2011 14:35:13 +0000 (08:35 -0600)]
Secrets API search added. Removed older functions. Backwards compatibility.
* 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.
Ted Zlatanov [Fri, 4 Feb 2011 16:47:12 +0000 (10:47 -0600)]
auth-source.el rewrite
* 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.
Julien Danjou [Sun, 6 Feb 2011 09:32:44 +0000 (10:32 +0100)]
message: handle message-generate-headers-first set to t
Signed-off-by: Julien Danjou <julien@danjou.info>
Ted Zlatanov [Sat, 5 Feb 2011 14:15:59 +0000 (08:15 -0600)]
Use -D instead of echo > overrides.texi
* Makefile.in (nowebhack): Fixed to use -D flag instead of overrides.
* gnus-overrides.texi: Renamed from overrides.texi and all the relevant
manuals use it now.
Lars Ingebrigtsen [Fri, 4 Feb 2011 21:45:55 +0000 (13:45 -0800)]
* message.el (message-setup-1): Remove the read-only stuff, since it doesn't work under XEmacs, for some reason.
Ted Zlatanov [Fri, 4 Feb 2011 19:21:58 +0000 (13:21 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus
Conflicts:
texi/ChangeLog
texi/gnus.texi
Ted Zlatanov [Fri, 4 Feb 2011 19:19:08 +0000 (13:19 -0600)]
WEBHACKDEVEL work
* Makefile.in (webhack, nowebhack): Hacks to produce for-the-web
manuals.
* auth.texi: Use WEBHACKDEVEL.
* emacs-mime.texi: Use WEBHACKDEVEL.
* gnus.texi: Use WEBHACKDEVEL.
* message.texi: Use WEBHACKDEVEL.
* pgg.texi: Use WEBHACKDEVEL.
* sasl.texi: Use WEBHACKDEVEL.
* sieve.texi: Use WEBHACKDEVEL.
* overrides.texi: New file to set or clear WEBHACKDEVEL.
Lars Ingebrigtsen [Fri, 4 Feb 2011 19:07:26 +0000 (11:07 -0800)]
* gnus.texi: Add DEVEL header (suggested by Andreas Schwab).
Lars Ingebrigtsen [Fri, 4 Feb 2011 19:07:06 +0000 (11:07 -0800)]
Ignore .pdf files.
Ted Zlatanov [Fri, 4 Feb 2011 16:49:56 +0000 (10:49 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus into tzz-auth-source-rewrite
Ted Zlatanov [Fri, 4 Feb 2011 16:47:12 +0000 (10:47 -0600)]
auth-source.el rewrite
* 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.
Lars Ingebrigtsen [Fri, 4 Feb 2011 16:43:11 +0000 (08:43 -0800)]
* gnus-sum.el (gnus-user-date): Renamed back from gnus-summary-user-date since user code refers to it.
Lars Ingebrigtsen [Fri, 4 Feb 2011 11:35:25 +0000 (03:35 -0800)]
* shr.el (shr-render-td): Store the actual background colour used.
Lars Ingebrigtsen [Fri, 4 Feb 2011 10:21:23 +0000 (02:21 -0800)]
Doc fix.
Lars Ingebrigtsen [Fri, 4 Feb 2011 09:26:51 +0000 (01:26 -0800)]
(message-resend): Allow removing the read-only separator line.
Lars Ingebrigtsen [Fri, 4 Feb 2011 09:21:28 +0000 (01:21 -0800)]
(message-setup-1): Revert previous change, since it needs to bind the props to insert them.
Lars Ingebrigtsen [Fri, 4 Feb 2011 09:18:50 +0000 (01:18 -0800)]
* message.el (message-setup-1): Don't bind the constant -forbidden-properties.
Lars Ingebrigtsen [Thu, 3 Feb 2011 21:08:53 +0000 (13:08 -0800)]
Give an error message if the APPEND wasn't successful.
Adam Sjøgren [Thu, 3 Feb 2011 19:49:30 +0000 (11:49 -0800)]
* gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups.
Julien Danjou [Thu, 3 Feb 2011 16:47:32 +0000 (17:47 +0100)]
gnus-draft: remove progn around gnus-draft-setup
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 15:26:11 +0000 (16:26 +0100)]
message: insert mail-header-separator read-only and intangible
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 15:41:49 +0000 (16:41 +0100)]
Revert "message: insert mail-header-separator read-only and intangible"
This reverts commit
a314569677d5b1c7197c7bd335ddc685795be1e5.
Lars Ingebrigtsen [Thu, 3 Feb 2011 15:36:03 +0000 (07:36 -0800)]
Request active files from primary/secondary methods that have no groups (yet).
Lars Ingebrigtsen [Thu, 3 Feb 2011 15:26:31 +0000 (07:26 -0800)]
(gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up.
Julien Danjou [Thu, 3 Feb 2011 15:26:11 +0000 (16:26 +0100)]
message: insert mail-header-separator read-only and intangible
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:48:02 +0000 (15:48 +0100)]
message: change message-mail return value
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:43:11 +0000 (15:43 +0100)]
Remove useless left over of previous fix
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:39:03 +0000 (15:39 +0100)]
message: implement a better fix for reference in first generation
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:19:12 +0000 (15:19 +0100)]
gnus-summary-line-format: fix typo in docstring
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:07:52 +0000 (15:07 +0100)]
gnus-art: remove old FIXME
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 14:03:16 +0000 (15:03 +0100)]
gnus-art: remove useless sit-for
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 3 Feb 2011 13:13:46 +0000 (14:13 +0100)]
gnus-util: change default value of gnus-user-date-format-alist
Signed-off-by: Julien Danjou <julien@danjou.info>
Glenn Morris [Thu, 3 Feb 2011 09:00:44 +0000 (09:00 +0000)]
nnimap.el (gnus-fetch-headers): Declare.
nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:21:51 +0000 (21:21 -0800)]
Clean up things noted by Stefan.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:13:12 +0000 (21:13 -0800)]
(article-update-date-lapsed): Make sure the window start doesn't move, either.
Lars Ingebrigtsen [Thu, 3 Feb 2011 05:01:06 +0000 (21:01 -0800)]
Indent.
Lars Ingebrigtsen [Thu, 3 Feb 2011 04:14:26 +0000 (20:14 -0800)]
Rip out the old -treat-date-* stuff, since it didn't really work with defcustom.
Lars Ingebrigtsen [Thu, 3 Feb 2011 04:06:09 +0000 (20:06 -0800)]
Stop the date timer if gnus-article-update-date-headers isn't set.
Stefan Monnier [Tue, 1 Feb 2011 23:41:48 +0000 (23:41 +0000)]
message.el (message-expand-name): Don't trust the return value of bbdb-complete-name.
(message-check-news-header-syntax): Remove unused var `start'.
(message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
(message-inhibit-body-encoding): Move to before first use.
(mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
(To, References, In-Reply-To, Newsgroups, Subject, Path, From)
(Organization, Message-ID, Date, mh-previous-window-config):
Defvar the vars using dynamic scoping.
Julien Danjou [Tue, 1 Feb 2011 16:30:01 +0000 (17:30 +0100)]
mm-uu: add support for git format-patch
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 1 Feb 2011 16:06:45 +0000 (17:06 +0100)]
mm-decode: stop checking for diff-mode
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 1 Feb 2011 15:34:25 +0000 (16:34 +0100)]
color: add color-gradient function
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 10:19:24 +0000 (02:19 -0800)]
* gnus.texi (Customizing Articles): Fix typo.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 02:58:16 +0000 (18:58 -0800)]
Fix up TD background colours when doing the vertical padding.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 02:51:24 +0000 (18:51 -0800)]
(shr-render-td): Only do colours at the final rendering.
Should be slightly faster.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 02:25:48 +0000 (18:25 -0800)]
Don't use current-column to find the horizontal position.
It's fragile in the presence of \003 characters.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 02:19:09 +0000 (18:19 -0800)]
(article-date-ut): Protect against articles with no Date header.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 02:00:07 +0000 (18:00 -0800)]
Comment fix.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 01:58:27 +0000 (17:58 -0800)]
(gnus-read-active-file-1): Remove dead parameter infos.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 01:56:59 +0000 (17:56 -0800)]
Add comments.
Lars Magne Ingebrigtsen [Tue, 1 Feb 2011 01:18:40 +0000 (17:18 -0800)]
Add comment.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 11:25:05 +0000 (03:25 -0800)]
Replace infinitely many Date headers with a single one when called interactively.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 10:49:14 +0000 (02:49 -0800)]
Add comment.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 10:41:35 +0000 (02:41 -0800)]
(article-transform-date): Fix infinite recursion.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 07:18:14 +0000 (23:18 -0800)]
(article-transform-date): Rewrite to still work when there are several rfc2822 parts.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 04:33:40 +0000 (20:33 -0800)]
(nnimap-wait-for-response): Wait for results in a more secure manner.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 04:21:20 +0000 (20:21 -0800)]
Try to avoid having point move around by not using save-window-excursion.
It seems to work...
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 03:15:42 +0000 (19:15 -0800)]
Implement the asynchronous data fetching functions for nntp.
Katsumi Yamaoka [Mon, 31 Jan 2011 02:53:33 +0000 (02:53 +0000)]
gnus-art.el (article-make-date-line): Fix last change.
Katsumi Yamaoka [Mon, 31 Jan 2011 02:47:15 +0000 (02:47 +0000)]
gnus-art.el (article-make-date-line): Work for user-defined format.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 02:12:33 +0000 (18:12 -0800)]
Read the active files thoroughly for all backends that have no known
groups.
This should allow new nnml methods to retrieve mail, for instance.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 02:07:34 +0000 (18:07 -0800)]
(gnus-group-jump-to-group): Allow jumping to groups that Gnus doesn't know exists again.
Lars Magne Ingebrigtsen [Mon, 31 Jan 2011 01:55:08 +0000 (17:55 -0800)]
Rewrite the Date header formatting functionality.
The user can now have infinitely many Date headers.
This change should be pretty much backwards-compatible, even though
many customisation variables have been removed.
Lars Magne Ingebrigtsen [Sun, 30 Jan 2011 02:56:21 +0000 (18:56 -0800)]
(nnmail-article-group): A better test for fanciness.
Lars Magne Ingebrigtsen [Sun, 30 Jan 2011 02:42:51 +0000 (18:42 -0800)]
(Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example.
Lars Magne Ingebrigtsen [Sun, 30 Jan 2011 02:38:16 +0000 (18:38 -0800)]
(nnmail-article-group): Check for a direct fancy split method.
Lars Magne Ingebrigtsen [Sun, 30 Jan 2011 00:40:18 +0000 (16:40 -0800)]
(nnimap-request-head): Protect against not finding the article by Message-ID.
Lars Magne Ingebrigtsen [Sat, 29 Jan 2011 01:30:59 +0000 (17:30 -0800)]
(article-update-date-lapsed): Try a better way to really keep point at the "same place".
Lars Magne Ingebrigtsen [Fri, 28 Jan 2011 22:22:20 +0000 (14:22 -0800)]
(gnus-select-newsgroup): Don't try to alter the active data if the group is unactivated.
Julien Danjou [Fri, 28 Jan 2011 17:07:30 +0000 (18:07 +0100)]
gnus-win: remove compat code
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Fri, 28 Jan 2011 16:41:04 +0000 (17:41 +0100)]
gnus-win: remove dead code
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Fri, 28 Jan 2011 09:50:40 +0000 (10:50 +0100)]
gnus-group: fix jump to unknown groups
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Fri, 28 Jan 2011 01:57:54 +0000 (17:57 -0800)]
(gnus-request-marks): Call *-request-marks instead of the older request-update-info.
Lars Magne Ingebrigtsen [Fri, 28 Jan 2011 01:36:14 +0000 (17:36 -0800)]
Merge branch 'master' of https://git.gnus.org/gnus
Conflicts:
lisp/ChangeLog
Daiki Ueno [Fri, 28 Jan 2011 01:02:59 +0000 (10:02 +0900)]
Give mml2015-signers higher precedence over mml2015-sign-with-sender.
Katsumi Yamaoka [Fri, 28 Jan 2011 00:10:40 +0000 (00:10 +0000)]
mml2015.el (mml2015-epg-sign): Add missing paren.
Lars Magne Ingebrigtsen [Fri, 28 Jan 2011 00:04:26 +0000 (16:04 -0800)]
* gnus-art.el (article-make-date-line): Limit the length a bit more.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 23:58:13 +0000 (15:58 -0800)]
(gnus-group-refresh-group): Refresh even non-visible groups.
This makes the nndraft:queue group pop up if it's not already there.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 23:42:30 +0000 (15:42 -0800)]
(gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 23:34:35 +0000 (15:34 -0800)]
Limit the number of segments dynamically to avoid too-long lines.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 23:16:16 +0000 (15:16 -0800)]
(article-update-date-lapsed): Skip past all the X-Sent/Date headers.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 23:04:14 +0000 (15:04 -0800)]
Ensure that point stays at the "same place" even if point is on the line being replaced.
Julien Danjou [Thu, 27 Jan 2011 17:16:00 +0000 (18:16 +0100)]
mml2015-epg-encrypt: Use mml2015-sign-with-sender
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 27 Jan 2011 16:18:19 +0000 (17:18 +0100)]
mml2015: add an option to use sender address to sign
Signed-off-by: Julien Danjou <julien@danjou.info>
Katsumi Yamaoka [Thu, 27 Jan 2011 13:20:38 +0000 (13:20 +0000)]
shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf.
Glenn Morris [Thu, 27 Jan 2011 10:23:30 +0000 (10:23 +0000)]
gnus-util.el (float-time): Get rid of compiler warning, again.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 10:13:55 +0000 (02:13 -0800)]
Special-case background colours.
Do put them at the blank parts at the front of the lines.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 01:22:47 +0000 (17:22 -0800)]
Doc typo.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 01:17:43 +0000 (17:17 -0800)]
(gnus-draft-clear-marks): New function to be run as an exit hook to nix out all data on readedness on group exit.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 00:31:22 +0000 (16:31 -0800)]
(time-date): Require to make some autoload issues on XEmacs go away.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 00:30:28 +0000 (16:30 -0800)]
(float-time): If float-time is bound, always use it on all Emacsen.
It's unclear why the subrp check was there. If it turns out to be
necessary, this patch should be reverted, and a comment saying why
it't that way should be added.
Lars Magne Ingebrigtsen [Thu, 27 Jan 2011 00:18:48 +0000 (16:18 -0800)]
(shr-put-color): Don't do the box padding in tables, since they're already padded.
Lars Magne Ingebrigtsen [Wed, 26 Jan 2011 23:50:11 +0000 (15:50 -0800)]
Change the Date defaults to showing a combined, continuosly updated "lapsed" format.
Lars Magne Ingebrigtsen [Wed, 26 Jan 2011 23:31:06 +0000 (15:31 -0800)]
(article-lapsed-string): Refactor out and allow specifying how many segments you want.
Lars Magne Ingebrigtsen [Wed, 26 Jan 2011 23:11:16 +0000 (15:11 -0800)]
(gnus-article-next-page): Change last-line-displayed behaviour.
When the last line of the article is displayed, scroll down once more
instead of going to the next article at once.
This makes for more SPC-ing, but since you normally don't know whether
an article is over or not in this situation, this is perhaps less
surprising and annoying behaviour.
Katsumi Yamaoka [Wed, 26 Jan 2011 10:43:13 +0000 (10:43 +0000)]
Refill some long/short copyright headers.
Glenn Morris [Wed, 26 Jan 2011 10:29:34 +0000 (10:29 +0000)]
Refill some long/short copyright headers.