[Top][All Lists]

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

Re: inhibit-modification-hooks set to t globally

From: Nicolas Richard
Subject: Re: inhibit-modification-hooks set to t globally
Date: Thu, 25 Sep 2014 17:16:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Nicolas Richard <address@hidden>
>> Cc: address@hidden
>> Date: Thu, 25 Sep 2014 13:14:46 +0200
>> By looking at the source, I managed to find that I should "watch
>> globals.f_inhibit_modification_hooks", but I could not find a way to set
>> up a condition with "watch". Also I don't know what the condition should
>> be. Can you guide me a little more ?
> Maybe the first thing to try is simply something like this:
>  (gdb) watch globals.f_inhibit_modification_hooks if 
> globals.f_inhibit_modification_hooks == Qt
>  (gdb) commands
>    > xbacktrace
>    > continue
>    > end

I tried these, but testing it with (setq inhibit-modification-hooks t)
did not give anything in the log file, so I suspect I won't ever catch

If I use
(gdb) watch globals.f_inhibit_modification_hooks
instead, then I get *a lot* of output in the log file. AFAICT, it's
mostly (if not always) because of signal_after_change or
signal_before_change which both issue "specbind
(Qinhibit_modification_hooks, Qt);" at some point.

Nicolas Richard

reply via email to

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