help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Re: Emacs-21.3-5 msi installer


From: Rex Dieter
Subject: Re: [h-e-w] Re: Emacs-21.3-5 msi installer
Date: Wed, 04 May 2005 07:22:42 -0500
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Brian Elmegaard wrote:
> Works like a charm, Rex.
> 
> I have the following suggestions to be put in default.el:
> (setenv "HOME" (getenv "USERPROFILE"))  ; users will not have the root
>                                         ; of C: as home

What if HOME is already set?
Wouldn't it be better to set HOME to %HOMEDRIVE%%HOMEPATH% (if they're
defined)?

> (cd (getenv "USERPROFILE"))             ; Change to home for file
>                                         ; operations

Shouldn't you use the (just possibly set) value of HOME instead?


> (setq user-init-file (concat (getenv "HOME") "\\_emacs")) ; .emacs is
>                                                           ; a problem
>                                                           ; on windows

Why is this needed exactly?  Is there a bug in the stock Emacs wrt this?


-- Rex




reply via email to

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