help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change location of .emacs


From: Eli Zaretskii
Subject: Re: change location of .emacs
Date: Thu, 22 Feb 2007 06:26:00 +0200

> From: Maarten Bergvelt <bergv@math.uiuc.edu>
> Date: Wed, 21 Feb 2007 19:33:03 +0000 (UTC)
> >>
> >> emacs -q -l lispdirectory/your.emacs.file
> > 
> > This suggestion could have surprising effects, as loading .emacs via
> > the -l switch is subtly different from what Emacs does when it finds
> > .emacs in the user's home directory.
> 
> Hm, I didn't realize this. What can go wrong?

Emacs loads .emacs at a specific stage in its initialization; doing
that after the initialization will work differently.  For example,
initial-frame-alist will not have its full effect.

> Well, the OP didn't want to have a .emacs in his home directory, if I
> understood him correctly.

I think he only wanted to maintain the bulk of it elsewhere.  But
that's a guess; you may well be right (although I fail to see how the
existence of .emacs can be of any burden).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]