GNU bug report logs - #50320
28.0.50; Recent changes cause functions in sh-script-mode to be indented incorrectly

Previous Next

Package: emacs;

Reported by: Diego <dieggsy <at> pm.me>

Date: Wed, 1 Sep 2021 15:27:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 50320 <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: 50320 <at> debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Diego <dieggsy <at> pm.me>
Subject: Re: bug#50320: 28.0.50; Recent changes cause functions in
 sh-script-mode to be indented incorrectly
Date: Thu, 02 Sep 2021 08:16:22 +0200
Diego via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> I'm not quite sure when this behavior was introduced, but I suspect
> commits 4bb70549 or 6392bc37a may be responsible:

Seems to be 6392bc37a; reverting it makes your test case pass again.

As things stand, I don't know enough about SMIE to understand what the
correct fix is.  A plain revert might be the best immediate action,
unless someone knowledgeable enough can reconcile my commit with Diego's
example.




This bug report was last modified 3 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.