[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:44:50 +0300 |
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Cc: help-gnu-emacs@gnu.org
> Date: Thu, 25 Sep 2014 17:32:15 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
> >> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> >> 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?
>
> (gdb) print Qt
> $3 = 4611686018569228176
Sorry, it's my fault: the watchpoint should be defined like this
instead:
(gdb) watch globals.f_inhibit_modification_hooks if
globals.f_inhibit_modification_hooks != false
(gdb) commands
> xbacktrace
> continue
> end
> > 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.
>
> Ok, I think I can do that and I will try that when I have some more
> time.
I think you will still need that with the watchpoint defined as above.
- inhibit-modification-hooks set to t globally, Nicolas Richard, 2014/09/24
- Re: inhibit-modification-hooks set to t globally, Eli Zaretskii, 2014/09/24
- Re: inhibit-modification-hooks set to t globally, Nicolas Richard, 2014/09/25
- Re: inhibit-modification-hooks set to t globally, Eli Zaretskii, 2014/09/25
- Re: inhibit-modification-hooks set to t globally, Nicolas Richard, 2014/09/25
- Re: inhibit-modification-hooks set to t globally, Eli Zaretskii, 2014/09/25
- Re: inhibit-modification-hooks set to t globally, Nicolas Richard, 2014/09/25
- Re: inhibit-modification-hooks set to t globally,
Eli Zaretskii <=
- Re: inhibit-modification-hooks set to t globally, Eli Zaretskii, 2014/09/25
- Message not available
- Re: inhibit-modification-hooks set to t globally, Stefan Monnier, 2014/09/25
- Re: inhibit-modification-hooks set to t globally, Eli Zaretskii, 2014/09/26