From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: gnus request scan issue : backtrace
Date: Tue, 05 Oct 2010 09:54:11 -0500 [thread overview]
Message-ID: <87y6aclmgc.fsf@lifelogs.com> (raw)
In-Reply-To: <AANLkTinOOvdqHc8GrqMCtyr-MEHW3VYZx5rfKOQd-2WX@mail.gmail.com>
On Tue, 5 Oct 2010 16:23:38 +0200 Richard Riley <rileyrg@googlemail.com> wrote:
RR> trying to localise spam splitting to only my main imap server I
RR> modified my imap select method to this:-
RR> (setq nnimap-split-fancy (quote (: spam-split)))
RR> (add-to-list 'gnus-secondary-select-methods
RR> `(nnimap "riley"
RR> (nnimap-address "offlineimap")
RR> (nnir-search-engine imap)
RR> (nnimap-stream network)
RR> (nnimap-split-methods (quote nnimap-split-fancy))
RR> ))
(This is a very common confusion when you're learning ELisp. It took me
a while too.)
(quote x) and 'x are usually the same thing in ELisp. You don't want to
quote inside a quoted expression:
(setq nnimap-split-fancy (quote (: spam-split)))
(add-to-list 'gnus-secondary-select-methods
`(nnimap "riley"
(nnimap-address "offlineimap")
(nnir-search-engine imap)
(nnimap-stream network)
(nnimap-split-methods nnimap-split-fancy)
))
What you had before was "set the nnimap-split-method to the list of the
symbol 'quote followed by the symbol 'nnimap-split-fancy".
Ted
next prev parent reply other threads:[~2010-10-05 14:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-05 14:23 Richard Riley
2010-10-05 14:54 ` Ted Zlatanov [this message]
2010-10-05 15:26 ` Richard Riley
2010-10-05 15:41 ` Ted Zlatanov
2010-10-05 15:49 ` Richard Riley
2010-10-05 17:16 ` Lars Magne Ingebrigtsen
2010-10-05 17:31 ` Ted Zlatanov
2010-10-05 18:21 ` Tibor Simko
2010-10-06 10:09 ` Richard Riley
2010-10-05 18:47 ` Andreas Schwab
2010-10-05 19:25 ` Ted Zlatanov
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=87y6aclmgc.fsf@lifelogs.com \
--to=tzz@lifelogs.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).