all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: change location of .emacs
Date: Thu, 22 Feb 2007 06:26:00 +0200	[thread overview]
Message-ID: <utzxekecn.fsf@gnu.org> (raw)
In-Reply-To: <slrnetp7jf.d0r.bergv@bolmikolke.math.uiuc.edu> (message from Maarten Bergvelt on Wed, 21 Feb 2007 19:33:03 +0000 (UTC))

> 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	other threads:[~2007-02-22  4:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 16:49 change location of .emacs Hadron
2007-02-21 17:05 ` Maarten Bergvelt
2007-02-21 17:20   ` Hadron
2007-02-21 17:36     ` Maarten Bergvelt
2007-02-21 19:16   ` Eli Zaretskii
     [not found]   ` <mailman.4858.1172085400.2155.help-gnu-emacs@gnu.org>
2007-02-21 19:33     ` Maarten Bergvelt
2007-02-22  4:26       ` Eli Zaretskii [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=utzxekecn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.