From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: inhibit-modification-hooks set to t globally Date: Wed, 24 Sep 2014 22:35:18 +0300 Message-ID: <83egv0x155.fsf@gnu.org> References: <8761gd2ffo.fsf@geodiff-mac3.ulb.ac.be> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1411587361 32504 80.91.229.3 (24 Sep 2014 19:36:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 19:36:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 21:35:54 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 1XWsLx-0001Ax-SE for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 21:35:53 +0200 Original-Received: from localhost ([::1]:33970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWsLx-0005xJ-G4 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 15:35:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWsLe-0005x3-3I for help-gnu-emacs@gnu.org; Wed, 24 Sep 2014 15:35:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWsLY-0004qN-25 for help-gnu-emacs@gnu.org; Wed, 24 Sep 2014 15:35:34 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWsLX-0004p1-Q9 for help-gnu-emacs@gnu.org; Wed, 24 Sep 2014 15:35:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NCF00C007DV2G00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Sep 2014 22:35:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCF00BAP7QWKC80@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 24 Sep 2014 22:35:21 +0300 (IDT) In-reply-to: <8761gd2ffo.fsf@geodiff-mac3.ulb.ac.be> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:100130 Archived-At: > From: Nicolas Richard > Date: Wed, 24 Sep 2014 17:42:19 +0200 > > It sometimes happen that my fontification doesn't work correctly > anymore. Until now I had never tried to understand why, and simply > restarted emacs. Now, I finally took a few minutes to understand : at > least this time, inhibit-modification-hooks was globally set to t. > Reverting that to nil fixed the problem. > > 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.