unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: emacs-devel@gnu.org, ding@gnus.org
Subject: Re: run-hooks vs. run-mode-hooks.
Date: Fri, 27 May 2005 12:32:15 +0900	[thread overview]
Message-ID: <b9ywtpl9we8.fsf@jpl.org> (raw)
In-Reply-To: 87hdgp4fa1.fsf@xs4all.nl

>>>>> In <87hdgp4fa1.fsf@xs4all.nl> Lute Kamstra wrote:

>> Is it possible to use run-hooks in those Emacs versions?

> Maybe Gnus can do something like:

> (or (fboundp 'run-mode-hooks)
>     (defalias 'run-mode-hooks 'run-hooks))

> I saw that most hooks are run with gnus-run-hooks, which calls
> run-hooks.  Maybe you can also define a gnus-run-mode-hooks that uses
> run-mode-hooks instead and use that function for Gnus' major modes?

I've added gnus-run-mode-hooks to both the Gnus trunk and the
v5-10 branch (synch'd with the Emacs trunk).  Thank you for the
good suggestion.



  reply	other threads:[~2005-05-27  3:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25 12:28 run-hooks vs. run-mode-hooks Lute Kamstra
2005-05-26  5:59 ` Richard Stallman
2005-05-27  0:58   ` Katsumi Yamaoka
2005-05-27  1:40     ` Lute Kamstra
2005-05-27  3:32       ` Katsumi Yamaoka [this message]
2005-05-27  8:01       ` Juanma Barranquero
2005-05-27 16:07         ` Stefan Monnier
2005-05-27 16:45           ` Drew Adams
2005-05-27 23:37           ` Juanma Barranquero
2005-05-27 14:20     ` Richard Stallman
2005-05-27 15:12       ` Lute Kamstra
2005-05-27 21:43         ` Miles Bader
2005-05-27 23:48         ` Katsumi Yamaoka
2005-05-30  6:45           ` Katsumi Yamaoka
2005-05-31  4:17             ` Richard Stallman
2005-05-28 11:52         ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9ywtpl9we8.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).