[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escaping carets?

From: Björn Lindström
Subject: Re: Escaping carets?
Date: Wed, 01 Oct 2003 14:14:19 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Jesper Harder <address@hidden> writes:

>> (if (string-match "^nnfolder:" group)
>>     group
>>   "outgoing")
> You need a pair of parens wrapped around that.

That was just a part of the whole thing. The whole should look like this:

(setq gnus-message-archive-group '((if (equal group "")
                                       (if (message-news-p)
                                     (if (string-match "nnfolder:" group)

> What does string-match return when you insert the _full_ name of one
> of your nnfolder groups, e.g.
>       (string-match "^nnfolder:" "")

It returns 0, which I assume is what should happen.

Björn Lindström <address@hidden>

Download the new *Elektrubadur* demo from

reply via email to

[Prev in Thread] Current Thread [Next in Thread]