unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Speedbar not showing all function names in a bash shell script file
@ 2021-12-02  8:43 fatiparty--- via Users list for the GNU Emacs text editor
  2021-12-03 13:43 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-12-02  8:43 UTC (permalink / raw)
  To: Help Gnu Emacs

Speedbar not showing all function names in a bash shell script file.  Is- there some problem with the speedbar, or am I missing some settings.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Speedbar not showing all function names in a bash shell script file
  2021-12-02  8:43 Speedbar not showing all function names in a bash shell script file fatiparty--- via Users list for the GNU Emacs text editor
@ 2021-12-03 13:43 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2021-12-05 14:28   ` fatiparty--- via Users list for the GNU Emacs text editor
       [not found]   ` <Mq9zof2--3-2@tutanota.com-Mq9zyox----2>
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2021-12-03 13:43 UTC (permalink / raw)
  To: help-gnu-emacs

fatiparty--- via Users list for the GNU Emacs text editor [2021-12-02 09:43:11] wrote:
> Speedbar not showing all function names in a bash shell script file.  Is-
> there some problem with the speedbar, or am I missing some settings.

Probably sh-mode fails to recognize your functions.
To be sure it's not a problem in speedbar, you might want to try `M-x
imenu` and check if the functions all appear in there (Speedbar takes
its info from there, usually).
I suggest `M-x report-emacs-bug` giving the details of the functions
that are missing or better yet a recipe to reproduce the problem from
`emacs -Q`.


        Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Speedbar not showing all function names in a bash shell script file
  2021-12-03 13:43 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2021-12-05 14:28   ` fatiparty--- via Users list for the GNU Emacs text editor
       [not found]   ` <Mq9zof2--3-2@tutanota.com-Mq9zyox----2>
  1 sibling, 0 replies; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-12-05 14:28 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Help Gnu Emacs

Dec 3, 2021, 13:43 by help-gnu-emacs@gnu.org:

> fatiparty--- via Users list for the GNU Emacs text editor [2021-12-02 09:43:11] wrote:
>
>> Speedbar not showing all function names in a bash shell script file.  Is-
>> there some problem with the speedbar, or am I missing some settings.
>>
>
> Probably sh-mode fails to recognize your functions.
> To be sure it's not a problem in speedbar, you might want to try `M-x
> imenu` and check if the functions all appear in there (Speedbar takes
> its info from there, usually).
> I suggest `M-x report-emacs-bug` giving the details of the functions
> that are missing or better yet a recipe to reproduce the problem from
> `emacs -Q`.
>
>
>  Stefan
>
I have done  `M-x imenu` as per your suggestion, and only a few functions appear in there.  As you described, the functions that I see displayed on the speedbar are the ones listed by imenu.  Could it be a problem with imenu then?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Speedbar not showing all function names in a bash shell script file
       [not found]   ` <Mq9zof2--3-2@tutanota.com-Mq9zyox----2>
@ 2021-12-05 14:52     ` fatiparty--- via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 4+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2021-12-05 14:52 UTC (permalink / raw)
  To: Fatiparty; +Cc: Stefan Monnier, Help Gnu Emacs


Dec 5, 2021, 14:28 by help-gnu-emacs@gnu.org:

> Dec 3, 2021, 13:43 by help-gnu-emacs@gnu.org:
>
>> fatiparty--- via Users list for the GNU Emacs text editor [2021-12-02 09:43:11] wrote:
>>
>>> Speedbar not showing all function names in a bash shell script file.  Is-
>>> there some problem with the speedbar, or am I missing some settings.
>>>
>>
>> Probably sh-mode fails to recognize your functions.
>> To be sure it's not a problem in speedbar, you might want to try `M-x
>> imenu` and check if the functions all appear in there (Speedbar takes
>> its info from there, usually).
>> I suggest `M-x report-emacs-bug` giving the details of the functions
>> that are missing or better yet a recipe to reproduce the problem from
>> `emacs -Q`.
>>
>>
>>  Stefan
>>
> I have done  `M-x imenu` as per your suggestion, and only a few functions appear in there.  As you described, the functions that I see displayed on the speedbar are the ones listed by imenu.  Could it be a problem with imenu then?
>

Have just used `emacs -Q`, followed by `M-x imenu`.  The result is the same.  Only some of the functions are being displayed by imenu.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-05 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02  8:43 Speedbar not showing all function names in a bash shell script file fatiparty--- via Users list for the GNU Emacs text editor
2021-12-03 13:43 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-12-05 14:28   ` fatiparty--- via Users list for the GNU Emacs text editor
     [not found]   ` <Mq9zof2--3-2@tutanota.com-Mq9zyox----2>
2021-12-05 14:52     ` fatiparty--- via Users list for the GNU Emacs text editor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).