From: Glenn Morris <rgm@gnu.org>
To: "François Févotte" <francois.fevotte@ensta.org>
Cc: 15539@debbugs.gnu.org
Subject: bug#15539: Setting user-emacs-directory at command line invocation
Date: Sun, 15 Mar 2015 20:36:53 -0400 [thread overview]
Message-ID: <8uk2yhg4m2.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAADsv966ew8NseGyaEZgJ8c1birphdgF9TXp5YNdZzOkjV7GVA@mail.gmail.com> ("François Févotte"'s message of "Fri, 13 Mar 2015 16:01:55 +0100")
François Févotte wrote:
> Implementationwise, I'm not very proud of having to define a new global
> variable,
I'm not saying it's the right solution, but you could use an environment
variable (eg EMACS_USER_DIRECTORY) rather than a command-line switch to
control this. This would be consistent with eg EMACSDATA, and also I
think with how other applications normally let you control where they
look for their init files (?). But on the other hand, environment
variables can be easier to overlook than explicit flags eg when
debugging.
On the other other hand, the OP could just do
ln -s mine.d .emacs.d
so I'm not sure what the point of this feature would be, unless eg you
frequently want to swap between different .emacs.d's?
next prev parent reply other threads:[~2015-03-16 0:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 17:08 bug#15539: 24.3; setting user-emacs-directory at command line invocation Mike Carifio
2015-03-13 15:01 ` bug#15539: Setting " François Févotte
2015-03-16 0:36 ` Glenn Morris [this message]
2015-03-16 7:28 ` François Févotte
2015-03-17 10:08 ` François Févotte
2016-02-15 10:31 ` bug#15539: [PATCH] Setting user-emacs-directory Alexis
2016-02-15 14:15 ` Eli Zaretskii
2016-02-24 4:03 ` Lars Ingebrigtsen
2016-02-24 17:15 ` Eli Zaretskii
2016-02-25 5:48 ` Lars Ingebrigtsen
2016-11-03 22:32 ` bug#15539: comment Max
2016-11-04 7:28 ` Eli Zaretskii
2016-11-04 12:42 ` Evgeny Roubinchtein
2016-11-04 12:55 ` Noam Postavsky
2016-11-04 13:59 ` Eli Zaretskii
2016-12-14 18:43 ` Glenn Morris
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=8uk2yhg4m2.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=15539@debbugs.gnu.org \
--cc=francois.fevotte@ensta.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.