all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16087: Setting HOME environment variable in Emacs on Windows has side effects
@ 2013-12-07 20:45 SDS
  2013-12-08 17:38 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: SDS @ 2013-12-07 20:45 UTC (permalink / raw)
  To: 16087

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-09  3:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 20:45 bug#16087: Setting HOME environment variable in Emacs on Windows has side effects SDS
2013-12-08 17:38 ` Eli Zaretskii
2013-12-08 19:44   ` bug#16087: " SDS
2013-12-08 20:09     ` Eli Zaretskii
2013-12-08 21:14       ` SDS
2013-12-09  3:43         ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.