emacs-devel
[Top][All Lists]
Advanced

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

Re: Fundamental mode vs. special mode


From: Chong Yidong
Subject: Re: Fundamental mode vs. special mode
Date: Wed, 26 Oct 2011 09:11:53 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

>>>> Perhaps something like `first-hook-after-new-major-mode-hook'.
>>>
>>> Or 'first-after-change-major-mode-hook'?  I'd rather not have
>>> two 'hook's in the same name.
>>
>> Here's my best so far: `before-major-mode-hook' (after all, it's the
>> hook run before the major mode's).
>
> How about `new-major-mode-hook'?

I'd rather have something related to the existing hook names.  How about
`change-major-mode-after-body-hook'?  Then the sequence would be

  change-major-mode-hook
  <body>
  change-major-mode-after-body-hook
  <mode-hooks>
  after-change-major-mode-hook



reply via email to

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