From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6115: 64 bit windows environment variables Date: Thu, 06 May 2010 09:16:28 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273162268 22111 80.91.229.12 (6 May 2010 16:11:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 16:11:08 +0000 (UTC) Cc: 6115@debbugs.gnu.org, ess-core@stat.math.ethz.ch To: "RICHARD M. HEIBERGER" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 06 18:11:07 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OA3fG-0008Oo-OO for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 May 2010 18:11:07 +0200 Original-Received: from localhost ([127.0.0.1]:44717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA3fF-0002Kv-On for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 May 2010 12:11:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA15u-0006FP-G1 for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 09:26:26 -0400 Original-Received: from [140.186.70.92] (port=33249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA15o-00064V-97 for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 09:26:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA15g-0007Km-Jt for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 09:26:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48163) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA15f-0007KN-48 for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 09:26:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OA0wn-0002R6-Sv; Thu, 06 May 2010 09:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2010 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6115 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6115-submit@debbugs.gnu.org id=B6115.12731517969349 (code B ref 6115); Thu, 06 May 2010 13:17:01 +0000 Original-Received: (at 6115) by debbugs.gnu.org; 6 May 2010 13:16:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA0wN-0002Qk-MB for submit@debbugs.gnu.org; Thu, 06 May 2010 09:16:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA0wL-0002Qc-HW for 6115@debbugs.gnu.org; Thu, 06 May 2010 09:16:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGde4kvO+IB1/2dsb2JhbACdZ3K9NIUTBIwwgxI X-IronPort-AV: E=Sophos;i="4.52,341,1270440000"; d="scan'208";a="63568199" Original-Received: from 206-248-128-117.dsl.teksavvy.com (HELO alfajor.home) ([206.248.128.117]) by ironport2-out.pppoe.ca with ESMTP; 06 May 2010 09:16:28 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 099B9AF455; Thu, 6 May 2010 09:16:28 -0400 (EDT) In-Reply-To: (RICHARD M. HEIBERGER's message of "Wed, 5 May 2010 15:29:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 May 2010 09:17:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36744 Archived-At: >> From the MS Windows 64 bit CMD window I get > c:\>echo %ProgramFiles(x86)% > C:\Program Files (x86) > c:\>echo %ProgramFiles% > C:\Program Files [...] > GNU Emacs 23.1.97.1 (i386-mingw-nt6.1.7600) of 2010-05-04 on G41R2F1 > I get > (getenv "ProgramFiles(x86)") > "C:\\Program Files (x86)" > (getenv "ProgramFiles") > "C:\\Program Files (x86)" [...] > In Emacs, both the "ProgramFiles*" environment variables give the same > result. I don't think that should be correct behavior. I know close to nothing about Windows, but I expect this has nothing to do with Emacs itself but instead it's a feature of the OS, where %ProgramFiles% returns "C:\Program Files" when running a 64bit program and "C:\Program Files (x86)" when running a 32bit program (and apparently your Emacs was compiled as a 32bit program). Stefan