[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font lock problem in C mode
From: |
Stephen Eglen |
Subject: |
font lock problem in C mode |
Date: |
Fri, 15 Jun 2007 18:26:27 +0100 |
Put the following C comment into a file, called e.g. "s.c"
/**
* Simple comment.
*/
and then do:
$emacs -q s2.c
The comment is fontified as a "string", rather than a "comment". If I
delete the 2nd asterisk on the first line, the font switches correctly
to be fontified as a comment.
Stephen
In GNU Emacs 22.1.1 (i686-pc-linux-gnu, X toolkit)
of 2007-06-03 on notch.damtp.cam.ac.uk
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--prefix=/home/raid/bio/sje30/NOBACKUP/local''
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: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
abbrev-mode: t
Recent input:
<right> C-e <left> C-d C-x u C-x C-s M-x r e p o r
t SPC e m SPC b SPC <return>
Recent messages:
("emacs" "-q" "s2.c")
For information about the GNU Project and its goals, type C-h C-p.
Loading cc-mode...done
For information about the GNU Project and its goals, type C-h C-p.
Undo!
(No changes need to be saved)
Loading emacsbug...done
- font lock problem in C mode,
Stephen Eglen <=