unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: warning 'User has no home directory' with version 22.0.50 on msw2000
Date: Thu, 13 Jul 2006 11:37:19 -0500	[thread overview]
Message-ID: <a9acd$44b6770b$49ede86$31759@DIALUPUSA.NET> (raw)

I wanted emacs to live in c:\emacs rather than being buried deeply in the
Documents and Settings subdir. I moved everything to c:\emacs but I get
the above error (or something to that effect, it's not verbatim). I have
Administrator rights on the machine so I tried setting the home dir for
Admin, Guest, and User1 all to c:\emacs and also put SET HOME=C:\EMACS  in
the autoexec.bat, all to no avail.
On the web there are instructions for putting emacs+auctex onto a thumb
drive, including this code (to go into site-start.el):

(defvar usb-drive-letter (substring data-directory 0 3))
(defvar usb-home-dir (concat usb-drive-letter "home/"))

(setenv "HOME" usb-home-dir)

Do I have to do something like that to get emacs to work in an arbitrary
subdirectory in msw2000? I don't really understand the above. Does emacs
interpret site-start.el before .emacs itself?

Thanks,
 Ed


--

             reply	other threads:[~2006-07-13 16:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 16:37 B. T. Raven [this message]
2006-07-13 18:55 ` warning 'User has no home directory' with version 22.0.50 on msw2000 Eli Zaretskii
     [not found] ` <mailman.4065.1152816964.9609.help-gnu-emacs@gnu.org>
2006-07-13 19:10   ` Ralf Angeli
2006-07-13 22:58     ` B. T. Raven
2006-07-14 11:40       ` B. T. Raven

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a9acd$44b6770b$49ede86$31759@DIALUPUSA.NET' \
    --to=ecinmn@alcisp.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).