all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to specify path to .emacs.d
Date: Tue, 30 Oct 2012 18:53:02 -0400	[thread overview]
Message-ID: <CAFM41H1xXMMSe1S1whrmm3xDj_40=22i2bdxqcuWL283mzeG8Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

>"Nicolas Richard" <address@hidden> writes:
>
>> Barry OReilly <address@hidden> writes:
>>> Specifying a .emacs.d location as a command line flag would be a big
>>> help.
>>
>> You could use apropos-value to list all variables which refer to
>> .emacs.d and then modify those from command line using --eval (although
>> sometimes that directory is hardcoded, e.g. in startup.el as a fallback
>> value). In particular, user-emacs-directory is of interest, and I'd
>> trying changing it, then run apropos-value to see what remains.
>
>`user-emacs-directory' is a defconst.

I removed ~/.emacs.d, verified no ~/.emacs, executed:
   emacs --eval '(setq user-emacs-directory "my/path/.emacs.d/")'

It did not work.  More precisely, Emacs did not load
my/path/.emacs.d/init.el .  C-h v does show that user-emacs-directory has
the /my/path/.emacs.d value, however.

[-- Attachment #2: Type: text/html, Size: 1050 bytes --]

             reply	other threads:[~2012-10-30 22:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 22:53 Barry OReilly [this message]
2012-10-31 10:26 ` How to specify path to .emacs.d Nicolas Richard
     [not found] <mailman.12027.1351637586.855.help-gnu-emacs@gnu.org>
2012-10-31  0:51 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2012-10-29 20:37 Barry OReilly
2012-10-29 22:27 ` 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

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='CAFM41H1xXMMSe1S1whrmm3xDj_40=22i2bdxqcuWL283mzeG8Q@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.