GNU bug report logs -
#22875
24.5; HOME-variable not resolve in Win7
Previous Next
Reported by: Studt Reimer <reimer.studt <at> haw-landshut.de>
Date: Tue, 1 Mar 2016 19:47:02 UTC
Severity: normal
Tags: moreinfo, wontfix
Found in version 24.5
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Studt Reimer <reimer.studt <at> haw-landshut.de>
> Date: Tue, 1 Mar 2016 19:38:18 +0000
>
> On start-up of emacs, the .emacs file could not be loaded, because emacs
> resolved the Windows HOME variable to *exactly* how it was defined. That
> was the text %HOMEDRIVE%%HOMEPATH%. Emacs could not resolve these two
> variables.
The feature you expected is not supported. Environment variables are
only expanded at startup if they are found in the Registry, not in the
shell's environment.
How did you define such a value for an environment variable? If I try
defining HOME=%HOMEDRIVE%%HOMEPATH% from the cmd prompt, cmd expands
the 2 variables, and the same if I defined HOME from the Computer's
Properties' "Advanced" tab. So I'm not sure how you get into this
situation. Can you explain?
Thanks.
This bug report was last modified 8 years and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.