emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-mode and mode hooks.


From: Luc Teirlinck
Subject: Re: org-mode and mode hooks.
Date: Wed, 25 May 2005 12:30:55 -0500 (CDT)

Stefan Monnier wrote:

   While I think that org-mode should use define-derived-mode, I'm wondering
   why it's a problem that after-change-major-mode-hook is run at the
   wrong time.  After all, such manual mode derivation (without using
   define-derived-mode) is pretty common, so if there's a problem with it, we
   should fix it.

I my previous reply to the last sentence, I forgot that we were
talking about timing and not about the actual running or not running.
But the fact that run-mode-hooks should be run _at the very end_ of a
mode has been documented ever since run-mode-hooks itself was documented.

In my replies on this issue, I was assuming that there was a problem
with org-mode as it is right now (which could only be that
after-change-major-mode-hook was not run), whereas on closer reading,
I see that the discussed problem would only occur after a change to
org-mode.

Sincerely,

Luc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]