Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: ding@gnus.org
Subject: Re: gnus request scan issue : backtrace
Date: Tue, 5 Oct 2010 17:26:08 +0200	[thread overview]
Message-ID: <AANLkTi=7z0qh4L0tVL+Ci_JQEgZqv8FSYDaK10WdcA3j@mail.gmail.com> (raw)
In-Reply-To: <87y6aclmgc.fsf@lifelogs.com>

2010/10/5 Ted Zlatanov <tzz@lifelogs.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".
>

Doing that results in

nnmail-check-duplication: Wrong type argument: listp, nnimap-split-fancy


>
> Ted
>
>


> Ted
>
>
>



  reply	other threads:[~2010-10-05 15:26 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
2010-10-05 15:26   ` Richard Riley [this message]
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='AANLkTi=7z0qh4L0tVL+Ci_JQEgZqv8FSYDaK10WdcA3j@mail.gmail.com' \
    --to=rileyrg@googlemail.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).