From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How specify on the command line which .emacs to use?
Date: Sun, 06 Sep 2015 05:41:02 +0300 [thread overview]
Message-ID: <8337ys8e2p.fsf@gnu.org> (raw)
In-Reply-To: <e048b45b-a9d9-4f13-8529-17bd7fb22050@googlegroups.com>
> Date: Sat, 5 Sep 2015 19:02:53 -0700 (PDT)
> From: BobD <daycandle@gmail.com>
>
> Is there a way I can specify on the command line which .emacs file to use?
>
> I am now using this command line: runemacs.exe -q -l /Directory/.emacs
> The "-q" means not to use a .emacs file. The "-l" loads the named file.
> But the "-q" suppresses saving customizations.
>
> I'd like something like this: runemacs.exe -dotemacsfile /Directory/.emacs
Since you are on Windows, the easiest would be to point the HOME
environment variable to the directory where you want to have the
.emacs file.
If that doesn't fix your problem, please tell more about the reason
you need this.
Just FYI: loading .emacs via the -l switch does not have the same
effect as loading .emacs "normally", when Emacs finds it during
startup, because some things you can put in .emacs are only effective
during startup.
next prev parent reply other threads:[~2015-09-06 2:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-06 2:02 How specify on the command line which .emacs to use? BobD
2015-09-06 2:41 ` Eli Zaretskii [this message]
2015-09-06 3:04 ` Emanuel Berg
2015-09-06 14:29 ` Eli Zaretskii
2015-09-07 8:17 ` Rainer M Krug
2015-09-07 23:36 ` Emanuel Berg
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=8337ys8e2p.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).