GNU bug report logs - #16087
Setting HOME environment variable in Emacs on Windows has side effects

Previous Next

Package: emacs;

Reported by: SDS <sds.biz.main <at> gmail.com>

Date: Sun, 8 Dec 2013 07:12:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: SDS <sds.biz.main <at> gmail.com>
To: 16087 <at> debbugs.gnu.org
Subject: bug#16087: Setting HOME environment variable in Emacs on Windows has side effects
Date: Sat, 07 Dec 2013 15:45:01 -0500
Package: emacs
Version: 24.3.1

When running "emacs.exe -Q" for precompiled Emacs binaries on Windows, 
and after setting the HOME environment variable to a path different than 
the registry's HKCU\SOFTWARE\GNU\Emacs\HOME, attempting to access the 
old HOME directory returns the new HOME directory.

The steps to reproduce the bug are as follows:
1) Set the registry key "HKCU\SOFTWARE\GNU\Emacs\HOME" to "C:\Old\Home"
2) Run "emacs.exe -Q"
3) In a scratch buffer, evaluate "(setenv "HOME" "C:/New/Home")"
4) Using Dired (C-x d), open "C:\Old\Home"
5) The directory in the new Dired buffer is "C:\New\Home"


Cheers,

SDS




This bug report was last modified 11 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.