Gnus development mailing list
 help / color / mirror / Atom feed
* [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters?
@ 2000-09-10  0:25 Jari Aalto
  2000-09-28 11:18 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto @ 2000-09-10  0:25 UTC (permalink / raw)



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: <m3g0o9c5vq.fsf@tverd.astro.spbu.ru>
References: <87lmy34xks.fsf@metatron.tky.hut.fi> <vafzomjzd5m.fsf@lucy.cs.uni-dortmund.de>
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 --------------------




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters?
  2000-09-10  0:25 [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters? Jari Aalto
@ 2000-09-28 11:18 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2000-09-28 11:18 UTC (permalink / raw)
  Cc: ding

On 10 Sep 2000, Jari Aalto wrote:

> Just in case... For the record to the mailing list archive and that
> you don't forget to apply this!

Applied.  Please test.  (I don't use banners.)

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-28 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-10  0:25 [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters? Jari Aalto
2000-09-28 11:18 ` Kai Großjohann

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