From: Barry OReilly <gundaetiapo@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: How to specify path to .emacs.d
Date: Mon, 29 Oct 2012 16:37:51 -0400 [thread overview]
Message-ID: <CAFM41H3JAPpDLHB279MPgonLWf1EE-WzGuSFmPYR7eszfYVGvA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Hi,
I'd like to know how to specify at the command line which directory Emacs
should use as the .emacs.d directory. I see the --user flag, but it seems
unnecessarily inflexible.
One use case I would like this for is so as I can run Emacs unintrusively
on a colleague's computer. --user flag doesn't serve the purpose for
technical reasons and I currently symlink their ~/.emacs.d to my .emacs.d
on a network share. For my colleagues who also use Emacs, this creates an
awkwardness whereby I backup their .emacs.d before creating my symlink, and
then remember to restore it later when finished.
Another use case is that I'm getting my Emacs configuration to work on
Windows, and I discovered that Windows shortcuts are apparently .lnk files
and don't function like a symlink. I'm unsure how to use a .emacs.d at an
arbitrary location, and only know to copy it to home instead. This is
inconvenient because I want to use a .emacs.d straight out of a Mercurial
repo located elsewhere.
Specifying a .emacs.d location as a command line flag would be a big help.
[-- Attachment #2: Type: text/html, Size: 1123 bytes --]
next reply other threads:[~2012-10-29 20:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 20:37 Barry OReilly [this message]
2012-10-29 22:27 ` How to specify path to .emacs.d Peter Dyballa
2012-10-30 9:46 ` Nicolas Richard
2012-10-30 13:30 ` Peter Münster
2012-10-30 14:44 ` Jambunathan K
2012-10-30 16:09 ` Evan Driscoll
-- strict thread matches above, loose matches on Subject: below --
2012-10-30 22:53 Barry OReilly
2012-10-31 10:26 ` Nicolas Richard
[not found] <mailman.12027.1351637586.855.help-gnu-emacs@gnu.org>
2012-10-31 0:51 ` Stefan Monnier
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=CAFM41H3JAPpDLHB279MPgonLWf1EE-WzGuSFmPYR7eszfYVGvA@mail.gmail.com \
--to=gundaetiapo@gmail.com \
--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.