From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79622 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: Re: Default action when splitting Date: Wed, 10 Aug 2011 01:27:10 +0200 Message-ID: <87bovynp2p.fsf@free.fr> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312933015 14337 80.91.229.12 (9 Aug 2011 23:36:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 23:36:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27918@lists.math.uh.edu Wed Aug 10 01:36:50 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 1Qqvqr-0004be-R1 for ding-account@gmane.org; Wed, 10 Aug 2011 01:36:50 +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 1QqvpO-0004Z9-8t; Tue, 09 Aug 2011 18:35:18 -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 1QqvpL-0004Yq-7K for ding@lists.math.uh.edu; Tue, 09 Aug 2011 18:35:15 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QqvpF-0008VM-FH for ding@lists.math.uh.edu; Tue, 09 Aug 2011 18:35:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QqvpC-0000mo-G2 for ding@gnus.org; Wed, 10 Aug 2011 01:35:06 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QqvpB-0003ze-P1 for ding@gnus.org; Wed, 10 Aug 2011 01:35:05 +0200 Original-Received: from rke75-3-82-229-182-158.fbx.proxad.net ([82.229.182.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2011 01:35:05 +0200 Original-Received: from j.cubizolles by rke75-3-82-229-182-158.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Aug 2011 01:35:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rke75-3-82-229-182-158.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:v/8vDGvC33R/n0Cv5xa0DDziRh0= X-Spam-Score: -5.7 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79622 Archived-At: Lars Magne Ingebrigtsen writes: > Vincent Beffara writes: > >> I am using fancy splitting in nnimap to split the messages in INBOX into >> various mailboxes, and I would like the messages matching no explicit >> rule to be left in INBOX. I am doing that by havinf a rule variable like >> >> (| (...) >> (...) >> (...) >> "INBOX") > > If you want to leave the messages in INBOX, just remove the default, and > they won't be moved around. Even with what you suggest, I can't get my fancy splitting rules to leave the unsplit messages in the INBOX folder of the IMAP server I'm using. They go to a "mail.misc" folder on the IMAP server, which is the (default I think) value of nnmail-split-fancy. My setup is copied from numerous examples given in this mailing list and I can't find what's wrong with it : ,---- | (setq gnus-secondary-select-methods | '( | (nnimap "free" | (nnimap-address "imap.free.fr") | (nnimap-authentificator "j.cubizolles") | (nnimap-authinfo-file "~/.authinfo") | (nnimap-inbox "INBOX") | (nnimap-split-predicate "UNDELETED UNSEEN") | (nnimap-split-methods | '(| (: gnus-registry-split-fancy-with-parent) | (: spam-split 'spam-use-bogofilter) | (any "\\b\\(\\w+\\)@.*bretagne.*" "ml.ups.\\1") | (any ".*ups-\\b\\(\\w+\\)@listes\\.prepas\\.org" "ml.ups.\\1") | ("gnus-warning" "duplicat\\(e\\|ion\\) of message" "duplicate") | ))) | (nntp "news.free.fr") | (nntp "news.gmane.org") | ) | ) `---- By the way, I tried replacing : ,---- | (nnimap-split-predicate "UNDELETED UNSEEN") `---- with ,---- | (nnimap-unsplittable-articles '(%Deleted %Seen)) `---- as I read somewhere that's how it should be done now but it doesn't seem to work : all the INBOX folder is split. Julien.