From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72476 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Any juicy outstanding Gnus bugs? Date: Sun, 03 Oct 2010 07:29:35 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd5jihn4.fsf@lifelogs.com> References: <87fwww1bht.fsf@lifelogs.com> <871v8cxud8.fsf@jumptrading.com> <87ocbgwc8u.fsf@lifelogs.com> <87iq1n8dtk.fsf@lifelogs.com> <87k4m3i19x.fsf@lifelogs.com> <87vd5kv3dl.fsf@hillenius.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286109016 13611 80.91.229.12 (3 Oct 2010 12:30:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 12:30:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20848@lists.math.uh.edu Sun Oct 03 14:30:15 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 1P2Nhk-0006hw-Fp for ding-account@gmane.org; Sun, 03 Oct 2010 14:30:12 +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 1P2NhQ-000842-0s; Sun, 03 Oct 2010 07:29:52 -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 1P2NhN-00083d-2J for ding@lists.math.uh.edu; Sun, 03 Oct 2010 07:29:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P2NhL-00066E-Q5 for ding@lists.math.uh.edu; Sun, 03 Oct 2010 07:29:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P2NhL-0006pA-00 for ; Sun, 03 Oct 2010 14:29:47 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2NhI-0006bg-LA for ding@gnus.org; Sun, 03 Oct 2010 14:29:44 +0200 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 14:29:44 +0200 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 14:29:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net 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:n0oNIRg1m0tMqcBFOoJHjEmI0PU= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72476 Archived-At: On Sat, 02 Oct 2010 20:47:02 +0200 Gijs Hillenius wrote: GH> On 30 Sep 2010, Ted Zlatanov wrote: GH> Then, I think I can read along with Ted's example, but I wonder about GH> this particular bit: >> (defun nnimap-courier-lifelogs-split-fancy () >> (let ((nnmail-split-fancy nnimap-courier-lifelogs-split-fancy) >> (spam-split-group "INBOX.spam")) >> (nnmail-split-fancy))) GH> I don't think this particular defun is needed for everyone using GH> nnmail-split-fancy, or? You need either a function for fancy splitting or (recently added) the fancy ruleset as the value of the `nnimap-split-methods' nnimap server parameter. If you only split one server, you can set `nnimap-split-methods' to `nnmail-split-fancy' (the function) and it will use `nnmail-split-fancy' (the variable). Yes, ELisp allows both variable and function with the same name. Since I have several servers with splitting, I have a function `nnimap-courier-lifelogs-split-fancy' and a variable with the same name. The function sets the `nnmail-split-fancy' variable to the value of the `nnimap-courier-lifelogs-split-fancy' variable and then runs the `nnmail-split-fancy' function. It also sets spam-split-group which I use. Sorry if this is confusing. I probably shouldn't have continued with the tradition of naming the fancy rules AND the function that sets them the same way. Ted