[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43799: 27.1; AWK wrong switch-case indentation
From: |
Lars Ingebrigtsen |
Subject: |
bug#43799: 27.1; AWK wrong switch-case indentation |
Date: |
Mon, 06 Jun 2022 18:24:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Mauro Panigada <shintakezou@gmail.com> writes:
> In AWK mode, switch's cases get indented as statement of the previous
> case, instead of being "aligned" with the first case line. We end up
> having something like
>
> switch($1)
> {
> case "a":
> things()
> break
>
> case "b":
> hello = 0
> break
>
> case "bye":
> indent_again = 1
> break
>
> # ....
> }
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
I can reproduce this in Emacs 27.1, but not in Emacs 29, so it seems
like this has been fixed in the time since this was reported, and I'm
therefore closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#43799: 27.1; AWK wrong switch-case indentation,
Lars Ingebrigtsen <=