From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Escaping carets?
Date: Thu, 02 Oct 2003 01:51:28 +0200 [thread overview]
Message-ID: <m3ad8k1pq7.fsf@defun.localdomain> (raw)
In-Reply-To: 877k3pkvdw.fsf@lucien.dreaming
bkhl@elektrubadur.se (Björn Lindström) writes:
> 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)
> "outgoing"
> "misc")
> (if (string-match "nnfolder:" group)
> group
> "outgoing")
> "outgoing")))
But this will never return the group name -- unless `group' is the
empty string it will always return "outgoing",
(let ((group "nnfolder:foo.bar"))
(if (equal group "")
(if (message-news-p)
"outgoing"
"misc")
(if (string-match "nnfolder:" group)
group
"outgoing")
"outgoing"))
=> "outgoing"
You need to remove the last "outgoing".
next prev parent reply other threads:[~2003-10-01 23:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-29 18:32 Escaping carets? Björn Lindström
2003-10-01 1:30 ` Jesper Harder
2003-10-01 12:14 ` Björn Lindström
2003-10-01 23:51 ` Jesper Harder [this message]
2003-10-02 0:06 ` Björn Lindström
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ad8k1pq7.fsf@defun.localdomain \
--to=harder@myrealbox.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).