Gnus development mailing list
 help / color / mirror / Atom feed
* Head. Wall. Bang. (imap fancy splitting)
@ 2010-12-20 23:57 Tommy Kelly
  2010-12-21  1:14 ` Michael Welsh Duggan
  0 siblings, 1 reply; 7+ messages in thread
From: Tommy Kelly @ 2010-12-20 23:57 UTC (permalink / raw)
  To: ding

I'm trying to get even a simple fancy split going, so I can build up my
understanding from there. But I can't even do that. I'm trying this
simple split:

(| "TEST-GROUP")

My understanding is, that will shove everything into group
TEST-GROUP. Yes? Here's how I'm using it:

(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 nnimap-split-fancy)
		(nnimap-split-fancy (| "TEST-GROUP"))
	)
      )

I've also tried numerous combinations of:

(nnimap-split-methods 'nnimap-split-fancy)
(nnimap-split-methods "nnimap-split-fancy")

(nnimap-split-fancy '(| "TEST-GROUP"))
(nnimap-split-fancy ("TEST-GROUP"))
(nnimap-split-fancy "TEST-GROUP")
and even things like
(nnimap-split-fancy "(| \"TEST-GROUP\"))" and other such nonsense.

They all end up with backtraces, rough variations on:

Debugger entered--Lisp error: (wrong-type-argument listp nnimap-split-fancy)
  nnmail-article-group(nnimap-dummy-active-number nil nnimap-save-mail-spec)
  nnmail-check-duplication("<b459383cc64455a42e76ee18aaa86234@localhost.localdomain>" nnimap-save-mail-spec nnimap-dummy-active-number nnimap-save-mail-spec)
  nnmail-process-mmdf-mail-format(nnimap-save-mail-spec nnimap-dummy-active-number nnimap-save-mail-spec)
  nnmail-split-incoming(#<buffer *nnimap imap.gmail.com 993  *nntpd**> nnimap-save-mail-spec nil nil nnimap-dummy-active-number nnimap-save-mail-spec)
  nnimap-split-incoming-mail()
  ...


Could anyone please show me the correct syntax for this simple fancy (if that's
not an oxymoron) split?

thanks,
Tommy

P.S. I've tried it outside the select method stanza too, using setq, but
it's equally ineffective.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-21 15:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 23:57 Head. Wall. Bang. (imap fancy splitting) Tommy Kelly
2010-12-21  1:14 ` Michael Welsh Duggan
2010-12-21  1:38   ` Tommy Kelly
2010-12-21  3:49     ` Tommy Kelly
2010-12-21 11:24       ` Richard Riley
2010-12-21 15:26         ` Tommy Kelly
2010-12-21 11:20   ` Richard Riley

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).