From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Strange indent of preprocessor lines in c-mode Date: Mon, 13 Oct 2008 18:47:40 +0000 Message-ID: <20081013184740.GA3148@muc.de> References: <48EC6D01.5070600@netasq.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223923293 21413 80.91.229.12 (13 Oct 2008 18:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 18:41:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Damien Deville Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 13 20:42:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpSMz-0001ca-UG for ged-emacs-devel@m.gmane.org; Mon, 13 Oct 2008 20:42:18 +0200 Original-Received: from localhost ([127.0.0.1]:54159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpSLv-0006Th-JH for ged-emacs-devel@m.gmane.org; Mon, 13 Oct 2008 14:41:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpSLe-0006Ib-Bd for emacs-devel@gnu.org; Mon, 13 Oct 2008 14:40:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpSLb-0006Fe-F4 for emacs-devel@gnu.org; Mon, 13 Oct 2008 14:40:53 -0400 Original-Received: from [199.232.76.173] (port=50637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpSLb-0006FO-7X for emacs-devel@gnu.org; Mon, 13 Oct 2008 14:40:51 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3312 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpSLa-0006ZL-M9 for emacs-devel@gnu.org; Mon, 13 Oct 2008 14:40:51 -0400 Original-Received: (qmail 51703 invoked by uid 3782); 13 Oct 2008 18:39:20 -0000 Original-Received: from acm.muc.de (pD9E51C5B.dip.t-dialin.net [217.229.28.91]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 13 Oct 2008 20:39:16 +0200 Original-Received: (qmail 3557 invoked by uid 1000); 13 Oct 2008 18:47:40 -0000 Content-Disposition: inline In-Reply-To: <48EC6D01.5070600@netasq.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104506 Archived-At: Hi, Damien, On Wed, Oct 08, 2008 at 10:19:13AM +0200, Damien Deville wrote: > Hi, > I noticed the following weirdness on a checkout from todays emacs 23 cvs. > - Consider the program given a the end of the mail > - open it with emacs -q > - activate c-mode > - Select all lines > - launch indent-region > - noticed how the #ifdef and #endif are ended by a "\" as if > c-backslash-region was called. > I never noticed it before, Is it normal or is it a bug ? If it is normal > how can it be disabled ? It's a bug. I've just committed a fix to the CVS at Savannah. The faulty file was ..../lisp/progmodes/cc-cmds.el. Could you please try this out and confirm that the bug has been fixed. Thanks! And thanks indeed for such a concise, high-quality bug report. > -- > Damien Deville -- Alan Mackenzie (Nuremberg, Germany).