From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: change location of .emacs
Date: Wed, 21 Feb 2007 21:16:34 +0200 [thread overview]
Message-ID: <u3b4zl3sd.fsf@gnu.org> (raw)
In-Reply-To: <slrnetouu8.cpb.bergv@bolmikolke.math.uiuc.edu> (message from Maarten Bergvelt on Wed, 21 Feb 2007 17:05:12 +0000 (UTC))
> From: Maarten Bergvelt <bergv@math.uiuc.edu>
> Date: Wed, 21 Feb 2007 17:05:12 +0000 (UTC)
>
> In article <871wkjpiaz.fsf@gmail.com>, Hadron wrote:
> >
> > A quick google shows me I can change the "user" with -u to pick up that
> > users .emacs, but how to just say I want MY ".emacs" which is in another
> > directory? I wish to keep my .emacs in my "lisp" directory and tell
> > emacs about it on the command line. Possible?
>
> To learn about emacs maybe not google but read the documentation? See
> command line arguments section in the manual, you seem to be looking
> for
> 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.
To the OP: I suggest to put a one-line .emacs in your HOME directory
that says this:
(load "your.lisp.directory/your.emacs.file")
next prev parent reply other threads:[~2007-02-21 19:16 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 [this message]
[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
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=u3b4zl3sd.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.
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).