unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: 50320@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, Diego <dieggsy@pm.me>
Subject: 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	[thread overview]
Message-ID: <87v93j33k9.fsf@gmail.com> (raw)
In-Reply-To: <yacxZ_2iQyAeqFdkOel21CHeixrYHac9hZtDl9xXUT82vft_BTspGNBaymFgAWoJ6QT_Ja9va13jjQp1bXeBLsSyBZJkIj-4ij7OPaWxorY=@pm.me> (Diego via's message of "Wed, 01 Sep 2021 04:15:12 +0000")

Diego via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@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.





  reply	other threads:[~2021-09-02  6:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01  4:15 bug#50320: 28.0.50; Recent changes cause functions in sh-script-mode to be indented incorrectly Diego via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-02  6:16 ` Kévin Le Gouguec [this message]
2021-09-02  6:44   ` Lars Ingebrigtsen
2021-09-02  7:54     ` Kévin Le Gouguec

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v93j33k9.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=50320@debbugs.gnu.org \
    --cc=dieggsy@pm.me \
    --cc=larsi@gnus.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).