From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75348 Path: news.gmane.org!not-for-mail From: Tommy Kelly Newsgroups: gmane.emacs.gnus.general Subject: Re: Head. Wall. Bang. (imap fancy splitting) Date: Mon, 20 Dec 2010 19:38:48 -0600 Message-ID: References: <87k4j4exl5.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292895558 14739 80.91.229.12 (21 Dec 2010 01:39:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 01:39:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23700@lists.math.uh.edu Tue Dec 21 02:39: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 1PUrC6-00005y-JB for ding-account@gmane.org; Tue, 21 Dec 2010 02:39:14 +0100 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 1PUrC0-0006Ux-EK; Mon, 20 Dec 2010 19:39:08 -0600 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 1PUrBz-0006Ug-2c for ding@lists.math.uh.edu; Mon, 20 Dec 2010 19:39:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PUrBx-000568-QR for ding@lists.math.uh.edu; Mon, 20 Dec 2010 19:39:06 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PUrBx-000541-2w for ding@gnus.org; Tue, 21 Dec 2010 02:39:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PUrBt-0008VG-1I for ding@gnus.org; Tue, 21 Dec 2010 02:39:01 +0100 Original-Received: from cpe-70-112-150-104.austin.res.rr.com ([70.112.150.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 02:39:01 +0100 Original-Received: from tommy.kelly by cpe-70-112-150-104.austin.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 02:39:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-70-112-150-104.austin.res.rr.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin) Cancel-Lock: sha1:kMPmxYqmpazJ/Q8qrZLcumkYMiA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75348 Archived-At: Michael Welsh Duggan writes: > Try changing to: > (setq gnus-secondary-select-methods > '((nnimap "work" > (nnimap-address "imap.gmail.com") > (nnimap-stream ssl) > (nnimap-server-port 993) > (nnimap-inbox "INBOX") > (nnimap-split-methods nnmail-split-fancy)))) > (setq nnmail-split-fancy '(| "TEST-GROUP")) OK, excellent, now we're getting somewhere. Thanks! Now I notice you used (and I copied you) "nnmail-split-fancy" instead of "nnimap-split-fancy". Is that because the precise name of that is arbitrary? Could I call it "fiendishly-difficult-thing-to-grasp"? If so that would answer my next question which is, how do I have different fancy split methods for different servers, in the case (like mine in reality) where there are multiple secondary select methods. Is it OK to have: (setq gnus-secondary-select-methods '( (nnimap "work" ... (nnimap-split-methods nnmail-split-fancy-work) ) (nnimap "home" ... (nnimap-split-methods nnmail-split-fancy-home) ) (nnimap "faff" ... (nnimap-split-methods nnmail-split-fancy-faff) ) ) ) (setq nnmail-split-fancy-work '(| "TEST-GROUP")) (setq nnmail-split-fancy-home '(| "TEST-GROUP")) ;; where this is a different TEST-GROUP from the above (setq nnmail-split-fancy-faff '(| "TEST-GROUP-FAFF")) Tommy