all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: problem with font lock
Date: Tue, 19 Jan 2010 22:54:27 +0100	[thread overview]
Message-ID: <87my094v70.fsf@newton.homeunix.net> (raw)
In-Reply-To: jwvska7a1uc.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier@IRO.UMontreal.CA> 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.)

Thanks!
jao





  reply	other threads:[~2010-01-19 21:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15 12:14 problem with font lock Jose A. Ortega Ruiz
2010-01-15 14:19 ` Stefan Monnier
2010-01-19 21:54   ` Jose A. Ortega Ruiz [this message]
2010-01-15 14:43 ` Eli Zaretskii
2010-01-15 16:27   ` Jose A. Ortega Ruiz
2010-01-15 17:49     ` Stefan Monnier
2010-01-15 16:24 ` alin.s
2010-01-15 20:15   ` Jose A. Ortega Ruiz

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=87my094v70.fsf@newton.homeunix.net \
    --to=jao@gnu.org \
    --cc=emacs-devel@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.