Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: calling gnus-article-fill-cited-article only for a given group
Date: Mon, 30 Oct 2006 10:25:05 +0100	[thread overview]
Message-ID: <v9zmbe17gu.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <yoijk62i65y5.fsf@gamma02.me.chalmers.se>

On Mon, Oct 30 2006, Johan Bockgård wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>
>> You need to make the hook buffer local and set it as follows in
>> `gnus-posting-styles':
>>
>>      (add-hook (make-local-variable 'gnus-message-setup-hook)
>> 	       'rs-message-insert-in-reply-to)))
>
> ,----[ C-h f make-local-variable RET ]
> | [...]
> |
> | Do not use `make-local-variable' to make a hook variable buffer-local.
> | Instead, use `add-hook' and specify t for the LOCAL argument.
> `----

Thanks for the correction.  Originally I used `add-to-list', which
shouldn't be used on hooks, IIRC.

Using...

    (eval (add-hook 'gnus-message-setup-hook
		    'rs-message-insert-in-reply-to nil t))

... in posting styles doesn't work.

Beside that, I now realize that `gnus-posting-styles' doesn't make
sense for the original problem (filling the article).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




      reply	other threads:[~2006-10-30  9:25 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
2006-10-29 23:46   ` Johan Bockgård
2006-10-30  9:25     ` Reiner Steib [this message]

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=v9zmbe17gu.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).