all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: inhibit-modification-hooks set to t globally
Date: Wed, 24 Sep 2014 13:14:21 -0400	[thread overview]
Message-ID: <jwvsijh54ek.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.9489.1411573361.1147.help-gnu-emacs@gnu.org

> 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


       reply	other threads:[~2014-09-24 17:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.9489.1411573361.1147.help-gnu-emacs@gnu.org>
2014-09-24 17:14 ` Stefan Monnier [this message]
2014-09-25 10:55   ` inhibit-modification-hooks set to t globally Nicolas Richard
2014-09-24 15:42 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
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

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=jwvsijh54ek.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.