GNU bug report logs - #17896
sh-mode excessive indentation of {}

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 2 Jul 2014 01:47:01 UTC

Severity: minor

Found in version 24.3.92

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#17896: closed (sh-mode excessive indentation of {})
Date: Tue, 08 Jul 2014 18:39:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 08 Jul 2014 14:38:28 -0400
with message-id <jwvion7r90u.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#17896: sh-mode excessive indentation of {}
has caused the debbugs.gnu.org bug report #17896,
regarding sh-mode excessive indentation of {}
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
17896: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17896
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: sh-mode excessive indentation of {}
Date: Tue, 01 Jul 2014 21:46:54 -0400
Package: emacs
Version: 24.3.92
Severity: minor

I don't know if this is a related to any of the previous sh-mode indent
reports I made, so I'm making a new report.

emacs -Q foo.sh:

for foo in bar; do
    [ -e $foo ] && [ -e $bar ] && {
                       echo way too much indent here
                   }
done


Compare with 24.3:

for foo in bar; do
    [ -e $foo ] && [ -e $bar ] && {
        echo just fine thanks
    }
done


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17896-done <at> debbugs.gnu.org
Subject: Re: bug#17896: sh-mode excessive indentation of {}
Date: Tue, 08 Jul 2014 14:38:28 -0400
> for foo in bar; do
>     [ -e $foo ] && [ -e $bar ] && {
>                        echo way too much indent here
>                    }
> done

I believe this is now fixed, thanks,


        Stefan


This bug report was last modified 10 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.