From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: (Windows:) cmdproxy non-existent on bootstrapping after make realclean Date: Mon, 22 Mar 2004 12:38:19 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040322111734.ACD6.JMBARRANQUERO@wke.es> References: <20040321190023.5D7E.LEKTU@mi.madritel.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1079957118 6149 80.91.224.253 (22 Mar 2004 12:05:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 12:05:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 13:05:09 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5OB3-0002RR-00 for ; Mon, 22 Mar 2004 13:05:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5OB3-0006xg-00 for ; Mon, 22 Mar 2004 13:05:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5O9r-0004gJ-3h for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 07:03:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5O7s-0004Ot-SS for emacs-devel@gnu.org; Mon, 22 Mar 2004 07:01:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5NyI-0003Eb-Hc for emacs-devel@gnu.org; Mon, 22 Mar 2004 06:52:30 -0500 Original-Received: from [62.22.181.117] (helo=idefix.laley.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5NlP-0000hN-Nk for emacs-devel@gnu.org; Mon, 22 Mar 2004 06:38:40 -0500 Original-Received: from [172.17.221.23] (jsredondo.wk.org [172.17.221.23]) by idefix.laley.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id HNSWZX0Y; Mon, 22 Mar 2004 12:37:31 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: Becky! ver. 2.08.01 [en] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20724 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20724 On 22 Mar 2004 07:49:22 +0200 Eli Zaretskii wrote: > Is it true that the variables in the registry are actually pushed > into the environment of the running Emacs, so that `getenv' sees > them? Well, if I change HKLM\SOFTWARE\GNU\Emacs\SHELL to point to a non-existent exe, M-x shell fails, so yes. > I don't think this is a hack no more than the whole Makefile system > for building Emacs on Windows, which is already full of worse tricks > in order to support the different makes of shells, compilers, and Make > varieties. The "hack", in my view, is having to process %COMSPEC% to escape \'s before passing it to Emacs. But, hey, I agree: the Windows makefile system is a bit of a nightmare (though I *fully* understand why it's done the way it is, I'm not pointing fingers). > If so, can we override these variables with real environment > variables set either by the shell or by Make? Yes, you're right! I overlooked that :) So, you're proposing this fix instead of deleting the registry entries? If so, what's a good default to SHELL? %COMSPEC%? Juanma