From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32678 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: [Q] stripping banners at the start of messages Date: 02 Oct 2000 18:48:22 +0100 Organization: Citrix Systems Sender: owner-ding@hpc.uh.edu Message-ID: <874s2vt9qx.fsf@delivery.cam.eu.citrix.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168922 21135 80.91.224.250 (21 Oct 2002 02:55:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:55:22 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 579C8D051E for ; Mon, 2 Oct 2000 13:53:12 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAC07682; Mon, 2 Oct 2000 12:49:16 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 02 Oct 2000 12:48:28 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA06517 for ; Mon, 2 Oct 2000 12:48:15 -0500 (CDT) Original-Received: from citrix-hq.citrix.com (unknown [12.8.192.29]) by mailhost.sclp.com (Postfix) with SMTP id A9825D051E for ; Mon, 2 Oct 2000 13:48:39 -0400 (EDT) Original-Received: from [10.9.1.142] by citrix-hq.citrix.com via smtpd (for 71-209.196.61.interliant.com [209.196.61.71]) with SMTP; 2 Oct 2000 17:48:39 UT Original-Received: from 10.9.1.111 by hqvwall01.citrix.com (InterScan E-Mail VirusWall NT); Mon, 02 Oct 2000 13:48:32 -0400 (Eastern Daylight Time) Original-Received: by hqexchcon01.citrix.com with Internet Mail Service (5.5.2650.21) id ; Mon, 2 Oct 2000 13:48:34 -0400 Original-Received: from delivery.cam.eu.citrix.com ([10.70.128.47]) by hwexch01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id SZAK6527; Mon, 2 Oct 2000 18:48:23 +0100 Original-To: The Gnus Mailing List Original-Lines: 23 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 X-Face: wqk-$Z5Z In article , 0> Paul Stevenson ("Paul") wrote: Paul> I'm having exactly the same problem (eGroups banner). Mine looks like (banner . "^[ \n]*-------------------+\\( eGroups Sponsor -+\\)?....\n\\([^-\n].*\n+\\)+-------------------+....[ \n]*\n\\|^To unsubscribe from .*\n.*unsubscribe@egroups.com\n*") But I think I could simplify it by noticing that the ad banner contains no empty lines and is followed by an empty line (IOW, it is delimited by \n\n): (banner . "^[ \n]*-------------------+\\( eGroups Sponsor -+\\)?....\n\\(.+\n\\)+\n*\\|^To unsubscribe from .*\n.*unsubscribe@egroups.com\n*") Something I'd really like to see is per-article banners based on headers such as author or Received, to strip out some of those annoying company disclaimers, in addition to per-group banners for mailing lists etc. (And maybe it would let me specify egroups banner in one place only, instead of having to change each groups parameters every time they change it - the groups don't have a common parent topic).