From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: Re: CC Mode 5.28 (C++); "case" syntax hilights wrong Date: 19 Apr 2003 13:16:42 +0200 Organization: muc.de e.V. -- private internet access Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <9c1r7b.r5.ln@acm.acm> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050751450 18259 80.91.224.249 (19 Apr 2003 11:24:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2003 11:24:10 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 19 13:24:08 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 196qS0-0004kL-00 for ; Sat, 19 Apr 2003 13:24:08 +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 196qSA-0001sp-02 for gnu-bug-gnu-emacs@m.gmane.org; Sat, 19 Apr 2003 07:24:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196qS1-0001rE-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 07:24:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196qRv-0001pJ-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 07:24:08 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196qRu-0001p3-00 for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2003 07:24:02 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 196qRu-0002y9-01 for gnu-emacs-bug@prep.ai.mit.edu; Sat, 19 Apr 2003 07:24:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196qRm-0001lL-00 for gnu-emacs-bug@prep.ai.mit.edu; Sat, 19 Apr 2003 07:24:00 -0400 Original-Received: from marvin.muc.de ([193.149.48.2]) by monty-python.gnu.org with smtp (Exim 4.10.13) id 196qMs-0000ch-00 for gnu-emacs-bug@prep.ai.mit.edu; Sat, 19 Apr 2003 07:18:50 -0400 Original-Received: (qmail 54024 invoked by uid 8); 19 Apr 2003 11:16:42 -0000 Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Date: Sat, 19 Apr 2003 08:28:57 +0000 Original-Lines: 25 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1050751002 54020 193.149.49.134 (19 Apr 2003 11:16:42 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 19 Apr 2003 11:16:42 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) 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:4839 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4839 Wesley J. Landaker wrote on Tue, 15 Apr 2003 16:57:32 -0600 (MDT): > When "case" is put in a string, it syntax hilights incorrectly. > int main() { > const char *s = "case"; > } This bug is known, and has been fixed in the not-yet-released cc-mode-5.30. If you want to get cc-mode-5.30 (it's good stuff!), enter the following two commands whilst online: cvs -d:pserver:anonymous@cvs.cc-mode.sourceforge.net:/cvsroot/cc-mode login cvs -z3 -d:pserver:anonymous@cvs.cc-mode.sourceforge.net:/cvsroot/cc-mode checkout cc-mode Simply give as the response to the password prompt. This will download the CVS archive to the current directory. -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").