Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <md5i@md5i.com>
To: ding@gnus.org
Subject: Re: Moving Split Rules from Gnus 5.13 to NoGnus (IMAP) Not Working
Date: Fri, 21 Jan 2011 12:25:20 -0500	[thread overview]
Message-ID: <877hdyqidb.fsf@maru.md5i.com> (raw)
In-Reply-To: <kek4hyur5h.fsf@news.eternal-september.org> (Richard Riley's message of "Fri, 21 Jan 2011 18:02:02 +0100")

Richard Riley <rileyrg@googlemail.com> writes:

> Michael Welsh Duggan <md5i@md5i.com> writes:
>
>> Aric <aorchid@mac.com> writes:
>>
>>> I'm certainly missing something here. I have kept trying, but it just
>>> fails to work.
>>>
>>> (setq gnus-secondary-select-methods
>>>       '(
>>> 	(nnimap "One"
>>> 		(nnimap-address "address")
>>> 		(nnimap-stream ssl)
>>> 		(nnimap-inbox "INBOX")
>>> 		(nnimap-expunge-on-close t)
>>> 		(nnimap-split-methods nnimap-split-fancy)
>>> 		(nnimap-split-predicate "UNDELETED")
>>> 		(nnimap-split-crosspost nil))
>>> etc more servers
>>> (setq  nnimap-split-inbox "INBOX"
>>>        nnimap-split-fancy ;;      
>>>        '(|                                ;; (2)
>>>          (: gnus-registry-split-fancy-with-parent) ;; (3)
>>>          ;; splitting rules go here       ;; (4)
>>> 	 (any "promed-digest@promedmail.org" "PROMED")
>>> etc
>>
>> nnimap-split-fancy no longer exists as a function.  It was always a
>> fairly unnecessary duplication of nnmail-split-fancy.  If you change
>> both instances of nnimap-split-fancy above to nnmail-split-fancy,
>> things
>
> nnimap-split-fancy does exist surely? Or it has in the examples given
> here.

I guess technically it does still exist as a variable.  Based on my
reading of the code in nnimap-split-incoming-mail, you need not change
the nnimap-split-fancy variable.  But you do need to change the value of
nnimap-split-methods to nnmail-split-fancy, rather than
nnimap-split-fancy.

-- 
Michael Welsh Duggan
(md5i@md5i.com)



  reply	other threads:[~2011-01-21 17:25 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
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 [this message]
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=877hdyqidb.fsf@maru.md5i.com \
    --to=md5i@md5i.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).