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

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

Re: inhibit-modification-hooks set to t globally


From: Eli Zaretskii
Subject: Re: inhibit-modification-hooks set to t globally
Date: Thu, 25 Sep 2014 18:27:14 +0300

> From: Nicolas Richard <address@hidden>
> Cc: address@hidden
> Date: Thu, 25 Sep 2014 17:16:54 +0200
> 
> 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
> anything.

What does "print Qt" produce in that build?

> 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.

You could put a breakpoint at entry to specbind with commands to
disable the watchpoint, and another one at exit from the function to
re-enable it.



reply via email to

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