From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kleber Newsgroups: gmane.emacs.bugs Subject: font-loc "case" bug Date: Wed, 14 Dec 2005 14:55:02 -0500 Message-ID: <5CE39377-0065-4F3D-A770-21CBF2E5236F@broad.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134598916 25802 80.91.229.2 (14 Dec 2005 22:21:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 22:21:56 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 23:21:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Emey8-0006n7-NM for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2005 23:19:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emeyj-00010K-SN for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2005 17:20:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmciM-0007tJ-CC for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2005 14:55:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmciI-0007sW-Uj for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2005 14:55:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmciI-0007sT-OG for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2005 14:54:58 -0500 Original-Received: from [18.103.8.101] (helo=lysine.broad.mit.edu) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EmckQ-00067E-BD for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2005 14:57:10 -0500 Original-Received: from localhost (localhost.broad.mit.edu [127.0.0.1]) by lysine.broad.mit.edu (Postfix) with ESMTP id DD32C5304C1 for ; Wed, 14 Dec 2005 14:54:11 -0500 (EST) Original-Received: from lysine.broad.mit.edu ([127.0.0.1]) by localhost (lysine.broad.mit.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76779-01-3 for ; Wed, 14 Dec 2005 14:54:10 -0500 (EST) Original-Received: from [18.103.12.134] (cm2c9-862.broad.mit.edu [18.103.12.134]) by lysine.broad.mit.edu (Postfix) with ESMTP id 2EF8B530431 for ; Wed, 14 Dec 2005 14:54:10 -0500 (EST) Original-To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at broad.mit.edu X-Mailman-Approved-At: Wed, 14 Dec 2005 16:56:40 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14642 Archived-At: In emacs 21.3.1, C font-lock coloring is disrupted when the word "case" appears in a comment or in quotes. For example, in the following file: int main() { int i /* this is just fine */ = 1; int j /* but it miscolors this case */ = 2; } the number "2" is colored as a case label, but is colored correctly if the last word in the comment is changed to "casey". --Michael Kleber