all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17896: sh-mode excessive indentation of {}
@ 2014-07-02  1:46 Glenn Morris
  2014-07-08 18:38 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2014-07-02  1:46 UTC (permalink / raw)
  To: 17896

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#17896: sh-mode excessive indentation of {}
  2014-07-02  1:46 bug#17896: sh-mode excessive indentation of {} Glenn Morris
@ 2014-07-08 18:38 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-07-08 18:38 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 17896-done

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

I believe this is now fixed, thanks,


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-08 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02  1:46 bug#17896: sh-mode excessive indentation of {} Glenn Morris
2014-07-08 18:38 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.