help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: post-self-insert-hook being reset?


From: Phillip Lord
Subject: Re: post-self-insert-hook being reset?
Date: Thu, 18 Jun 2015 16:51:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> There are a class of hooks (post-command-hook, after-change-functions)
>> that nil themselves on error.
>
> Actually, these have been refined since to only remove the offending
> function rather than set themselves straight to nil.
> And they emit a warning when that happens.


Oh, that's interesting. I've been so used to dealing with this in my
packages, that I hadn't seen that change.


>> I guess post-self-insert-hook  is one of these.
>
> That was a good guess, but:
>
>    src/cmds.c:  run_hook (Qpost_self_insert_hook);
>
> so, no, it's run "in the normal way".  'Must be something else.


Ah, my fantastic guess bought to the grounds by cruel reality.

Phil



reply via email to

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