|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#17756: closed (indentation after declaring+initializing two arrays) |
Date: | Sat, 02 Aug 2014 20:55:02 +0000 |
Your message dated Sat, 2 Aug 2014 20:49:17 +0000 with message-id <address@hidden> and subject line Re: bug#17756: indentation after declaring+initializing two arrays has caused the debbugs.gnu.org bug report #17756, regarding indentation after declaring+initializing two arrays to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 17756: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17756 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: indentation after declaring+initializing two arrays Date: Wed, 11 Jun 2014 15:26:35 +0100 Hello. I have a problem with Emacs (version: 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-08 on trouble, modified by Debian [2 times]). A declaration is incorrectly indented when following one where two or more arrays are declared and initialized. The function foo() below has "char c = 'a';" over-indented, while the function bar() following it has the same declaration correctly indented. int foo () { int a [2] = {1,2}, b [2] = {3,4}; char c = 'a'; } int bar () { int b [2] = {3,4}; char c = 'a'; } This also happens if a newline is placed between "int" and "a [2]", but it does not happen if a and b are declared on the same line. Both M-x indent-region and moving the cursor and hitting TAB result in this. I could not find any related issue in the mailing list archive, is this expected behaviour? Thanks, Pietro
--- End Message ---
--- Begin Message ---Subject: Re: bug#17756: indentation after declaring+initializing two arrays Date: Sat, 2 Aug 2014 20:49:17 +0000 User-agent: Mutt/1.5.21 (2010-09-15) Bug fixed. -- Alan Mackenzie (Nuremberg, Germany).
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |