Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: Defining multiple banners for a mail group.
Date: Thu, 20 Jun 2002 12:37:06 -0400	[thread overview]
Message-ID: <m3hejxnbxz.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <microsoft-free.x44rfzx6p3.fsf@eicq.dnsalias.org> (Steve Youngs's message of "Wed, 19 Jun 2002 13:56:08 +1000")

Steve Youngs <youngs@xemacs.org> wrote:
> But I want to do something like...
>
> (setq gnus-article-banner-alist
>       '((banner-1 . "regexp-1")
>         (banner-2 . "regexp-2")))
>
> (setq gnus-parameters
>       '(("group1"
>          (banner . banner-1))
>         ("group2"
>          (banner . (concat banner-1 "\\|" banner-2)))))
>
> But I can't get it to work.  Anybody got any ideas?

Use normal variables instead of gnus-article-banner-alist entries, and
use `, in gnus-parameters.
(setq my-banner-1 "regexp-1"
      my-banner-2 "regexp-2"
      gnus-parameters
      `(("group1"
         (banner . ,my-banner-1))
        ("group2"
         (banner . ,(concat my-banner-1 "\\|" my-banner-2)))))


paul



  parent reply	other threads:[~2002-06-20 16:37 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
2002-06-23  7:01   ` Steve Youngs
2002-06-20 16:37 ` Paul Jarc [this message]
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=m3hejxnbxz.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).