Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Cook <michael@waxrat.com>
Subject: Re: calling gnus-article-fill-cited-article only for a given group
Date: Sun, 29 Oct 2006 16:08:10 -0500	[thread overview]
Message-ID: <m364e2u8xx.fsf@pigpen.waxrat.com> (raw)
In-Reply-To: <v9iri23l12.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 29 Oct 2006 21:49:13 +0100")

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Sun, Oct 29 2006, Michael Cook wrote:
>
>> For a given group (and only that group), I want
>> gnus-article-fill-cited-article invoked when displaying articles.
>> What's the right way to get that to happen?
>>
>> I think I want to do
>>
>>   (add-hook 'gnus-article-prepare-hook 'gnus-article-fill-cited-article))
>>
>> but how do I get that to be in effect only for a given group.
>
> Setting `gnus-treat-fill-article' to t for that group (via
> `gnus-parameters' or `G c') should have the same effect?

Yes, that seems to do it.

>> In particular, after I leave this group,
>> gnus-article-fill-cited-article should no longer be on
>> gnus-article-prepare-hook.
>
> You need to make the hook buffer local and set it as follows in
> `gnus-posting-styles':
>
>    ("gmane\\.network\\.leafnode"
>     (eval
>      (add-hook (make-local-variable 'gnus-message-setup-hook)
> 	       'rs-message-insert-in-reply-to)))

That doesn't seem to be necessary, I think.

Anyhow, thanks!




  reply	other threads:[~2006-10-29 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29 19:41 Michael Cook
2006-10-29 20:49 ` Reiner Steib
2006-10-29 21:08   ` Michael Cook [this message]
2006-10-29 23:46   ` Johan Bockgård
2006-10-30  9:25     ` Reiner Steib

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=m364e2u8xx.fsf@pigpen.waxrat.com \
    --to=michael@waxrat.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).