From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: $USERPROFILE for $HOME on W32 Date: Thu, 25 Nov 2004 16:34:58 +0000 Message-ID: <41A609B2.6020202@gnu.org> References: <87vfbycsgj.fsf-monnier+emacs@gnu.org> <87mzx69bkn.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101400766 21890 80.91.229.6 (25 Nov 2004 16:39:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Nov 2004 16:39:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 25 17:39:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CXMeD-0008Dv-00 for ; Thu, 25 Nov 2004 17:39:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXMk9-0007gj-IF for ged-emacs-devel@m.gmane.org; Thu, 25 Nov 2004 11:45:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CXMji-0007fg-0o for emacs-devel@gnu.org; Thu, 25 Nov 2004 11:44:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CXMjg-0007f6-5u for emacs-devel@gnu.org; Thu, 25 Nov 2004 11:44:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXMjg-0007f3-2W for emacs-devel@gnu.org; Thu, 25 Nov 2004 11:44:48 -0500 Original-Received: from [217.207.198.106] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXMa7-0000pu-WF for emacs-devel@gnu.org; Thu, 25 Nov 2004 11:34:56 -0500 Original-Received: from ASSP-nospam (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id SBWN8VDY; Thu, 25 Nov 2004 16:34:27 -0000 Original-Received: from 192.168.111.196 ([192.168.111.196] helo=[192.168.111.196]) by ASSP-nospam ; 25 Nov 04 16:34:27 -0000 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: <87mzx69bkn.fsf-monnier+emacs@gnu.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30349 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30349 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"))