From: "Lennart Borgman" <lennart.borgman@gmail.com>
To: "Jason Rumney" <jasonr@gnu.org>
Cc: sand@blarg.net, emacs-devel@gnu.org
Subject: Re: nxml-mode uses wrong method to run 'nxml-mode-hook
Date: Mon, 16 Jun 2008 13:10:11 +0200 [thread overview]
Message-ID: <e01d8a50806160410m5f452cfbn71e60caa5eb76758@mail.gmail.com> (raw)
In-Reply-To: <4856331F.6040500@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
Maybe it would be good to mention run-mode-hooks or perhaps better link to
(info "(elisp) Mode Hooks") from (info "(elisp) Running Hooks")?
On 6/16/08, Jason Rumney <jasonr@gnu.org> wrote:
>
> sand@blarg.net wrote:
>
>> The bottom of the function 'nxml-mode' ("nxml/nxml-mode.el", line 554;
>> your mileage may vary) has
>>
>> (run-hooks 'nxml-mode-hook)
>>
>> It should use 'run-mode-hooks', because this is a major mode
>> definition. Can someone fix that?
>>
>> It looks like there are some other major modes with the same problem.
>> For example: terminal-mode, view-mode, remember-mode, erc, rmail,
>> rcirc. Most of the matches below are minor modes, though.
>>
>>
>
> The other major modes don't seem to be editing modes, and most of them have
> been in Emacs for a long time, so I am not sure if they should be changed,
> or if they have been left deliberately. But I have changed nxml-mode.
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1507 bytes --]
next prev parent reply other threads:[~2008-06-16 11:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-15 5:53 nxml-mode uses wrong method to run 'nxml-mode-hook sand
2008-06-16 9:32 ` Jason Rumney
2008-06-16 11:10 ` Lennart Borgman [this message]
2008-06-16 16:34 ` Stefan Monnier
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=e01d8a50806160410m5f452cfbn71e60caa5eb76758@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
--cc=sand@blarg.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.