Gnus development mailing list
 help / color / mirror / Atom feed
From: Jari Aalto <jari.aalto@poboxes.com>
Subject: [gnu.emacs.gnus] Re: Group parameter banner not inherited from topic parameters?
Date: 10 Sep 2000 03:25:11 +0300	[thread overview]
Message-ID: <wkk8clayag.fsf@blue.sea.net> (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 --------------------




             reply	other threads:[~2000-09-10  0:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-10  0:25 Jari Aalto [this message]
2000-09-28 11:18 ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wkk8clayag.fsf@blue.sea.net \
    --to=jari.aalto@poboxes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).