bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15539: Setting user-emacs-directory at command line invocation


From: Glenn Morris
Subject: bug#15539: Setting user-emacs-directory at command line invocation
Date: Sun, 15 Mar 2015 20:36:53 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]