Gnus development mailing list
 help / color / mirror / Atom feed
From: Paul Stevenson <p.stevenson@surrey.ac.uk>
Subject: Re: [Q] stripping banners at the start of messages
Date: 25 Sep 2000 15:41:59 +0100	[thread overview]
Message-ID: <i5k8zsgwn2g.lawbreaker@gromit.ph.surrey.ac.uk> (raw)
In-Reply-To: Steinar Bang's message of "23 Sep 2000 09:12:42 +0200"

Steinar Bang <sb@metis.no> writes:

> 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")


I'm having exactly the same problem (eGroups banner).  I can get rid
of one line okay (by customizing the group and putting 
-------------------------- eGroups Sponsor -------------------------~-~>\n
as the banner, but multiple-lines don't work.  Oddly, though, the code
in article-strip-banner which deletes the banner is

(while (re-search-forward banner nil t)
	      (delete-region (match-beginning 0) (match-end 0)))

and if I edit the article and eval this via M-: and the explicit
banner, it all goes.  Is there some way I should be escaping newlines
in the regexp?

-- 
. Paul Stevenson . Reasearch Fellow . University of Surrey .
I dream in beige



  parent reply	other threads:[~2000-09-25 14:41 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
2000-09-25 14:41 ` Paul Stevenson [this message]
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=i5k8zsgwn2g.lawbreaker@gromit.ph.surrey.ac.uk \
    --to=p.stevenson@surrey.ac.uk \
    /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).