From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72323 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Any juicy outstanding Gnus bugs? Date: Thu, 30 Sep 2010 12:34:02 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87k4m3i19x.fsf@lifelogs.com> References: <87fwww1bht.fsf@lifelogs.com> <871v8cxud8.fsf@jumptrading.com> <87ocbgwc8u.fsf@lifelogs.com> <87iq1n8dtk.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285868075 11125 80.91.229.12 (30 Sep 2010 17:34:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 17:34:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20696@lists.math.uh.edu Thu Sep 30 19:34:34 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 1P1N1e-0002RN-KN for ding-account@gmane.org; Thu, 30 Sep 2010 19:34:34 +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 1P1N1W-0005GD-Mw; Thu, 30 Sep 2010 12:34:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1N1U-0005Fs-PR for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:34:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1N1H-0000IX-79 for ding@lists.math.uh.edu; Thu, 30 Sep 2010 12:34:24 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1N1G-0001vm-00 for ; Thu, 30 Sep 2010 19:34:10 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1N1G-0002Jt-BA for ding@gnus.org; Thu, 30 Sep 2010 19:34:10 +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 ; Thu, 30 Sep 2010 19:34:10 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 19:34:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 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:lKXMCuenY7Pln5SpGRvPx7Y3uAM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72323 Archived-At: On Thu, 30 Sep 2010 18:52:39 +0200 Lars Magne Ingebrigtsen wrote: LMI> As you point out, the nnimap-split-methods documentation doesn't really LMI> explain any of this, but that's by design. It's the same syntax as the LMI> nnmail variable, so it'd be superfluous, especially with such a LMI> grotesquely complex variable as that... OK. So for the entertainment of future generations, here's my working setup. First of all, the server definition: (nnimap "lifelogs.com" (nnimap-address "imap.lifelogs.com") (nnimap-server-port 993) (nnimap-logout-timeout 1) (nnimap-inbox "INBOX") (nnimap-split-methods nnimap-courier-lifelogs-split-fancy) (nnimap-stream ssl)) And then the fancy split function: (defun nnimap-courier-lifelogs-split-fancy () (let ((nnmail-split-fancy nnimap-courier-lifelogs-split-fancy) (spam-split-group "INBOX.spam")) (nnmail-split-fancy))) (setq nnimap-courier-lifelogs-split-fancy '(| (: gnus-registry-split-fancy-with-parent) (: spam-split 'spam-use-regex-headers) ;;; ... boring rules skipped ... (: spam-split) ;; default mailbox "INBOX.mail")) This seems to work. Maybe it would be a good example for the manual? Ted