From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tlegras@yahoo.fr (tl) Newsgroups: gmane.emacs.help Subject: Re: emacs 21 c-indent broken Date: 4 Nov 2002 09:49:33 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <87pttubckd.fsf@enberg.org> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036432938 11626 80.91.224.249 (4 Nov 2002 18:02:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 18:02:18 +0000 (UTC) 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 188lYC-000313-00 for ; Mon, 04 Nov 2002 19:02:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188lZC-0005xG-00; Mon, 04 Nov 2002 13:03:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 64.208.49.61 Original-X-Trace: posting.google.com 1036432173 3203 127.0.0.1 (4 Nov 2002 17:49:33 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 4 Nov 2002 17:49:33 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106729 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3282 Michael Slass wrote in message news:... > Henrik Enberg writes: > > >tlegras@yahoo.fr (tl) writes: > > > >> It seems that emacs 21.2.2 is confused when "case" and ":" are both > >> used inside a string; see my example in a c-mode buffer: > >> > >> printf("case A :\n"); > >> printf("case B :\n"); > >> res = 0; /* indentation broken! */ > > > >It works for me [tm]. Do you have any personal c-mode customizations? > > > >-- > >Booting... /vmemacs.el > > I'm seeing the bug exactly as you describe, using GNU Emacs 21.2.1. > Try M-x report-emacs-bug Sorry, fortunately I don't see bug in emacs every day! :) This is reported now. Note I compiled my version from an official ftp server, not from CVS. cc-mode version is 5.28.