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: 15 Dec 2006 09:03:39 -0800 Organization: http://groups.google.com Message-ID: <1166198381.140321.266660@16g2000cwy.googlegroups.com> References: <1166031290.755052.213430@l12g2000cwl.googlegroups.com> <4581c3cf$1@news.greennet.net> <1166103686.743846.291530@n67g2000cwd.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166204498 31699 80.91.229.10 (15 Dec 2006 17:41:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 17:41:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 18:41:36 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 1GvH3m-00057v-55 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 18:41:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvH3l-0006Up-NP for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 12:41:25 -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: 32 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1166202225 23803 127.0.0.1 (15 Dec 2006 17:03:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Dec 2006 17:03:45 +0000 (UTC) In-Reply-To: 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: 16g2000cwy.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143980 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:39584 Archived-At: Kevin Rodgers wrote: > Robert Thorpe wrote: > > Ken Goldman wrote: > >> 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. > > That problem only occurs when the library in question is dumped in to > the emacs executable (see loadup.el). Mostly that's true, but it's not really specific to things that are dumped. The issue applies to all variables/fns initialized by Emacs, but not to things that are autoloaded. Often, the set of all variables initialized is the same as the set of what is dumped into the Emacs executable. But, lets say your .emacs file loads foo.el, or triggers the loading of foo.el by using an autoloaded function or causing an autoloaded function to be loaded indirectly through some other function. If this happens and you replace foo.el with another library later then the issue may occur. None of this is a big problem of-course.