Gnus development mailing list
 help / color / mirror / Atom feed
From: Steve Youngs <youngs@xemacs.org>
Subject: Defining multiple banners for a mail group.
Date: Wed, 19 Jun 2002 13:56:08 +1000	[thread overview]
Message-ID: <microsoft-free.x44rfzx6p3.fsf@eicq.dnsalias.org> (raw)

Hi Folks!

So many mailing lists these days have [un]subscription info or
advertising tacked onto the end of every message... Thank God for the
'banner' parameter. :-)

Unfortunately, I'm starting to see mailing lists with multiple bits of
this type of thing.  So '(banner . signature)' doesn't work because
that only removes the last signature in a message.

I could...

(setq gnus-article-banner-alist
      '((big-banner . "regexp-1\\|regexp-2")))

(setq gnus-parameters
      '(("group\\(1\\|2\\)"
         (banner . big-banner))))

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?


-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs@xemacs.org>---|




             reply	other threads:[~2002-06-19  3:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19  3:56 Steve Youngs [this message]
2002-06-19 20:20 ` Toby Speight
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=microsoft-free.x44rfzx6p3.fsf@eicq.dnsalias.org \
    --to=youngs@xemacs.org \
    /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).