From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32389 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.gnus.general Subject: [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters? Date: 10 Sep 2000 03:25:11 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035168666 19454 80.91.224.250 (21 Oct 2002 02:51:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:51:06 +0000 (UTC) Keywords: banner,spbu,aug,parameters,news,tverd,saunalahti,parameter 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 D6814D051E for ; Mon, 11 Sep 2000 13:38:47 -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 MAC03456; Mon, 11 Sep 2000 12:36:47 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 11 Sep 2000 12:36:00 -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 MAA07320 for ; Mon, 11 Sep 2000 12:35:38 -0500 (CDT) Original-Received: from vasta.saunalahti.fi (mail.sci.fi [195.197.53.226]) by mailhost.sclp.com (Postfix) with ESMTP id C4A91D051E for ; Mon, 11 Sep 2000 13:35:40 -0400 (EDT) Original-Received: from poboxes.com (MXLII.hdyn.saunalahti.fi [195.197.6.142]) by vasta.saunalahti.fi (8.10.1/8.10.1) with ESMTP id e8BHZj929116 for ; Mon, 11 Sep 2000 20:35:46 +0300 (EEST) Original-To: ding@gnus.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 (i386-*-windows98.1998) Original-Lines: 78 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32389 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32389 Just in case... For the record to the mailing list archive and that you don't forget to apply this! Jari -------------------- Start of forwarded message -------------------- Path: uutiset.saunalahti.fi!newsfeeds.saunalahti.fi!news.clinet.fi!news.cs.hut.fi!newsfeed2.funet.fi!newsfeed1.funet.fi!newsfeeds.funet.fi!skynet.be!newsfeed.gamma.ru!Gamma.RU!news1.spb.su!news.ptc.spbu.ru!not-for-mail From: elkin@tverd.astro.spbu.ru Newsgroups: gnu.emacs.gnus Subject: Re: Group parameter banner not inherited from topic parameters? Date: 13 Aug 2000 23:34:17 +0400 Organization: St.Petersburg University Message-ID: References: <87lmy34xks.fsf@metatron.tky.hut.fi> NNTP-Posting-Host: tverd.astro.spbu.ru X-Trace: news.spbu.ru 966195296 5469 195.19.250.250 (13 Aug 2000 19:34:56 GMT) X-Complaints-To: staff@ptc.spbu.ru NNTP-Posting-Date: 13 Aug 2000 19:34:56 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 > It would be desirable if group parameters were inherited from topic > parameters for all parameters where this makes sense. IMHO, it makes > sense for the banner parameter. > > So, if it ain't a bug, it's a missing feature. > kai > -- Excuse me, if this message will have appeared as a duplicate. I just repeat my yesterday's attempt to post a solution (from another server): Inheritance isnt possible because of `article-strip-banner' function used `gnus-group-get-parameter' instead of `gnus-group-find-parameter'. After substitution the last one `banner' have been inherited (at least for me). My patch (to gnus-5.8.6) *** gnus-art.el.old Sun Aug 13 00:39:59 2000 --- gnus-art.el Sun Aug 13 23:20:55 2000 *************** *** 1600,1606 **** (save-excursion (save-restriction (let ((inhibit-point-motion-hooks t) ! (banner (gnus-group-get-parameter gnus-newsgroup-name 'banner)) (gnus-signature-limit nil) buffer-read-only beg end) (when banner --- 1600,1606 ---- (save-excursion (save-restriction (let ((inhibit-point-motion-hooks t) ! (banner (gnus-group-find-parameter gnus-newsgroup-name 'banner)) (gnus-signature-limit nil) buffer-read-only beg end) (when banner ______________ Andrei.Elkin P.S Maybe there're some russian gnusers that will be wanted for debannering `citycat.ru' mailing lists. My group parameter for this: ((to-address . "namma@citycat.ru") (broken-reply-to . t) (banner . "\n+\\(^ Служба Рассылок Городского Кота / CityCat's E-mail Service\n-[*]--------------------------------------------------------------------------\n\\)\\(^.*\n\\)*\\(^------------------------------------------------------------------------[+][+]-\\)\n")) -------------------- End of forwarded message --------------------