From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72134 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: nnimap splitting (was: Any juicy outstanding Gnus bugs?) Date: Tue, 28 Sep 2010 14:11:55 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6al1y4k.fsf_-_@lifelogs.com> References: <87fwww1bht.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285701169 2245 80.91.229.12 (28 Sep 2010 19:12:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2010 19:12:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20507@lists.math.uh.edu Tue Sep 28 21:12:48 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0fbc-0002AT-6k for ding-account@gmane.org; Tue, 28 Sep 2010 21:12:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P0fb1-0004wY-To; Tue, 28 Sep 2010 14:12:11 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P0faz-0004wJ-I3 for ding@lists.math.uh.edu; Tue, 28 Sep 2010 14:12:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P0fav-0001GW-7I for ding@lists.math.uh.edu; Tue, 28 Sep 2010 14:12:09 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P0fau-0003Ej-00 for ; Tue, 28 Sep 2010 21:12:04 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0fat-0001ue-I0 for ding@gnus.org; Tue, 28 Sep 2010 21:12:03 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Sep 2010 21:12:03 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Sep 2010 21:12:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:MW5I0BGAeuQdS0Gg1NJDjahcpko= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72134 Archived-At: On Sun, 26 Sep 2010 22:46:28 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> nnimap splitting? Or is that moved somewhere else? LMI> You need to set nnimap-inbox and stuff to get splitting again... see LMI> the manual for details. (Yes! I actually documented this yesterday. LMI> :-)) I don't see anything about `nnimap-inbox' in the manual, only a mention in the news file. IMO `nnimap-inbox' should default to "INBOX" instead of nil since that's always available on an IMAP server and splitting is enabled only if `nnimap-split-methods' is set. So it's harmless to set it to "INBOX". I noticed that the `nnimap-split-rule' is no longer consulted. The related functions from the old nnimap were `nnimap-assoc-match' and `nnimap-split-find-rule' plus a few others. Is there a reason you don't want those checked, or have they simply not been a priority? I can bring `nnimap-split-rule' back but wanted to find out first. For reference, here's the defcustom declaration: :type '(choice :tag "Rule type" (repeat :menu-tag "Single-server" :tag "Single-server list" (list (string :tag "Mailbox") (choice :tag "Predicate" (regexp :tag "A regexp") (nnimap-strict-function :tag "A function")))) (choice :menu-tag "A function" :tag "A function" (function-item nnimap-split-fancy) (function-item nnmail-split-fancy) (nnimap-strict-function :tag "User-defined function")) (repeat :menu-tag "Multi-server (extended)" :tag "Multi-server list" (list (regexp :tag "Server regexp") (list (regexp :tag "Incoming Mailbox regexp") (repeat :tag "Rules for matching server(s) and mailbox(es)" (list (string :tag "Destination mailbox") (choice :tag "Predicate" (regexp :tag "A Regexp") (nnimap-strict-function :tag "A Function")))))))) Thanks Ted