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

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

Font lock in comments messed up.


From: Kim F. Storm
Subject: Font lock in comments messed up.
Date: Sat, 13 Nov 2004 02:51:33 +0100 (CET)

For the last few days, font lock in C and lisp code doesn't seem to
recognize comments correctly anymore...  Anybody else seeing this?

emacs -Q

M-x global-font-lock-mode RET

C-x C-f xdisp.c


Window contains (without the line numbers):

 1 /* Display generation from window structure and buffer text.
 2    Copyright (C) 1985,86,87,88,93,94,95,97,98,99,2000,01,02,03,04
 3    Free Software Foundation, Inc.
 4  
 5 This file is part of GNU Emacs.
 6  
 7 GNU Emacs is free software; you can redistribute it and/or modify
 8 it under the terms of the GNU General Public License as published by
 9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11  
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16  
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING.  If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */

Lines 1-13 are fontified in the comment face, but the rest is mostly in 
the default faces, but e.g. 'for' in line 15 is in keyword face, and
'the file' in line 18 is in type face and 'COPYING' is in
variable-name face.



In GNU Emacs 21.3.50.63 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-11-12 on kfs-l.imdomain.dk
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure 'CFLAGS=-DUSE_LSB_TAGS=1 -g -Wall''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t


--
Kim F. Storm  http://www.cua.dk





reply via email to

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