GNU bug report logs - #56003
Bash functions not showing in speedbar

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Thu, 16 Jun 2022 00:44:02 UTC

Severity: normal

Merged with 21477, 52319, 52928, 54265, 57255, 58554

Found in version 24.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56003 in the body.
You can then email your comments to 56003 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56003; Package emacs. (Thu, 16 Jun 2022 00:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to carlmarcos <at> tutanota.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 Jun 2022 00:44:02 GMT) Full text and rfc822 format available.

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

From: carlmarcos <at> tutanota.com
To: Bug Gnu Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Bash functions not showing in speedbar
Date: Thu, 16 Jun 2022 02:12:11 +0200 (CEST)
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Forcibly Merged 21477 52319 52928 54265 56003. Request was from Glenn Morris <rgm <at> fencepost.gnu.org> to control <at> debbugs.gnu.org. (Thu, 16 Jun 2022 00:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56003; Package emacs. (Thu, 16 Jun 2022 03:12:02 GMT) Full text and rfc822 format available.

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

From: Visuwesh <visuweshm <at> gmail.com>
To: carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>
Cc: carlmarcos <at> tutanota.com, 56003 <at> debbugs.gnu.org
Subject: Re: bug#56003: Bash functions not showing in speedbar
Date: Thu, 16 Jun 2022 08:41:12 +0530
[வியாழன் ஜூன் 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56003; Package emacs. (Thu, 16 Jun 2022 03:12:02 GMT) Full text and rfc822 format available.

Forcibly Merged 21477 52319 52928 54265 56003 57255. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 17 Aug 2022 11:15:02 GMT) Full text and rfc822 format available.

Forcibly Merged 21477 52319 52928 54265 56003 57255 58554. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 16 Oct 2022 04:14:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:02 GMT) Full text and rfc822 format available.

Notification sent to carlmarcos <at> tutanota.com:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:02 GMT) Full text and rfc822 format available.

Message #22 received at 56003-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 56003-done <at> debbugs.gnu.org, carlmarcos <at> tutanota.com
Subject: Re: bug#56003: Bash functions not showing in speedbar
Date: Sat, 30 Nov 2024 16:02:05 +0200
> From: Visuwesh <visuweshm <at> gmail.com>
> Date: Thu, 16 Jun 2022 08:41:12 +0530
> Cc: carlmarcos <at> tutanota.com, 56003 <at> 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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Persico <mpersico5 <at> bloomberg.net>:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:02 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:02 GMT) Full text and rfc822 format available.

Notification sent to fatiparty <at> tutanota.com:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:03 GMT) Full text and rfc822 format available.

Notification sent to tolugboji <tolugboji <at> protonmail.com>:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:03 GMT) Full text and rfc822 format available.

Notification sent to angelomolina <at> tutanota.com:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:04 GMT) Full text and rfc822 format available.

Notification sent to uzibalqa <uzibalqa <at> proton.me>:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:04 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 30 Nov 2024 14:03:04 GMT) Full text and rfc822 format available.

Notification sent to Heime <heimeborgia <at> protonmail.com>:
bug acknowledged by developer. (Sat, 30 Nov 2024 14:03:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 29 Dec 2024 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.