From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hannu Koivisto Newsgroups: gmane.emacs.bugs Subject: CC Mode 5.28: case labels in literal strings confuse indentation Date: Mon, 03 Jun 2002 14:43:55 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023104735 26993 127.0.0.1 (3 Jun 2002 11:45:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2002 11:45:35 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17EqHG-00071B-00 for ; Mon, 03 Jun 2002 13:45:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17EqGr-00008W-00; Mon, 03 Jun 2002 07:45:09 -0400 Original-Received: from lynx.ionific.com ([195.197.252.71]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17EqFi-0008PA-00; Mon, 03 Jun 2002 07:43:58 -0400 Original-Received: from azure by lynx.ionific.com with local (Exim 3.12 #1 (Debian)) id 17EqFf-0003dA-00; Mon, 03 Jun 2002 14:43:55 +0300 Original-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Original-Lines: 20 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1768 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1768 Greetings, Emacs : GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian Package: CC Mode 5.28 (C) Start emacs as follows: emacs -q ./foo.c Write the following function... void foo () { printf("case x:"); printf("case y:"); return 0; } ...and observe how the line "return 0;" gets indented incorrectly. -- Hannu