help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Functions in bash do not always show in speedbar.


From: Kevin Vigouroux
Subject: Re: Functions in bash do not always show in speedbar.
Date: Mon, 07 Feb 2022 05:22:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> goncholden via Users list for the GNU Emacs text editor [2022-02-07 02:37:23] 
> wrote:
>> Have noticed that functions in bash do not always show in speedbar. Is there 
>> some setup I can do
>> for them to show up?

Note that `speedbar-supported-extension-expressions' may not match the
“.sh” extension.

>
> M-x report-emacs-bug RET
>
> and give enough details for someone else to reproduce the problem?
> I strongly suspect that you can reduce the problem to:
>
>     emacs -q .../my/foo.sh
>     M-x imenu TAB
>
> where the completions given after this TAB don't include some of the
> functions you have in that `foo.sh`.

#+begin_quote
When you change the contents of a buffer, if you add or delete
definitions, you can update the buffer’s index based on the new contents
by invoking the ‘*Rescan*’ item in the menu.  Rescanning happens
automatically if you set ‘imenu-auto-rescan’ to a non-‘nil’ value.
There is no need to rescan because of small changes in the text.
#+end_quote

> So trim the file down to just those functions and included it in your
> bug report, so we can see what they look like.
>
>
>         Stefan
>
-- 
Kevin Vigouroux
Best regards



reply via email to

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