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

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

[debbugs-tracker] bug#17621: closed (sh-mode indentation of continued li


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17621: closed (sh-mode indentation of continued lines in case statements)
Date: Fri, 20 Jun 2014 12:01:02 +0000

Your message dated Fri, 20 Jun 2014 07:59:53 -0400
with message-id <address@hidden>
and subject line Re: bug#17621: sh-mode indentation of continued lines in case 
statements
has caused the debbugs.gnu.org bug report #17621,
regarding sh-mode indentation of continued lines in case statements
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17621: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17621
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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).



--- End Message ---
--- Begin Message --- Subject: Re: bug#17621: sh-mode indentation of continued lines in case statements Date: Fri, 20 Jun 2014 07:59:53 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
> case $foo in
>     bar)
>         true && \
>         echo foo
>         ;;
> esac

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


        Stefan


--- End Message ---

reply via email to

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