I just installed GNU Emacs 23.1.1 on a new machine and copied my ~/.emacs
and ~/.emacs.d/
from another machine where I'm running emacs 25.1.1.
When I launch emacs it writes Error (initialization): User <my_id> has no home directory
into a buffer. Not surprisingly, it also has not read .emacs
.
One thing odd about this machine is that home directories are stored in /home/
, rather than in /mxhome/
like in the rest of my work environment, and this new machine has a symlink from /mxhome -> /home
. I don't know if that is important.
UPDATE: launching with emacs -q -l /home/my_id/.emacs
filename loads the .emacs
file and avoids the error, although I don't know if it solves the problem entirely.
Emacs administration is largely a mystery to me. Can anyone help?
emacs --no-site-file
? – Stefan Jul 7 '17 at 23:27HOME
environment variable set? If not, try settingHOME
. – Drew Jul 7 '17 at 23:54emacs --no-site-file
. I do haveHOME
set to/mxhome/my_id
which, as noted above, is a symlink. – Chap Jul 8 '17 at 0:05