From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "christopherbalz" Newsgroups: gmane.emacs.help Subject: Re: How to get rid of stock (standard) speedbar if do not have root access? Date: 14 Dec 2006 10:12:48 -0800 Organization: http://groups.google.com Message-ID: <1166119968.268142.212260@16g2000cwy.googlegroups.com> References: <1166031290.755052.213430@l12g2000cwl.googlegroups.com> <1166032206.891346.41680@f1g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166121633 20814 80.91.229.10 (14 Dec 2006 18:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2006 18:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 14 19:40:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuvVH-0003Nc-J1 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2006 19:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuvVH-0004QP-EM for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2006 13:40:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!16g2000cwy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 68 Original-NNTP-Posting-Host: 208.51.197.126 Original-X-Trace: posting.google.com 1166119974 23811 127.0.0.1 (14 Dec 2006 18:12:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 14 Dec 2006 18:12:54 +0000 (UTC) In-Reply-To: <1166032206.891346.41680@f1g2000cwa.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 16g2000cwy.googlegroups.com; posting-host=208.51.197.126; posting-account=vuULPQwAAACC6U0oTIeYncV2pdCE-Ru0 Original-Xref: shelby.stanford.edu gnu.emacs.help:143934 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39539 Archived-At: 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: "# - Unmatched Text during Lexical Analysis" or (for another example): idle error: "# - 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.