GNU bug report logs -
#77746
[PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode
Previous Next
Reported by: James Cherti <contact <at> jamescherti.com>
Date: Fri, 11 Apr 2025 14:56:02 UTC
Severity: normal
Tags: patch
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello Eli,
I am the only person who has expressed a definitive opinion
that merging this would benefit Sh and Bash scripts. I have
been using this patch for over a year without any issues.
This change is similar to the one previously merged to treat
"/" as punctuation:
commit f6277911eb2c520aec8f0efd80c91999226e3322
Author: Dmitry Gutov <dgutov <at> yandex.ru>
Date: 2020-10-02 07:11:56 +0200
Make xref work better on variables in shell-script-mode
* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Classify "/"
as punctuation so that `M-.' on $foo/bar works on the $foo part
(bug#25585).
The above patch was accepted.
@Stefan @Juri: Have you been able to perform any checks that
would allow this patch to be merged?
I hope that Stefan, Juri, or you, Eli, will review the
discussion and make a decision. I have sent numerous emails
with explanations.
Thanks,
James Cherti
GitHub: https://github.com/jamescherti
Website: https://www.jamescherti.com/
On 2025-04-26 08:23, Eli Zaretskii wrote:
>> Date: Thu, 17 Apr 2025 09:01:31 -0400
>> From: James Cherti <contact <at> jamescherti.com>
>> Cc: 77746 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, juri <at> linkov.net
>>
>> Hello Eli,
>>
>> Attached is v3 of this patch.
>>
>> (I have updated the commit message to include more details
>> and reintroduced the '.' character.)
>
> Thanks. I'm not sure whether the discussion was concluded and we are
> all okay with this change. Stefan and Juri, please tell what you
> think we should do next.
>
>
>
This bug report was last modified 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.