emacs-pretest-bug
[Top][All Lists]
Advanced

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

Incorrect faces on display


From: Stefan Monnier
Subject: Incorrect faces on display
Date: Thu, 09 Dec 2004 17:15:31 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

I started seeing recently problems where elisp code gets displayed with the
font-lock-comment-face even though it's not a comment.

This always shows up right after an invisible piece of text (I use
outline-minor-mode in elisp).

I first thought it was some funny bug in font-lock or jit-lock, but a quick
C-u C-x = shows that the text-properties are correct: the problem is in
the redisplay.

I finally came up with a recipe to reproduce it:

   emacs -Q -f global-font-lock-mode -f outline-minor-mode

   (; RET a RET (foobar C-u 1000 M-x hide-sublevels

If all goes well, you'll see that the second line displays "(foobar" using
font-lock-comment-face.


        Stefan




reply via email to

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