From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: warning 'User has no home directory' with version 22.0.50 on msw2000 Date: Thu, 13 Jul 2006 11:37:19 -0500 Organization: UseNetServer.com Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152808928 7022 80.91.229.2 (13 Jul 2006 16:42:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2006 16:42:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 13 18:42:05 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G14GC-0002V4-03 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jul 2006 18:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G14GB-0008NK-Hw for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jul 2006 12:41:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 25 Original-X-Trace: a9acd44b6770ba13b7b2331759 Original-Xref: shelby.stanford.edu gnu.emacs.help:140323 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35948 Archived-At: 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 --