|
From: | npostavs |
Subject: | bug#18020: 24.3; sh-script comment indent failure involving apostrophes in comments/heredocs on previous lines |
Date: | Sat, 01 Apr 2017 19:26:38 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
tags 18020 fixed close 18020 24.4 quit Richard Tollerton <rich.tollerton@ni.com> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |