From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: inhibit-modification-hooks set to t globally Date: Wed, 24 Sep 2014 13:14:21 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411578961 18023 80.91.229.3 (24 Sep 2014 17:16:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 17:16: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 19:15: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 1XWqAT-00008Q-3Z for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 19:15:53 +0200 Original-Received: from localhost ([::1]:33162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWqAS-0003AU-LV for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Sep 2014 13:15:52 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed0.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: mx05.eternal-september.org; posting-host="859141ea9eb1a019f117bea5df485629"; logging-data="30942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QCXH4DKBz/siA1bv8nPzC" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:FVyy1QM1Q6rUzAkm+PI36Y9xzcA= sha1:RbCASPQEbK8BnEHZYxfQGWstSB8= Original-Xref: usenet.stanford.edu gnu.emacs.help:207853 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:100128 Archived-At: > 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 ? My best guess is that an error happened while inhibit-modification-hooks was let-bound, and that error dropped you in the debugger, and you did not exit from the debugger (you just kept on editing instead). I.e. when this happens, check your mode line. If the mode looks like "[(Foo Bar)]" instead of "(Foo Bar)", then it's probably what's going on, or something related. Stefan