* concat-ed banners in group parameters
@ 2002-02-18 16:04 Andras BALI
2002-02-18 17:54 ` Paul Jarc
0 siblings, 1 reply; 2+ messages in thread
From: Andras BALI @ 2002-02-18 16:04 UTC (permalink / raw)
Hi.
I'd like to set the banner for a group in the groups parameters this
way:
(setq gnus-parameters
'(("foo\\.bar"
(banner . (concat
"^--\n"
"To UNSUBSCRIBE, email to debian[^ ]+@lists.debian.org\n"
"with a subject.*Trouble.*listmaster@lists.debian.org")))))
Reason: it's easier to read and I don't like very long lines.
Problem: gnus doesn't seem to "evaluate" the value of 'banner', ie. the
(concat) doesn't get executed. Thus, (gnus-parameter-banner) for this
group returns 'nil'.
Any solutions? It might be trivial, but lisp is all greek to me.
Thanks,
Andras
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: concat-ed banners in group parameters
2002-02-18 16:04 concat-ed banners in group parameters Andras BALI
@ 2002-02-18 17:54 ` Paul Jarc
0 siblings, 0 replies; 2+ messages in thread
From: Paul Jarc @ 2002-02-18 17:54 UTC (permalink / raw)
Andras BALI <drewie@bigfoot.com> wrote:
> (setq gnus-parameters
> '(("foo\\.bar"
> (banner . (concat
> "^--\n"
> "To UNSUBSCRIBE, email to debian[^ ]+@lists.debian.org\n"
> "with a subject.*Trouble.*listmaster@lists.debian.org")))))
(setq gnus-parameters
`(("foo\\.bar"
(banner . ,(concat
"^--\n"
"To UNSUBSCRIBE, email to debian[^ ]+@lists.debian.org\n"
"with a subject.*Trouble.*listmaster@lists.debian.org")))))
Note "`" and ",".
paul
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-18 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-18 16:04 concat-ed banners in group parameters Andras BALI
2002-02-18 17:54 ` Paul Jarc
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).