[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50320: 28.0.50; Recent changes cause functions in sh-script-mode to
From: |
Lars Ingebrigtsen |
Subject: |
bug#50320: 28.0.50; Recent changes cause functions in sh-script-mode to be indented incorrectly |
Date: |
Thu, 02 Sep 2021 08:44:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Kévin Le Gouguec <kevin.legouguec@gmail.com> 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.
I've now reverted the change and added a test.
> 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.
My understanding of SMIE is ... pretty vague. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no