From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Moore, Mathew L" Newsgroups: gmane.emacs.help Subject: RE: emacs 21 c-indent broken Date: Mon, 28 Oct 2002 14:44:18 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <2F05A390F72A0A409390E016D23E45E8042DBEEC@ns-bco-mse4.im.battelle.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1035834449 11210 80.91.224.249 (28 Oct 2002 19:47:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2002 19:47:29 +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 186FrD-0002uf-00 for ; Mon, 28 Oct 2002 20:47:27 +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 186FpQ-0005ZP-00; Mon, 28 Oct 2002 14:45:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 186FoR-0005Gl-00 for help-gnu-emacs@gnu.org; Mon, 28 Oct 2002 14:44:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 186FoO-0005Ga-00 for help-gnu-emacs@gnu.org; Mon, 28 Oct 2002 14:44:34 -0500 Original-Received: from bclcl1.im.battelle.org ([131.167.1.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 186FoN-0005GW-00 for help-gnu-emacs@gnu.org; Mon, 28 Oct 2002 14:44:31 -0500 Original-Received: from ns-bco-scn1.im.battelle.org ([131.167.1.122]) by BCLCL1 (PMDF V5.1-10 #U2779) with SMTP id <01KO7A8IUEG08Y501T@BCLCL1> for help-gnu-emacs@gnu.org; Mon, 28 Oct 2002 14:44:19 EST Original-Received: from 131.167.1.91 by ns-bco-scn1.im.battelle.org (InterScan E-Mail VirusWall NT); Mon, 28 Oct 2002 14:44:19 -0500 Original-Received: by ws-bco-mse1.milky-way.battelle.org with Internet Mail Service (5.5.2655.55) id ; Mon, 28 Oct 2002 14:44:20 -0500 Original-To: help-gnu-emacs@gnu.org X-Mailer: Internet Mail Service (5.5.2655.55) 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:3012 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3012 Doesn't work for me, unfortunately, even with the -q startup option. Funny thing, you have to have more than one "case :" string in a row, for the second printf() line indents just fine...only the third one screws up. --Matt > -----Original Message----- > From: Henrik Enberg [mailto:henrik+news@enberg.org] > Sent: Monday, October 28, 2002 14:15 > To: help-gnu-emacs@gnu.org > Subject: Re: emacs 21 c-indent broken > > > 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 > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >