From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: How to get rid of stock (standard) speedbar if do not have root access?
Date: 15 Dec 2006 09:03:39 -0800 [thread overview]
Message-ID: <1166198381.140321.266660@16g2000cwy.googlegroups.com> (raw)
In-Reply-To: <mailman.1890.1166119927.2155.help-gnu-emacs@gnu.org>
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.
next prev parent reply other threads:[~2006-12-15 17:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-13 17:34 How to get rid of stock (standard) speedbar if do not have root access? christopherbalz
2006-12-13 17:50 ` Robert Thorpe
2006-12-14 18:12 ` christopherbalz
2006-12-15 13:54 ` Robert Thorpe
2006-12-18 19:12 ` christopherbalz
2006-12-19 11:31 ` Robert Thorpe
2006-12-19 17:24 ` christopherbalz
2006-12-13 21:41 ` Ken Goldman
2006-12-14 13:41 ` Robert Thorpe
2006-12-14 18:10 ` Kevin Rodgers
[not found] ` <mailman.1890.1166119927.2155.help-gnu-emacs@gnu.org>
2006-12-15 16:04 ` Robert Thorpe
2006-12-15 17:03 ` Robert Thorpe [this message]
2006-12-15 17:36 ` Robert Thorpe
2006-12-14 22:55 ` Tim X
2006-12-19 18:00 ` christopherbalz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1166198381.140321.266660@16g2000cwy.googlegroups.com \
--to=rthorpe@realworldtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).