* nntp-prepare-post-hook in ~/.gnus
@ 2016-01-28 15:10 Andrzej A. Filip
0 siblings, 0 replies; 2+ messages in thread
From: Andrzej A. Filip @ 2016-01-28 15:10 UTC (permalink / raw)
To: info-gnus-english
How to add hook to nntp-prepare-post-hook in ~/.gnus?
Simple minded attempt below has no effect:
(add-hook 'nntp-prepare-post-hook 'my-nntp-rewrite)
* package emacs24 in Debian/testing
* gnus is started via gnus-unplugged
P.S. My current "fix for testing purposes" installs it from another hook.
--
A. Filip
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nntp-prepare-post-hook in ~/.gnus
[not found] <mailman.3069.1453993820.843.info-gnus-english@gnu.org>
@ 2016-02-07 4:13 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-07 4:13 UTC (permalink / raw)
To: Andrzej A. Filip; +Cc: info-gnus-english
"Andrzej A. Filip" <andrzej.filip@gmail.com> writes:
> How to add hook to nntp-prepare-post-hook in ~/.gnus?
> Simple minded attempt below has no effect:
>
> (add-hook 'nntp-prepare-post-hook 'my-nntp-rewrite)
>
> * package emacs24 in Debian/testing
> * gnus is started via gnus-unplugged
It's a server variable, so you have to set it in the server definition,
like
(setq gnus-select-method
'(nntp "" ... (nntp-prepare-post-hook my-nntp-rewrite)))
or similar.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-07 4:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 15:10 nntp-prepare-post-hook in ~/.gnus Andrzej A. Filip
[not found] <mailman.3069.1453993820.843.info-gnus-english@gnu.org>
2016-02-07 4:13 ` Lars Ingebrigtsen
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).