Add nnimap-split-fancy.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 30 Sep 2010 19:45:47 +0000 (21:45 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 30 Sep 2010 19:45:47 +0000 (21:45 +0200)
lisp/ChangeLog
lisp/nnimap.el
texi/ChangeLog
texi/gnus.texi

index affc2f8..4f387cc 100644 (file)
@@ -2,6 +2,8 @@
 
        * nnimap.el (nnimap-find-article-by-message-id): Really return the
        article number.
+       (nnimap-split-fancy): New variable.
+       (nnimap-split-incoming-mail): Use it.
 
        * nntp.el (nntp-server-list-active-group): Document.
 
index 8aad3ea..f3e4e7b 100644 (file)
@@ -70,6 +70,9 @@ Values are `ssl', `network', `starttls' or `shell'.")
   "How mail is split.
 Uses the same syntax as nnmail-split-methods")
 
+(defvoo nnimap-split-fancy nil
+  "Uses the same syntax as nnmail-split-fancy.")
+
 (make-obsolete-variable 'nnimap-split-rule "see `nnimap-split-methods'"
                        "Emacs 24.1")
 
@@ -1303,6 +1306,8 @@ textual parts.")
          (nnmail-split-methods (if (eq nnimap-split-methods 'default)
                                    nnmail-split-methods
                                  nnimap-split-methods))
+         (nnmail-split-fancy (or nnimap-split-fancy
+                                 nnmail-split-fancy))
          (nnmail-inhibit-default-split-group t)
          (groups (nnimap-get-groups))
          new-articles)
index 844a092..5eae251 100644 (file)
@@ -3,6 +3,7 @@
        * gnus.texi (Mail Source Specifiers): Remove webmail.el mentions.
        (NNTP): Document nntp-server-list-active-group.  Suggested by Barry
        Fishman.
+       (Client-Side IMAP Splitting): Add nnimap-split-fancy.
 
 2010-09-30  Julien Danjou  <julien@danjou.info>
 
index b1c1058..f357126 100644 (file)
@@ -14912,6 +14912,9 @@ Uses the same syntax as @code{nnmail-split-methods} (@pxref{Splitting
 Mail}), except the symbol @code{default}, which means that it should
 use the value of the @code{nnmail-split-methods} variable.
 
+@item nnimap-split-fancy
+Uses the same syntax as @code{nnmail-split-fancy}.
+
 @end table