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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: James Cherti <contact <at> jamescherti.com>
Cc: 77746 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, juri <at> linkov.net
Subject: bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode
Date: Tue, 15 Apr 2025 09:17:21 +0300
> Date: Mon, 14 Apr 2025 15:39:24 -0400
> Cc: 77746 <at> debbugs.gnu.org
> From: James Cherti <contact <at> jamescherti.com>
> 
> Attached: v2 of this patch
> 
> This patch marks only the following characters as
> punctuation: !%^~:,
> 
> I removed . because it is commonly used in command names
> (e.g., mkfs.ext4).
> 
> (Excluding '.' not only covers the majority of command and
> function names but also prevents using ,!%^~: as
> symbol constituents, resulting in more accurate
> variable symbols.)

Should this backward-incompatible change be controlled by a user
variable?  I can easily imagine some user who'd come complaining about
this compromise.  Without a knob to get back previous behavior, we
will have no way of satisfying such users without reverting the
change.




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.