bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Dario Gjorgjevski
Subject: bug#44592: In sh-script-mode, should the syntax of . and / be made symbol?
Date: Wed, 23 Dec 2020 17:05:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> What do you think?  Alternatively, we could work on fixing only the
>> SMIE-provided indentation and leave the syntax as it is.
>
> I think that sounds like a better solution.

The simplest solution I can think of is to change the

    (skip-syntax-backward "w_'")

in ‘sh-smie--default-backward-token’ to

    (skip-syntax-backward ".w_'").

This fixes the issue, but I’m not sure about unwanted effects.
Any ideas if it could cause something to misbehave?

Best regards,
Dario

-- 
$ keyserver=hkps://hkps.pool.sks-keyservers.net
$ keyid=744A4F0B4F1C9371
$ gpg --keyserver $keyserver --search-keys $keyid





reply via email to

[Prev in Thread] Current Thread [Next in Thread]