>>> Hannu Koivisto <azure@...> seems to think that:
>Please see the four screenshots at
><http://www.iki.fi/azure/tmp/speedbar/>. The first one is the
>starting point and everyhing is ok (except what darn thing changes
>the background of the first line of the function when my cursor is
>within that function? I tried disabling everything I could find in
>the menus and yet it stayed that way).
That is semantic-highlight-func-mode. It is enabled with
`semantic-load-enable-excessive-code-helpers' because it is, well, a
It is like highlight-line mode, except it just blinks on the tag you
are in instead.
>In the second one I have started info. Observe that speedbar
>displays the end of the info manual list and wastes half of the
>vertical space in the buffer.
>In the third one I have quit info and I'm back to the C buffer.
>Speedbar frame is empty though the scroll bar suggests that there
>is probably something in there; it's just positioned to a place
>that doesn't actually have any text.
>If I switch focus to the speedbar frame, point is repositioned and
>the frame now actually displays what it should. This is shown in
>the fourth image.
Wow, I haven't fixed a speedbar bug in years.
I expect that a cursor repositioning is in order. Unfortunately, I
was actually planning to eject speedbar from CEDET soon as the Emacs
version has advanced past what I have, and the merges have become
exceeding difficult. I've always tried to keep speedbar working for
older Emacsen, but my little compatibility hacks have all been removed
from the Emacs version, making life difficult.
I tried the following patch, and it fixed it for me:
*** sb-info.el.~1.20.~ 2007-01-22 21:18:49.000000000 -0500
--- sb-info.el 2009-03-02 19:28:00.000000000 -0500
*** 245,250 ****
--- 245,251 ----
(not (looking-at "Info Nodes:")))
(Info-speedbar-hierarchy-buttons nil 0)
+ (goto-char (point-min))
The real fix is to get this propagated up into Emacs, where this code
block is somewhere in Info.
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net