help-gnu-emacs
[Top][All Lists]
Advanced

[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: 14 Dec 2006 10:12:48 -0800
User-agent: G2/1.0

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.

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.

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.

Other things tried:  I tried  or right after '(require 'jde)':

(unload-feature (speedbar 'force))

I do get the latest speedbar (1.0pre3), but then I get this error:
   unload-feature: nil is not a currently loaded feature

At least, I have the updated speedbar now.

However, that the annoyingly ever-repeated error message sometimes
interrupts viewing the message line, and suggests that the problem is
not really solved.

Any ideas?




Robert Thorpe wrote:
> christopherbalz wrote:
> > I'm running the latest speedbar, as required by the Java Dev
> > Environment for Emacs, so I need (per the instructions) to delete the
> > stock speedbar.  But, as with many users, I am working in an
> > environment where I do not have root access.  So I can't delete the old
> > speedbar.
> >
> > Is there a way to get rid of the stock speedbar without having to copy
> > over the entire install dir on the system to my local account and
> > redirect Emacs on startup completely to that?  For example, is there a
> > way to manipulate the load path to avoid just the old speedbar, and
> > leave the other loading unchanged?
>
> You should probably be able to:-
> * Put new speedbar in your own dir
> * Unload the old speedbar, see here:-
> http://www.cs.huji.ac.il/support/emacs/elisp-help/elisp-manref/elisp_15.html#SEC202
> * Load the new speedbar
> 
> It will probably slow Emacs load time unfortunately.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]