From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.help Subject: Re: emacs 21 c-indent broken Date: Mon, 28 Oct 2002 20:14:42 +0100 Organization: Le Petomane Appreciation Society Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87pttubckd.fsf@enberg.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035833168 6373 80.91.224.249 (28 Oct 2002 19:26:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2002 19:26:08 +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 186FWX-0001eF-00 for ; Mon, 28 Oct 2002 20:26:05 +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 186FWn-0000qV-00; Mon, 28 Oct 2002 14:26:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!h148n2fls32o1112.telia.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: h148n2fls32o1112.telia.com (213.65.65.148) Original-X-Trace: fu-berlin.de 1035832896 2556193 213.65.65.148 (16 [125297]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:5gzRKJZ+9zrkJf1KygyV7HasWDk= Original-Xref: shelby.stanford.edu gnu.emacs.help:106459 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:3009 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3009 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