From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: How to get rid of stock (standard) speedbar if do not have root access? Date: 14 Dec 2006 05:41:26 -0800 Organization: http://groups.google.com Message-ID: <1166103686.743846.291530@n67g2000cwd.googlegroups.com> References: <1166031290.755052.213430@l12g2000cwl.googlegroups.com> <4581c3cf$1@news.greennet.net> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166107327 29314 80.91.229.10 (14 Dec 2006 14:42:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2006 14:42:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 14 15:42:04 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 1GurmT-00064r-22 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2006 15:41:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GurmS-0004GE-Jn for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2006 09:41:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n67g2000cwd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1166103695 16374 127.0.0.1 (14 Dec 2006 13:41:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 14 Dec 2006 13:41:35 +0000 (UTC) In-Reply-To: <4581c3cf$1@news.greennet.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF1ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: n67g2000cwd.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143930 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:39534 Archived-At: Ken Goldman 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? > > I'm using emacs 21.3 on a managed system. > > I find that if I put my local .el file directory in load-path ahead of > the system version, it uses mine. So I don't delete old ones. I just > install new ones in my local .el directory. This mostly works, there are some gotchas though. Defvar does not change the value of variables that are already defined. So if an old version of Foo.el sets up variables in a particular way, then when you load the new version those variables will be set the same way they were in the old version. Using "unload" too is safer.