Gnus development mailing list
 help / color / mirror / Atom feed
* Load-time hooks (Re: Emphasis in *Article* buffer)
       [not found]       ` <s84rvjwx12.fsf_-_@lanber.cam.eu.citrix.com>
@ 2001-04-20 14:01         ` Karl Kleinpaste
  0 siblings, 0 replies; only message in thread
From: Karl Kleinpaste @ 2001-04-20 14:01 UTC (permalink / raw)


[ Courtesy, mailed copy of posted message (auto-generated). ]

In gnu.emacs.gnus, Toby Speight <streapadair@gmx.net> writes:
> (add-hook 'gnus-art-load-hook 'my-gnus-art-load-hook)

I was about to ask, "What is gnus-art-load-hook?"  But then I grep'd
for it in *.el, and there it is, at the very end of gnus-art.el.

At first, I thought it was named very badly.  All other
article-related hooks are named gnus-article-*-hook.  Then I realized
this isn't a normal article hook; there's a whole slew of these
per-file load-time hooks:

[1061] [09:51:46] cinnamon:~/Emacs/gnus/lisp> grep '^(run-hook' *.el
earcon.el:(run-hooks 'earcon-load-hook)
gnus-art.el:(run-hooks 'gnus-art-load-hook)
gnus-audio.el:(run-hooks 'gnus-audio-load-hook)
gnus-setup.el:(run-hooks 'gnus-setup-load-hook)
gnus-sum.el:(run-hooks 'gnus-sum-load-hook)
message.el:(run-hooks 'message-load-hook)
nnheader.el:(run-hooks 'nnheader-load-hook)
nnmail.el:(run-hooks 'nnmail-load-hook)

None of them are documented in the manual.  Hm.  "Naughty, naughty."


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-20 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <snj8y2nd.fsf@morpheus.demon.co.uk>
     [not found] ` <vxk8zl07cwt.fsf@cinnamon.vanillaknot.com>
     [not found]   ` <wwae5gq9dc.fsf@abraham.mi.uib.no>
     [not found]     ` <vaflmozzrux.fsf@lucy.cs.uni-dortmund.de>
     [not found]       ` <s84rvjwx12.fsf_-_@lanber.cam.eu.citrix.com>
2001-04-20 14:01         ` Load-time hooks (Re: Emphasis in *Article* buffer) Karl Kleinpaste

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