Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@charcoal.com>
Subject: Load-time hooks (Re: Emphasis in *Article* buffer)
Date: 20 Apr 2001 10:01:35 -0400	[thread overview]
Message-ID: <vxkae5bpt4w.fsf_-_@cinnamon.vanillaknot.com> (raw)
In-Reply-To: <s84rvjwx12.fsf_-_@lanber.cam.eu.citrix.com> (Toby Speight's message of "20 Apr 2001 13:55:37 +0100")

[ 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."


           reply	other threads:[~2001-04-20 14:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <s84rvjwx12.fsf_-_@lanber.cam.eu.citrix.com>]

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=vxkae5bpt4w.fsf_-_@cinnamon.vanillaknot.com \
    --to=karl@charcoal.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).