From: Aric <aorchid@mac.com>
To: ding@gnus.org
Subject: Re: Moving Split Rules from Gnus 5.13 to NoGnus (IMAP) Not Working
Date: Tue, 11 Jan 2011 23:11:48 +0000 (UTC) [thread overview]
Message-ID: <loom.20110112T000759-744@post.gmane.org> (raw)
In-Reply-To: <m3fwszmf3f.fsf@quimbies.gnus.org>
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:
>
> Aric <aorchid <at> 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 <bla bla>)
>
> (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
next prev parent reply other threads:[~2011-01-11 23:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 17:38 Aric
2011-01-08 19:49 ` Alberto Luaces
2011-01-08 21:11 ` Richard Riley
2011-01-10 21:25 ` Aric
2011-01-11 19:10 ` Lars Magne Ingebrigtsen
2011-01-11 23:11 ` Aric [this message]
2011-01-20 20:46 ` Aric
2011-01-21 13:43 ` Michael Welsh Duggan
2011-01-21 17:02 ` Richard Riley
2011-01-21 17:25 ` Michael Welsh Duggan
2011-01-21 20:11 ` Aric
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110112T000759-744@post.gmane.org \
--to=aorchid@mac.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).