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: emacs 21 c-indent broken Date: 28 Oct 2002 10:40:19 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035830772 30479 80.91.224.249 (28 Oct 2002 18:46:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2002 18:46:12 +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 186Ett-0007vF-00 for ; Mon, 28 Oct 2002 19:46:09 +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 186EuG-0002tp-00; Mon, 28 Oct 2002 13:46:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 64.208.49.61 Original-X-Trace: posting.google.com 1035830419 26577 127.0.0.1 (28 Oct 2002 18:40:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 28 Oct 2002 18:40:19 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106456 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:3006 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3006 Hi, 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: int main() { int res; printf("case A :\n"); printf("case B :\n"); res = 0; /* indentation broken! */ } I didn't have this problem this 21.7.1. Any idea? Cheers, TL.