From: Klaus Zeitler <kzeitler@lucent.com>
Subject: font-lock of comments with an opening paren in column 1
Date: Wed, 9 Apr 2003 15:44:42 +0200 (MEST) [thread overview]
Message-ID: <200304091344.h39Digb08116@sfsw51.de.lucent.com> (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
next reply other threads:[~2003-04-09 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 13:44 Klaus Zeitler [this message]
2003-04-10 4:19 ` font-lock of comments with an opening paren in column 1 Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304091344.h39Digb08116@sfsw51.de.lucent.com \
--to=kzeitler@lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).