emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $USERPROFILE for $HOME on W32


From: Jason Rumney
Subject: Re: $USERPROFILE for $HOME on W32
Date: Thu, 25 Nov 2004 16:34:58 +0000
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Stefan Monnier wrote:

Here is a new patch.  Could people try it out and tell me if it works?
And tell me how to fix it (I can't try it out, I wish someone could help me
out, really, because coding and debugging blindly like that isn't much fun).
I haven't had time yet to test the whole patch, but I did a quick test of the bit you were'nt sure of:

+  (unless (getenv "SHELL")
+    ;; When is %emacs_dir% expanded?  Should I do it here?
+    (setenv "SHELL" "%emacs_dir%/bin/cmdproxy.exe")))
+

(setenv "TESTSHELL" "%emacs_dir%/bin/cmdproxy.exe")
"%emacs_dir%/bin/cmdproxy.exe"
(getenv "SHELL")
"C:/emacs/bin/cmdproxy.exe"
(getenv "TESTSHELL")
"%emacs_dir%/bin/cmdproxy.exe"


So I think that will need to be:

  (setenv "SHELL" (concat (getenv "emacs_dir") "/bin/cmdproxy.exe"))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]