From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: inhibit-modification-hooks set to t globally
Date: Thu, 25 Sep 2014 18:27:14 +0300 [thread overview]
Message-ID: <83ppejvhyl.fsf@gnu.org> (raw)
In-Reply-To: <87y4t7zq55.fsf@geodiff-mac3.ulb.ac.be>
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Cc: help-gnu-emacs@gnu.org
> 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.
next prev parent reply other threads:[~2014-09-25 15:27 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
2014-09-25 15:27 ` Eli Zaretskii [this message]
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=83ppejvhyl.fsf@gnu.org \
--to=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.