[gnus git] branch master updated: =2= (Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example. ; (nnmail-article-group): Check for a direct fancy split method.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b3663509ac689da87915bf60903ec45ad39bc4b5 (commit)
       via  c64a780e184fae83e185b2c9aa9d33227b9996fd (commit)
      from  6c800216a08473b13d0aec5c8c0d530e25cd159f (commit)


- Log -----------------------------------------------------------------
commit b3663509ac689da87915bf60903ec45ad39bc4b5
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sat Jan 29 18:42:51 2011 -0800

    (Client-Side IMAP Splitting): Add a complete nnimap fancy splitting example.

diff --git a/texi/ChangeLog b/texi/ChangeLog
index 3178115..5229398 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-30  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy
+	splitting example.
+
 2011-01-26  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus.texi (Article Date): Document gnus-article-update-lapsed-header.
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 1b65014..5f81c38 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -14244,6 +14244,18 @@ The default is @samp{(%Deleted %Seen)}.
 
 @end table
 
+Here's a complete example @code{nnimap} backend with a client-side
+``fancy'' splitting method:
+
+@example
+(nnimap "imap.example.com"
+        (nnimap-inbox "INBOX")
+        (nnimap-split-methods
+         (| ("MailScanner-SpamCheck" "spam" "spam.detected")
+            (to "foo@@bar.com" "foo")
+            "undecided")))
+@end example
+
 
 @node Getting Mail
 @section Getting Mail

commit c64a780e184fae83e185b2c9aa9d33227b9996fd
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sat Jan 29 18:38:16 2011 -0800

    (nnmail-article-group): Check for a direct fancy split method.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06730f4..3c37dc9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-01-30  Lars Ingebrigtsen  <[email protected]>
 
+	* nnmail.el (nnmail-article-group): Check for a direct fancy split
+	method.
+
 	* nnimap.el (nnimap-request-head): Protect against not finding the
 	article by Message-ID.
 
diff --git a/lisp/nnmail.el b/lisp/nnmail.el
index f7498cd..a41a5d7 100644
--- a/lisp/nnmail.el
+++ b/lisp/nnmail.el
@@ -1148,6 +1148,8 @@ FUNC will be called with the group name to determine the article number."
 	  (setq nnmail-split-trace nil))
 	(if (or (and (symbolp nnmail-split-methods)
 		     (fboundp nnmail-split-methods))
+		(memq (car-safe nnmail-split-methods)
+		      '(| &))
 		(and (listp nnmail-split-methods)
 		     ;; Not a regular split method, so it has to be a
 		     ;; fancy one.

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    3 +++
 lisp/nnmail.el |    2 ++
 texi/ChangeLog |    5 +++++
 texi/gnus.texi |   12 ++++++++++++
 4 files changed, 22 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.