[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in
From: |
James Cherti |
Subject: |
bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode |
Date: |
Fri, 11 Apr 2025 10:55:02 -0400 |
User-agent: |
Mozilla Thunderbird |
Hello,
In sh and Bash, the characters !%^~:.,= and are not valid in variable or
function names.
Assigning them the "_" syntax causes Emacs to treat them as word
constituents, disrupting navigation and completion
(e.g. dabbrev-expand, forward-word, etc.).
The attached patch updates the syntax table in sh-mode to mark
these characters as punctuation, correcting the issue.
--
James Cherti
GitHub: https://github.com/jamescherti
Website: https://www.jamescherti.com/
fix-sh-mode-syntax-table.patch
Description: Text Data
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode,
James Cherti <=
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Eli Zaretskii, 2025/04/13
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Stefan Monnier, 2025/04/13
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Stefan Kangas, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Visuwesh, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Andreas Schwab, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, James Cherti, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Stefan Monnier, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, James Cherti, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, Stefan Monnier, 2025/04/14
- bug#77746: [PATCH] sh-mode: Fix incorrect word syntax for punctuation in sh-mode, James Cherti, 2025/04/14