From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: inhibit-modification-hooks set to t globally
Date: Thu, 25 Sep 2014 17:16:54 +0200 [thread overview]
Message-ID: <87y4t7zq55.fsf@geodiff-mac3.ulb.ac.be> (raw)
In-Reply-To: <83y4t7vntu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 25 Sep 2014 16:20:29 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
>> Cc: help-gnu-emacs@gnu.org
>> 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
anything.
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
next prev parent reply other threads:[~2014-09-25 15:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-24 15:42 inhibit-modification-hooks set to t globally Nicolas Richard
2014-09-24 19:35 ` Eli Zaretskii
2014-09-25 11:14 ` Nicolas Richard
2014-09-25 13:20 ` Eli Zaretskii
2014-09-25 15:16 ` Nicolas Richard [this message]
2014-09-25 15:27 ` Eli Zaretskii
2014-09-25 15:32 ` Nicolas Richard
2014-09-25 15:44 ` Eli Zaretskii
2014-09-25 15:57 ` Eli Zaretskii
[not found] ` <mailman.9594.1411651250.1147.help-gnu-emacs@gnu.org>
2014-09-25 21:06 ` Stefan Monnier
2014-09-26 6:50 ` Eli Zaretskii
[not found] <mailman.9489.1411573361.1147.help-gnu-emacs@gnu.org>
2014-09-24 17:14 ` Stefan Monnier
2014-09-25 10:55 ` Nicolas Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4t7zq55.fsf@geodiff-mac3.ulb.ac.be \
--to=theonewiththeevillook@yahoo.fr \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.