From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: inhibit-modification-hooks set to t globally Date: Thu, 25 Sep 2014 13:14:46 +0200 Message-ID: <87iokc0x5l.fsf@geodiff-mac3.ulb.ac.be> References: <8761gd2ffo.fsf@geodiff-mac3.ulb.ac.be> <83egv0x155.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411643731 9997 80.91.229.3 (25 Sep 2014 11:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2014 11:15:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 13:15:24 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XX718-0006kC-UO for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 13:15:23 +0200 Original-Received: from localhost ([::1]:39617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX718-0007QO-FL for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2014 07:15:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX70l-0007EH-Kt for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 07:15:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX70e-0002oM-11 for help-gnu-emacs@gnu.org; Thu, 25 Sep 2014 07:14:59 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:15747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX70d-0002nS-Rb; Thu, 25 Sep 2014 07:14:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8KAEz4I1SkD4Xx/2dsb2JhbABghDi2KQEBAQEBAQacBAKBHwF7hAQBAQR5EAshJQ8BBEkTiCkBFK45jCwBh3cBF4YSgi2HXweESwEEpFiOIYNlOy+CSgEBAQ Original-Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 25 Sep 2014 13:14:45 +0200 In-Reply-To: <83egv0x155.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 24 Sep 2014 22:35:18 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100142 Archived-At: Eli Zaretskii writes: >> Any idea how I can find what caused inhibit-modification-hooks to be >> globally t ? > > This variable is defined in C, so a watchpoint with a suitable > condition (to avoid false positives of local bindings) should be > enough to catch the villain. 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 ? Thank you, -- Nicolas