From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.bugs Subject: font-lock of comments with an opening paren in column 1 Date: Wed, 9 Apr 2003 15:44:42 +0200 (MEST) Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200304091344.h39Digb08116@sfsw51.de.lucent.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049896902 3508 80.91.224.249 (9 Apr 2003 14:01:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 14:01:42 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 09 16:01:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193G8M-0000r2-00 for ; Wed, 09 Apr 2003 16:01:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193FzP-0002rN-0C for gnu-bug-gnu-emacs@m.gmane.org; Wed, 09 Apr 2003 09:51:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193Fye-0002i8-00 for bug-gnu-emacs@gnu.org; Wed, 09 Apr 2003 09:51:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193Fwh-000160-00 for bug-gnu-emacs@gnu.org; Wed, 09 Apr 2003 09:49:00 -0400 Original-Received: from auemail1.lucent.com ([192.11.223.161] helo=auemail1.firewall.lucent.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193Fu1-0007TU-00 for bug-gnu-emacs@gnu.org; Wed, 09 Apr 2003 09:46:13 -0400 Original-Received: from nbgif1.de.lucent.com (h135-248-192-26.lucent.com [135.248.192.26])ESMTP id h39DkAw24629 for ; Wed, 9 Apr 2003 09:46:11 -0400 (EDT) Original-Received: from sfsws1.de.lucent.com (sfsws1 [135.248.217.84]) by nbgif1.de.lucent.com (8.8.8/8.8.5) with ESMTP id PAA25327 for ; Wed, 9 Apr 2003 15:44:43 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51 [135.248.210.168]) by sfsws1.de.lucent.com (8.11.6+Sun/8.8.5) with ESMTP id h39Dig326509 for ; Wed, 9 Apr 2003 15:44:42 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.6+Sun/8.8.8) id h39Digb08116; Wed, 9 Apr 2003 15:44:42 +0200 (MEST) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4748 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: x g l o b a SPC f o SPC SPC SPC C-x C-f C-a C-k ~ / t s t / c h SPC l . c C-x C-b 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