From: Stefan Kangas <stefan@marxist.se>
To: Allen Li <darkfeline@felesatra.moe>
Cc: 30561@debbugs.gnu.org
Subject: bug#30561: 25.2.50; sh-mode indentation for ? case wrong
Date: Sun, 29 Sep 2019 00:10:39 +0200 [thread overview]
Message-ID: <CADwFkmnved34sO4hzp6DdwSg4ONiNAGn3p8PP550+-xNEvBJzQ@mail.gmail.com> (raw)
In-Reply-To: <CAJr1M6ftjgvZ9iffQzJJ9W35D=6TFHP=18jZApMG0Dz1Zv=VVw@mail.gmail.com>
Allen Li <darkfeline@felesatra.moe> writes:
> 1. emacs -Q
> 2. Open file tmp.sh with contents (defaults to sh-mode):
>
> case "$1" in
> foo)
> echo foo
> ;;
> ?)
> echo bar
> ;;
> esac
>
> 3. C-x h TAB
>
> Expected:
>
> case "$1" in
> foo)
> echo foo
> ;;
> ?)
> echo bar
> ;;
> esac
>
>
> Actual:
>
> case "$1" in
> foo)
> echo foo
> ;;
> ?)
> echo bar
> ;;
> esac
>
> In GNU Emacs 25.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11),
> modified by Debian
> Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
> System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04
> LTS)
I can reproduce this on Emacs 26.1 and current master.
Best regards,
Stefan Kangas
prev parent reply other threads:[~2019-09-28 22:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 23:20 bug#30561: 25.2.50; sh-mode indentation for ? case wrong Allen Li
2019-09-28 22:10 ` Stefan Kangas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmnved34sO4hzp6DdwSg4ONiNAGn3p8PP550+-xNEvBJzQ@mail.gmail.com \
--to=stefan@marxist.se \
--cc=30561@debbugs.gnu.org \
--cc=darkfeline@felesatra.moe \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.