[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speedbar not showing all function names in a bash shell script file
From: |
fatiparty |
Subject: |
Re: Speedbar not showing all function names in a bash shell script file |
Date: |
Sun, 5 Dec 2021 15:52:32 +0100 (CET) |
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.