[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with font lock

From: Jose A. Ortega Ruiz
Subject: Re: problem with font lock
Date: Tue, 19 Jan 2010 22:54:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Once it's done it's too late.  But you can (setq font-lock-support-mode
> nil) in your .emacs and then try to reproduce the problem.  This should
> (well, may) give you a usable error message right when the
> problem appears.

Although setting font-lock-support-mode to nil (and debug-on-error
active) didn't trigger an error, i think i've located the origin of the
problem. i have a little DSL for specifying faces for custom themes, and
i was setting one of the faces to a non-sensical value (concretely, the
face was fringe, and i was setting its :foreground to a list specifiying
a full face, instead of just a color or similar). upon correcting the
face specification and re-enabling my custom theme, the buffers that had
lost their real-time fontification recovered it instantaneously. maybe
someone privy to font-lock will understand why a bogus face
specification would have such a global effect. (BTW, the problem was
also occurring in emacs 23.1.1.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]