GNU bug report logs - #44592
In sh-script-mode, should the syntax of . and / be made symbol?

Previous Next

Package: emacs;

Reported by: Dario Gjorgjevski <dario.gjorgjevski <at> gmail.com>

Date: Thu, 12 Nov 2020 13:50:01 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 44592 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dario Gjorgjevski <dario.gjorgjevski <at> gmail.com>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 44592 <at> debbugs.gnu.org
Subject: Re: bug#44592: In sh-script-mode, should the syntax of . and / be
 made symbol?
Date: Wed, 23 Dec 2020 23:24:40 +0100
Dario Gjorgjevski <dario.gjorgjevski <at> gmail.com> writes:

>>> 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?

Perhaps Stefan has some comments here; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.