diff options
| author | Lars Ingebrigtsen | 2011-01-30 02:51:45 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-01-30 02:51:45 +0000 |
| commit | fe72c8fa4e93465e99aa7075fec90ac5b32915ab (patch) | |
| tree | 7660a2c4c2ef3ca0ed37dd3d5f4962f2a60f80c4 | |
| parent | 228724bc63cfb48f0fbdd08ecddd7100974d6c11 (diff) | |
| download | emacs-fe72c8fa4e93465e99aa7075fec90ac5b32915ab.tar.gz emacs-fe72c8fa4e93465e99aa7075fec90ac5b32915ab.zip | |
nnmail.el (nnmail-article-group): Check for a direct fancy split method.
gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example.
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 12 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 2 |
4 files changed, 22 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 668d7ddfbaa..8e1bba700fd 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-01-30 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy | ||
| 4 | splitting example. | ||
| 5 | |||
| 1 | 2011-01-29 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-01-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (MAKEINFO): Remove options, leave only program name. | 8 | * makefile.w32-in (MAKEINFO): Remove options, leave only program name. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 463a1e0af55..26d54477bb4 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -14244,6 +14244,18 @@ The default is @samp{(%Deleted %Seen)}. | |||
| 14244 | 14244 | ||
| 14245 | @end table | 14245 | @end table |
| 14246 | 14246 | ||
| 14247 | Here's a complete example @code{nnimap} backend with a client-side | ||
| 14248 | ``fancy'' splitting method: | ||
| 14249 | |||
| 14250 | @example | ||
| 14251 | (nnimap "imap.example.com" | ||
| 14252 | (nnimap-inbox "INBOX") | ||
| 14253 | (nnimap-split-methods | ||
| 14254 | (| ("MailScanner-SpamCheck" "spam" "spam.detected") | ||
| 14255 | (to "foo@@bar.com" "foo") | ||
| 14256 | "undecided"))) | ||
| 14257 | @end example | ||
| 14258 | |||
| 14247 | 14259 | ||
| 14248 | @node Getting Mail | 14260 | @node Getting Mail |
| 14249 | @section Getting Mail | 14261 | @section Getting Mail |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a9efd57c5de..bfdda731d35 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-01-30 Lars Ingebrigtsen <larsi@gnus.org> | 1 | 2011-01-30 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * nnmail.el (nnmail-article-group): Check for a direct fancy split | ||
| 4 | method. | ||
| 5 | |||
| 3 | * nnimap.el (nnimap-request-head): Protect against not finding the | 6 | * nnimap.el (nnimap-request-head): Protect against not finding the |
| 4 | article by Message-ID. | 7 | article by Message-ID. |
| 5 | 8 | ||
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index f7498cdf159..a41a5d73344 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -1148,6 +1148,8 @@ FUNC will be called with the group name to determine the article number." | |||
| 1148 | (setq nnmail-split-trace nil)) | 1148 | (setq nnmail-split-trace nil)) |
| 1149 | (if (or (and (symbolp nnmail-split-methods) | 1149 | (if (or (and (symbolp nnmail-split-methods) |
| 1150 | (fboundp nnmail-split-methods)) | 1150 | (fboundp nnmail-split-methods)) |
| 1151 | (memq (car-safe nnmail-split-methods) | ||
| 1152 | '(| &)) | ||
| 1151 | (and (listp nnmail-split-methods) | 1153 | (and (listp nnmail-split-methods) |
| 1152 | ;; Not a regular split method, so it has to be a | 1154 | ;; Not a regular split method, so it has to be a |
| 1153 | ;; fancy one. | 1155 | ;; fancy one. |