GNU bug report logs - #77746
[PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode

Previous Next

Package: emacs;

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


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

From: James Cherti <contact <at> jamescherti.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: juri <at> linkov.net, 77746 <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for
 punctuation in sh-mode
Date: Mon, 5 May 2025 20:50:30 -0400
Hello Eli,

Stefan confirmed that, based on experimentation with `/`, he
believes the patch should be safe enough.

I wanted to kindly follow up on the status of the patch
merge.

Thank you.

--
James Cherti
GitHub: https://github.com/jamescherti
Website: https://www.jamescherti.com/

On 2025-04-28 13:41, Stefan Monnier via Bug reports for GNU Emacs, the 
Swiss army knife of text editors wrote:
>> 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?
> 
> Yeah, based on my experimentation with `/`, I'm now thinking it might be
> safe enough to give punctuation syntax to those other characters.
> 
> Any remaining objection to pushing this to `master`?
> 
> 
>          Stefan
> 
> 
> 
> 





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.