> From: Eric Hanchrow <[EMAIL PROTECTED]> > Date: Thu, 10 Aug 2006 17:49:58 -0700 > > * paste or type this into the *scratch* buffer, and hit C-x C-e > > (progn > (setenv "HOME" (getenv "USERPROFILE")) > ;;(setq abbreviated-home-dir nil) > (let ((home (find-file-noselect "~/")) > (ad (find-file-noselect "~/Application Data/"))) > (when (eq home ad) > (error "Aha. We found the bug.")) > (message "I guess the bug is fixed or hidden."))) > > I predict you'll see the error "Aha. We found the bug." > > I think this is a bug because I've changed the HOME variable to be > "c:/Documents and Settings/erich/"
setenv only changes the environment passed to child processes that Emacs runs, but does not change Emacs's own environment. So this behavior is quite intentional. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
