From: Toby Speight <streapadair@gmx.net>
Subject: Re: Defining multiple banners for a mail group.
Date: 19 Jun 2002 21:20:46 +0100 [thread overview]
Message-ID: <s8znxrqau9.fsf@suilven.cam.eu.citrix.com> (raw)
In-Reply-To: <microsoft-free.x44rfzx6p3.fsf@eicq.dnsalias.org>
0> In article <microsoft-free.x44rfzx6p3.fsf@eicq.dnsalias.org>,
0> Steve Youngs <URL:mailto:youngs@xemacs.org> ("SY") wrote:
SY> I want to do something like...
SY>
SY> (setq gnus-article-banner-alist
SY> '((banner-1 . "regexp-1")
SY> (banner-2 . "regexp-2")))
SY>
SY> (setq gnus-parameters
SY> '(("group1"
SY> (banner . banner-1))
SY> ("group2"
SY> (banner . (concat banner-1 "\\|" banner-2)))))
SY>
SY> But I can't get it to work. Anybody got any ideas?
(setq gnus-article-banner-alist
(let* ((b1 "regexp-1")
(b2 "regexp-2"))
(list (cons 'banner-1 b1)
(cons 'banner-2 b2)
(cons 'banner-1-2 (concat b1 "\\|" b2)))))
(setq gnus-parameters
'(("group1"
(banner . banner-1))
("group2"
(banner . banner-1-2))))
IIRC, the `banner' parameter value must be a symbol.
next prev parent reply other threads:[~2002-06-19 20:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-19 3:56 Steve Youngs
2002-06-19 20:20 ` Toby Speight [this message]
2002-06-23 7:01 ` Steve Youngs
2002-06-20 16:37 ` Paul Jarc
2002-06-23 6:58 ` Steve Youngs
2002-06-24 18:35 ` Paul Jarc
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=s8znxrqau9.fsf@suilven.cam.eu.citrix.com \
--to=streapadair@gmx.net \
/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).