bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17621: sh-mode indentation of continued lines in case statements


From: Glenn Morris
Subject: bug#17621: sh-mode indentation of continued lines in case statements
Date: Wed, 28 May 2014 17:57:04 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Package: emacs
Version: 24.3.91
Severity: minor

emacs -Q --eval '(setq-default indent-tabs-mode nil)' foo.sh, where
foo.sh is as follows:

case $foo in
    bar)
            true && \
                echo foo
            ;;
esac

The above is the 24.3 indentation.
In 24.3.91, it indents like:

case $foo in
    bar)
        true && \
        echo foo
        ;;
esac


1. Body of case branch not indented as far (this may an improvement).
2. Continued line not indented (this is a bug).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]