Subject: Re: bug#18020: 24.3; sh-script comment indent failure involving apostrophes in comments/heredocs on previous lines

From: [email-masked]
Date: Sat, 01 Apr 2017 19:26:38 -0400

tags 18020 fixed
close 18020 24.4
quit

Richard Tollerton <[email-masked]> writes:
>
> 1. Create a file test.sh with the following contents. (The file variable
> is for convenience in reproducing the issue; the point is to set
> sh-indent-command to t.)
>
> # -*- mode: sh-script; sh-indent-comment: t; -*-
> cat <<EOF
> {}
> can't
> EOF
>
> testfunc () {
>     # don't
> # do this
> }
>
> 2. Set point to the line "# do this" and hit TAB. The line remains
> incorrectly indented at offset 0.

This happens in 24.3, but not in 24.4 and above.