Re: semantic + speedbar automatically recenter buffers

David Engster <[email protected]> Thu, 30 Oct 2014 21:03:20 +0100
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
Xaver Gerster writes:
>> While I can't help you with your main problem: speedbar is maintained
>> in Emacs nowadays and not part of CEDET's bzr repo anymore.
>> -David
>
> I don't quite understand the latter statement. I did some more homework 
> on that:
>
> 1) when I do
>
> bzr checkout bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk cedet
>
> the directory structure I get under cedet contains
>
> ./lisp/cedet/ede/speedbar.elc
> ./lisp/cedet/ede/speedbar.el
> ./lisp/eieio/eieio-speedbar.el
> ./lisp/eieio/eieio-speedbar.elc
>
> so it *is* part of CEDET's bzr repo

No. The first one is a mode for Speedbar for displaying EDE
projects. The second are EIEIO classes from which you can inherit so
that your classes gain Speedbar support. The original Speedbar code is
underneath the 'obsolete' directory.

> Warning (initialization): An error occurred while loading 
> `/home/xxxxxx/.emacs.d/init.el':
> File error: Cannot open load file, ede/speedbar
>
> so it uses speedbar from CEDET's bzr repo and not the one shipped with emacs
> (b.t.w. this answers my own question about which speedbar is used ;) )

Again, this is just the mode for displaying EDE projects in Speedbar,
not Speedbar itself.

> 3) Finally, and as a side remark, if I do a 'diff -wc' between 
> speedbar.el as shipped with my current emacs 24.3 and the one from 
> cedet's trunk, they differ.

They are completely different, actually.

-David

------------------------------------------------------------------------------