[gnus git] branch master updated: m0-3-100-gc9fc02c =2= Note that `nnimap-inbox' can be a list ; Allow several IMAP inboxes

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  c9fc02cb819fd258578bdf439b806a511f793e6d (commit)
       via  08f0aef5376ea79e44de232503c5a3159fc2350d (commit)
      from  6910044663bc77081e08faabd6385cd34a9c8f5d (commit)


- Log -----------------------------------------------------------------
commit c9fc02cb819fd258578bdf439b806a511f793e6d
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Mar 22 21:29:40 2012 +0100

    Note that `nnimap-inbox' can be a list

diff --git a/GNUS-NEWS b/GNUS-NEWS
index 8645500..c5fca9d 100644
--- a/GNUS-NEWS
+++ b/GNUS-NEWS
@@ -34,6 +34,8 @@ For older news, see Gnus info node "New Features".
    application/octet-stream with a name of "rms.jpg" will be displayed
    as an image/jpeg type by default, for instance.
    
+** `nnimap-inbox' can now be a list of mail box names.
+   
 * For older news, see Gnus info node "New Features".
 
 ----------------------------------------------------------------------
diff --git a/texi/ChangeLog b/texi/ChangeLog
index b4cf8eb..90ac704 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-22  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus.texi (Client-Side IMAP Splitting): Note that `nnimap-inbox' now
+	can be a list.
+
 2012-03-14  Christopher Schmidt  <[email protected]>
 
 	* gnus.texi (Archived Messages): Mention gnus-gcc-pre-body-encode-hook
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 390abf4..6d5c21f 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -14235,7 +14235,8 @@ variables are relevant:
 
 @table @code
 @item nnimap-inbox
-This is the @acronym{IMAP} mail box that will be scanned for new mail.
+This is the @acronym{IMAP} mail box that will be scanned for new
+mail.  This can also be a list of mail box names.
 
 @item nnimap-split-methods
 Uses the same syntax as @code{nnmail-split-methods} (@pxref{Splitting

commit 08f0aef5376ea79e44de232503c5a3159fc2350d
Author: Sergio Martínez <[email protected]>
Date:   Thu Mar 22 21:28:31 2012 +0100

    Allow several IMAP inboxes
    
    * nnimap.el (nnimap-request-scan): Allow `nnimap-inbox' to be a list of
    inboxes.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e8eb826..7fdc86c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-22  Sergio Martínez  <[email protected]>  (tiny change)
+
+	* nnimap.el (nnimap-request-scan): Allow `nnimap-inbox' to be a list of
+	inboxes.
+
 2012-03-22  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* nnimap.el (nnimap-fetch-partial-articles): Minor doc string fixup.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index f326f13..e94a98e 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -82,7 +82,8 @@ back on `network'.")
 
 (defvoo nnimap-inbox nil
   "The mail box where incoming mail arrives and should be split out of.
-For example, \"INBOX\".")
+This can be a string or a list of strings
+For example, \"INBOX\" or (\"INBOX\" \"SENT\").")
 
 (defvoo nnimap-split-methods nil
   "How mail is split.
@@ -1007,7 +1008,10 @@ textual parts.")
 	     nnimap-inbox
 	     nnimap-split-methods)
     (nnheader-message 7 "nnimap %s splitting mail..." server)
-    (nnimap-split-incoming-mail)
+    (if (listp nnimap-inbox)
+       (dolist (nnimap-inbox nnimap-inbox)
+         (nnimap-split-incoming-mail))
+      (nnimap-split-incoming-mail))
     (nnheader-message 7 "nnimap %s splitting mail...done" server)))
 
 (defun nnimap-marks-to-flags (marks)

-----------------------------------------------------------------------
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:
 GNUS-NEWS      |    2 ++
 lisp/ChangeLog |    5 +++++
 lisp/nnimap.el |    8 ++++++--
 texi/ChangeLog |    7 ++++++-
 texi/gnus.texi |    3 ++-
 5 files changed, 21 insertions(+), 4 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.