I don't use normal-top-level-add-subdirs-to-loadpath, but by inspection,
it looks like it adds things to the end of the load path. Add-to-list,
on the other hand puts things on the beginning of the path.
If you add speedbar (via subdirs) to the end of the list, then cedet.el
will add-to-list, which will do nothing, and speedbar will be lost.
Thus, you should probably add all of cedet to .nosearch and let cedet.el
tweak the load path on its own.
Good Luck
Eric
On 02/09/2010 12:17 AM, Grant Rettke wrote:
> Hi,
>
> Yesterday I switched over from GNU Emacs 23.1 Windows XP to GNU Emacs
> 23.1 on Cygwin on Windows XP.
>
> What was odd was that CEDET 1.0pre6 complained that it:
>
> "Failed to find version for newly installed speedbar"
>
> Here is how I had configured the load-path:
>
> (add-to-list 'load-path "~/site-lisp/")
> (normal-top-level-add-subdirs-to-load-path)
>
> Which worked fine in Windows, but not Cygwin. I added this to fix it:
>
> (add-to-list 'load-path "~/site-lisp/cedet-1.0pre6/speedbar")
>
> I'm not sure if this is an Emacs, Cygwin, or CEDET issue and wondering
> if you had any ideas.
>
> CEDET "just works" again, but I would still like to know what is
> happening if possible.
>
> Best wishes,
>
> Grant Rettke
>
|