From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14101 Path: news.gmane.org!not-for-mail From: Glyn Millington Newsgroups: gmane.emacs.gnus.user Subject: Re: Banner Washing Date: Sat, 02 Oct 2010 18:15:17 +0100 Organization: Utterly lacking Message-ID: <87tyl41pfz.fsf@nowhere.org> References: <838w2hdmx9.fsf@garydjones.name> <877hi1nd6u.fsf@eps142.cdf.udc.es> <83tyl4syq6.fsf@garydjones.name> Reply-To: wistanswick@linuxmail.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286041352 26597 80.91.229.12 (2 Oct 2010 17:42:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 17:42:32 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Oct 02 19:42:30 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P265L-0002Dm-SD for gegu-info-gnus-english@m.gmane.org; Sat, 02 Oct 2010 19:42:29 +0200 Original-Received: from localhost ([127.0.0.1]:38395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P263f-00021n-3E for gegu-info-gnus-english@m.gmane.org; Sat, 02 Oct 2010 13:39:39 -0400 Original-Received: from [140.186.70.92] (port=42152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2625-0000fK-05 for info-gnus-english@gnu.org; Sat, 02 Oct 2010 13:39:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P261U-0007Dc-Jy for info-gnus-english@gnu.org; Sat, 02 Oct 2010 13:37:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:58464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P261U-0007DY-Bp for info-gnus-english@gnu.org; Sat, 02 Oct 2010 13:37:24 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P261S-0001em-7Y for info-gnus-english@gnu.org; Sat, 02 Oct 2010 19:37:22 +0200 Original-Received: from 82.152.120.109 ([82.152.120.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 19:37:22 +0200 Original-Received: from wistanswick by 82.152.120.109 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 19:37:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82.152.120.109 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-From-Line: nobody Sat Oct 2 18:15:17 2010 X-Liturgical-Date: Memorial: The Guardian Angels, A.D. 2010 Cancel-Lock: sha1:ukynj7u8U3PywjAbP23CgAvteOg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14101 Archived-At: "Gary" 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