info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Banner Washing


From: Glyn Millington
Subject: Re: Banner Washing
Date: Sat, 02 Oct 2010 18:15:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Gary" <gnus@garydjones.name> writes:

> Alberto Luaces wrote:
>
>> "Gary" writes:
>>
>>> Is there some way of specifying "from this point on until the end
>>> of
>> the
>>> article"? I don't want to have to specify every single line of the
>>> entire block I want to remove.
>> Are you looking for `message-kill-to-signature' (C-c C-z) while
>> composing the reply in message mode?
>
> I don't think so. What I am interested in is
> http://www.emacswiki.org/emacs/GnusAdBannerWashing

Well to set up that example as an alist you would do something like this in
your .gnus file.  I guess the fine art in this is to construct a regular
expression which will catch the banners you are tryng to kill off.

[Trying again - word wrap did something to my last effort]


(set gnus-article-address-banner-alist

    '(("@yahoo\\.com" . "^__________________+\nDo you Yahoo!\\?\n.*\n.*\n")

    ("@hotmail\\.com\\|@msn.com" . 
"^_________________________________________________________________\n.*MSN 
.*\n.*\n")

    ("@netscape\\.net" . 
"^__________________________________________________________________\n.*Netscape
 Network.*\n.*\n.*\n\n.*AOL Instant Messenger.*\n.*\n")))

atb

Glyn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]