From: Eli Zaretskii <eliz@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 56003-done@debbugs.gnu.org, carlmarcos@tutanota.com
Subject: bug#56003: Bash functions not showing in speedbar
Date: Sat, 30 Nov 2024 16:02:05 +0200 [thread overview]
Message-ID: <86plmc7rc2.fsf@gnu.org> (raw)
In-Reply-To: <87y1xxcnfz.fsf@gmail.com> (message from Visuwesh on Thu, 16 Jun 2022 08:41:12 +0530)
> From: Visuwesh <visuweshm@gmail.com>
> Date: Thu, 16 Jun 2022 08:41:12 +0530
> Cc: carlmarcos@tutanota.com, 56003@debbugs.gnu.org
>
> [வியாழன் ஜூன் 16, 2022 02:12] carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:
>
> > Have been working on some functionalities implemented in bash. But looking at the speedbar, only some function
> > names are being listed. Tried to see whether a bug-report has been previously submitted, but could not find any.
> > Have found the search feature for the archives quite challenging to use.
> >
> > Carl
>
> You need to add a relevant bash entry to `sh-imenu-generic-expression'.
> I would propose a patch but the bash manual is vague about the allowed
> characters, and I never use bash so I'm not interested in digging
> further. Maybe the newly added mksh entry could be a good example,
>
> (mksh
> . ((nil
> ;; function FOO
> ;; function FOO()
> ,(rx bol (* (syntax whitespace)) "function" (+ (syntax whitespace))
> (group (1+ (not (any "\0\t\n \"$&'();<=>\\`|#*?[]/"))))
> (* (syntax whitespace)) (? "()"))
> 1)
> (nil
> ;; FOO()
> ,(rx bol (* (syntax whitespace))
> (group (1+ (not (any "\0\t\n \"$&'();<=>\\`|#*?[]/"))))
> (* (syntax whitespace)) "()")
> 1)))
>
> HTH.
This bug was recently solved on the master branch, see commit
2ea091955036.
prev parent reply other threads:[~2024-11-30 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 0:12 bug#56003: Bash functions not showing in speedbar carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-16 3:11 ` Visuwesh
2024-11-30 14:02 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86plmc7rc2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=56003-done@debbugs.gnu.org \
--cc=carlmarcos@tutanota.com \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.