Georg Bauhaus <[email protected]> writes:

> Am 08.11.2014 um 22:32 schrieb Stephen Leake <[email protected]>:
>
>>> 
>>> My
>>> question is really meant for other, yet-unknown functions of ada-mode 4
>>> that some users might still rely on.  I'd like to make them all
>>> disappear.
>> 
>> Right, that would be ideal.
>
> Speedbar. I had always wanted to look if it still works.
> It seems it does not any more, at the level of Ada source text,
> as it does in 4.x

The only mention of 'speedbar' in both 4.01 and 5.x is in the ada-mode
function;

  (when (fboundp 'speedbar-add-supported-extension)
    (speedbar-add-supported-extension spec)
    (speedbar-add-supported-extension body))

Ah; invoking ?+ in the speedbar window calls
speedbar-fetch-dynamic-tags, which uses
speedbar-dynamic-tags-function-list, which defaults to

((speedbar-fetch-dynamic-imenu . speedbar-insert-imenu-list)
 (speedbar-fetch-dynamic-etags . speedbar-insert-etags-list))

imenu support in ada-mode is only enabled if you have done (require
'imenu) before (require 'ada-mode); see the end of ada-mode.el.

Doing that enables imenu, which also enables speedbar.

imenu is mentioned in ada-mode.texi in "other customizations"; I'll add
speedbar to that.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to