Subject: bug#17621: closed (Re: bug#17621: sh-mode indentation of continued lines in case statements)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 20 Jun 2014 12:01:02 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17621: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17621
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#17621: sh-mode indentation of continued lines in case statements
From: Stefan Monnier <[email-masked]>
To: Glenn Morris <[email-masked]>
Cc: [email-masked]
Date: Fri, 20 Jun 2014 07:59:53 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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

This should be fixed now (and also when the backslash is absent).

        Stefan

Subject: sh-mode indentation of continued lines in case statements
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 28 May 2014 17:57:04 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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).