unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* font-lock of comments with an opening paren in column 1
@ 2003-04-09 13:44 Klaus Zeitler
  2003-04-10  4:19 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Zeitler @ 2003-04-09 13:44 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: font-lock of comments with an opening paren in column 1
  2003-04-09 13:44 font-lock of comments with an opening paren in column 1 Klaus Zeitler
@ 2003-04-10  4:19 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2003-04-10  4:19 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> Date: Wed, 9 Apr 2003 15:44:42 +0200 (MEST)
> From: Klaus Zeitler <kzeitler@lucent.com>
> 
> when I have an opening paren in column 1 of a multiline C comment, fontlock
> shows parts of this comment in a "gaudy" mode.

See the entry in etc/PROBLEMS whose name is "Font Lock displays
portions of the buffer in incorrect faces".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-10  4:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 13:44 font-lock of comments with an opening paren in column 1 Klaus Zeitler
2003-04-10  4:19 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).