[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44592: In sh-script-mode, should the syntax of . and / be made symbo
From: |
Kévin Le Gouguec |
Subject: |
bug#44592: In sh-script-mode, should the syntax of . and / be made symbol? |
Date: |
Sun, 29 Aug 2021 23:22:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>
>> - (progn (skip-syntax-backward ".w_'")
>> + (progn (skip-syntax-backward ".w_'){(}")
>
> I don't think that's quite correct -- { and } aren't syntax classes.
> But just adding ( and ) seems to make the test case indent correctly, so
> I've now pushed that to the trunk.
Ah, right! I had naively used C-u C-x = to check what syntax classes {
and } belonged to, and that told me "(}" and "){", respectively.
Thanks for your amendment!