Gnus development mailing list
 help / color / mirror / Atom feed
From: Tommy Kelly <tommy.kelly@verilab.com>
To: ding@gnus.org
Subject: Head. Wall. Bang. (imap fancy splitting)
Date: Mon, 20 Dec 2010 17:57:59 -0600	[thread overview]
Message-ID: <m2sjxsc7zs.fsf@verilab.com> (raw)

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.




             reply	other threads:[~2010-12-20 23:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 23:57 Tommy Kelly [this message]
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

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=m2sjxsc7zs.fsf@verilab.com \
    --to=tommy.kelly@verilab.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).