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 08:04:22 -0800 Organization: http://groups.google.com Message-ID: <1166198661.951917.257790@l12g2000cwl.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 1166200946 3699 80.91.229.10 (15 Dec 2006 16:42:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 16:42:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 17:42:25 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 1GvG8e-0004YS-6B for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 17:42:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvG8c-0007QX-To for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 11:42:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l12g2000cwl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1166198717 14474 127.0.0.1 (15 Dec 2006 16:05:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Dec 2006 16:05:17 +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 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: l12g2000cwl.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143976 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:39580 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.