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