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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel