Gnus development mailing list
 help / color / mirror / Atom feed
From: Emerick Rogul <emerick@csa.bu.edu>
Subject: Re: [Q] stripping banners at the start of messages
Date: 23 Sep 2000 07:55:55 -0400	[thread overview]
Message-ID: <vuo66nnwcdw.fsf@csa.bu.edu> (raw)
In-Reply-To: <whg0mr7f9x.fsf@viffer.computas.no>

Steinar Bang writes:

: Platform: Gnus v5.8.8 (CVS checkout), XEmacs 20.4, linux
: Some mailing lists have started putting those annoying banners at the
: start of the messages instead of at the end.

: I have tried getting rid of banners like this:

: -------------------------- eGroups Sponsor -------------------------~-~>
: Tired of searching for an apartment?  Try Viva!  It's fast and free.
: Now serving Dallas, Houston, Austin, Phoenix, Denver and Las Vegas.
: Rent by September 30th - get $100 cash!
: http://click.egroups.com/1/9154/16/_/461700/_/968288860/
---------------------------------------------------------------------_-: 

: with the following setting in the group parameters of the mail group
: handling the list:

:  (banner . "\n-------------------------- eGroups Sponsor -------------------------~-~>\n.*\n.*\n.*\n.*\n---------------------------------------------------------------------_->\n")

: Is it me who has gotten the syntax of the banner setting wrong?  Or
: doesn't banner suppresion work on banners not at the end of the
: messages? 

I use the "banner" setting to get rid of the eGroups Sponsor messages
too, and it seems to work fine whether they're at the beginning or end
of the message.  Be aware that eGroups periodically changes the format
of the message (how annoying...), so you may need to tweak it every
once in a while.  I distinctly remember that when they moved it to the
top they also changed the format a little, which tricked me into
thinking that "banner" wouldn't work if it wasn't at the end of a
message.

Try building your banner up line by line instead of all at once,
too.  You may see an error in your regex.  Here's the regex I use for
my eGroups group:

(banner . "^--------------------------------------------------------------------<e|-\n\\(.\\|\n\\)*--------------------------------------------------------------------|e>-\n"))

-Emerick
-- 
-------------------------------------------------------------------------
Emerick Rogul        /\/  "i wouldn't want to live in a world that had
emerick@cs.bu.edu    /\/   seen my genitalia. you've got no trump card."
-------------------------------------------------------- janeane garofalo



  reply	other threads:[~2000-09-23 11:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-23  7:12 Steinar Bang
2000-09-23 11:55 ` Emerick Rogul [this message]
2000-09-25 14:41 ` Paul Stevenson
2000-09-25 15:25   ` Kai Großjohann
     [not found]     ` <wtnr9688p2v.fsf@licia.dtek.chalmers.se>
2000-09-26  9:35       ` Paul Stevenson
     [not found]         ` <wtnk8bzl12k.fsf@licia.dtek.chalmers.se>
2000-09-26 14:01           ` Paul Stevenson
     [not found]             ` <wtn66nji4ff.fsf@licia.dtek.chalmers.se>
2000-09-26 15:05               ` Paul Stevenson
2000-09-26 15:20           ` Kai Großjohann
2000-10-02 17:50             ` Toby Speight
     [not found]   ` <wtn66nko6zl.fsf@licia.dtek.chalmers.se>
2000-09-25 20:03     ` Matt Pharr
2000-09-25 22:14       ` Kai Großjohann
2000-09-25 22:24       ` Steve Harris
2000-09-26  8:39         ` Paul Stevenson
2000-09-26  9:14           ` Kai Großjohann
2000-10-02 17:48   ` Toby Speight
2000-10-02 18:52     ` ShengHuo ZHU
2000-10-03  9:37     ` Paul Stevenson

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=vuo66nnwcdw.fsf@csa.bu.edu \
    --to=emerick@csa.bu.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).