emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Suggestion of enhancement by adding a hyphen to sh-imenu-generic-express


From: James Cherti
Subject: Suggestion of enhancement by adding a hyphen to sh-imenu-generic-expression
Date: Sat, 23 Nov 2024 16:04:17 -0500
User-agent: Mozilla Thunderbird

Hello,

While editing a Bash shell script today, I discovered that imenu does not include functions with hyphens in their names.

While it is true that sh does not allow hyphens in function names, Bash does permit them.

My suggestion is to add a hyphen '-' to the sh-imenu-generic-expression (sh-script.el) regular expression to make imenu include these functions,

--
James Cherti
https://www.jamescherti.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]