[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get rid of stock (standard) speedbar if do not have root acce
From: |
christopherbalz |
Subject: |
Re: How to get rid of stock (standard) speedbar if do not have root access? |
Date: |
18 Dec 2006 11:12:47 -0800 |
User-agent: |
G2/1.0 |
I've got this Emacs:
GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll
bars) of 2005-08-08 on tweety.build.redhat.com
and Speedbar 1.0pre3
I notice from my Ubuntu system at home that 21.4 or so is the latest
shipping version.
Interestingly, on re-start of Emacs and just a few operations,
including using the speedbar with jde and pulling up javadoc in a web
browser from c-c c-v c-w at point, there is no error. In any case, the
error is more of an inconvenience than anything more.
Robert Thorpe wrote:
> christopherbalz wrote:
> > No luck, having tried all kindly mentioned approaches.
> >
> > Unloading the speedbar:
> > (unload-feature 'speedbar)
> > in some places in my .emacs file does not work since the speedbar is
> > not loaded.
>
> Good point. I forgot how Speedbar works. The one function M-x
> speedbar is autoloaded.
> In this case you don't need to do any unloading, just to load the mode.
>
> > If I try this code right before '(load-file (expand-file-name
> > "~/emacs/site/cedet/common/cedet.elc"))':
> >
> > (load-file (expand-file-name "~/emacs/site/speedbar/sb-image.el")) ;;
> > Override stock, system speedbar.
> > (load-file (expand-file-name "~/emacs/site/speedbar/dframe.elc")) ;;
> > Override stock, system speedbar.
> > (load-file (expand-file-name "~/emacs/site/speedbar/speedbar.elc")) ;;
> > Override stock, system speedbar.
> >
>
> What you are doing here is loading things from a location that is not
> on the load-path. It is better to append to the load-path.
>
> (setq load-path (append load-path '("~/emacs/site/speedbar/")))
> (load "dframe")
> (load "sb-image")
> (load "speedbar")
>
> I think loading speedbar should load the others anyway, with this
> setup.
>
> > I then do get the updated speedbar (1.0pre3), but also continue to get
> > the annoyingly ever-repeated error message:
> > idle error: "#<buffer .emacs> - Unmatched Text during Lexical
> > Analysis"
> > or (for another example):
> > idle error: "#<buffer Packager.java> - Unmatched Text during Lexical
> > Analysis" [2 times]
> >
> > that is said to be due to the speedbar version conflict I am trying to
> > fix in the first place.
>
> That looks like a compability problem, probably between the Speedbar
> version you're using and the version of Emacs. Apart from that I don't
> know.
Re: How to get rid of stock (standard) speedbar if do not have root access?, Ken Goldman, 2006/12/13
Message not availableRe: How to get rid of stock (standard) speedbar if do not have root access?, Robert Thorpe, 2006/12/15
Re: How to get rid of stock (standard) speedbar if do not have root access?, Tim X, 2006/12/14