From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75671 Path: news.gmane.org!not-for-mail From: Aric Newsgroups: gmane.emacs.gnus.general Subject: Re: Moving Split Rules from Gnus 5.13 to NoGnus (IMAP) Not Working Date: Tue, 11 Jan 2011 23:11:48 +0000 (UTC) Message-ID: References: <87wrmfch0h.fsf@eps142.cdf.udc.es> <24ipxzje1z.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294787538 14139 80.91.229.12 (11 Jan 2011 23:12:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 23:12:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24022@lists.math.uh.edu Wed Jan 12 00:12:14 2011 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 1PcnNt-0000PE-Qv for ding-account@gmane.org; Wed, 12 Jan 2011 00:12: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 1PcnNm-0000ZO-Ec; Tue, 11 Jan 2011 17:12:06 -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 1PcnNl-0000ZJ-GU for ding@lists.math.uh.edu; Tue, 11 Jan 2011 17:12:05 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PcnNg-0007p0-K3 for ding@lists.math.uh.edu; Tue, 11 Jan 2011 17:12:05 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PcnNf-0008EK-Tv for ding@gnus.org; Wed, 12 Jan 2011 00:11:59 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PcnNf-0000Gj-IL for ding@gnus.org; Wed, 12 Jan 2011 00:11:59 +0100 Original-Received: from 149.142.103.17 ([149.142.103.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jan 2011 00:11:59 +0100 Original-Received: from aorchid by 149.142.103.17 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jan 2011 00:11:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 76 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 149.142.103.17 (Opera/9.80 (X11; FreeBSD 8.1-RELEASE amd64; U; en) Presto/2.6.30 Version/10.63) X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75671 Archived-At: Lars Magne Ingebrigtsen gnus.org> writes: > > Aric mac.com> writes: > > > (setq nnimap-split-methods 'default) > > (setq nnimap-split-download-body t) > > (setq nnimap-split-predicate "UNDELETED") > > (setq nnimap-split-crosspost nil) > > Etc. These are all server slots, not variables, so you can't set them > that way. > > The way to do it is, for instance: > > (setq nnmail-split-methods ) > > (setq gnus-secondary-select-methods > `((nnimap "hermes.netfonds.no" > (nnimap-inbox "INBOX") > (nnimap-split-methods ,nnmail-split-methods)))) > OK. I now have the following, which I think follows your suggestions) and I still get no splitting. (setq nnmail-split-fancy-match-partial-words t) (setq nnmail-cache-accepted-message-ids t) (setq nnmail-split-methods '( ("One" ("INBOX" nnimap-split-fancy)) ("Two" ("INBOX" nnimap-split-fancy)) ("Three" ("INBOX" nnimap-split-fancy)) ("Four" ("INBOX" nnimap-split-fancy)) ) nnimap-split-fancy ;; '(| (: gnus-registry-split-fancy-with-parent) (any "promed-digest@promedmail.org" "PROMED") (any "zfs-discuss-request@opensolaris.org" "SunSupport") (any "ggplot2" "RList") (from "Roxanne" "Trash") etc.... "INBOX")) (setq gnus-secondary-select-methods '( (nnimap "One" (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge-on-close t) (nnimap-split-predicate "UNDELETED") (nnimap-split-crosspost nil)) (nnimap "Two" (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge-on-close t) (nnimap-split-predicate "UNDELETED") (nnimap-split-crosspost nil)) (nnimap "Three" (remove-prefix "INBOX.") (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge-on-close t) (nnimap-split-predicate "UNDELETED") (nnimap-split-crosspost nil)) (nnimap "Four" (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge-on-close t) (nnimap-split-predicate "UNDELETED") (nnimap-split-crosspost nil)) )) Thanks for any further ideas. Aric