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

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

font-lock of comments with an opening paren in column 1


From: Klaus Zeitler
Subject: font-lock of comments with an opening paren in column 1
Date: Wed, 9 Apr 2003 15:44:42 +0200 (MEST)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2003-04-08 on sfsws4
configured using `configure  --with-gcc 
--prefix=/vol/freeware/SunOS-5.8/emacs/21.3 
--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/21.3/share 
--with-x-toolkit=motif --x-includes=/usr/openwin/include:/usr/local/gnu/include 
--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib --with-pop'
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

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

when I have an opening paren in column 1 of a multiline C comment, fontlock
shows parts of this comment in a "gaudy" mode.
Example:
1. emacs -q --no-site-file
2. M-x global-font-lock-mode
3. load a C-file that contains the following comment:
--- snip ---
/*
1 this is comment line number one
2 this is comment line number two
3 this is comment line number three
4 this is comment line number four
5 this is comment line number five
(now comes a comment line with opening paren in column one)
7  and another line of interesting comment  number seven
8  and another line of interesting incomment number eight
9  and another line of interesting comment number nine
10 and another line of interesting comment number ten
11 and another line of interesting comment number eleven
12 and now a colored line of comment number twelve
13 and one more colored line of comment number thirteen
*/
--- snip ---

the comment will be quite quite colorful from line 12 on


Recent input:
<escape> x g l o b a SPC f o SPC SPC SPC <return> C-x 
C-f C-a C-k ~ / t s t / c h SPC l . c <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> 
<double-down-mouse-1> <double-mouse-1> <help-echo> 
<help-echo> <down> C-x C-b <help-echo> <down-mouse-1> 
<mouse-1> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Global-Font-Lock mode enabled
Making completion list...
Loading view...done
Loading cc-mode...done
Loading emacsbug...done




reply via email to

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