all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "RICHARD M. HEIBERGER" <rmh@temple.edu>
Cc: 6115@debbugs.gnu.org, ess-core@stat.math.ethz.ch
Subject: bug#6115: 64 bit windows environment variables
Date: Thu, 06 May 2010 09:16:28 -0400	[thread overview]
Message-ID: <jwvbpctnph2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <r2yc9b79b281005051229od348bf6ctcf56d3da578c65e1@mail.gmail.com> (RICHARD M. HEIBERGER's message of "Wed, 5 May 2010 15:29:54 -0400")

>> 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






  parent reply	other threads:[~2010-05-06 13:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 19:29 bug#6115: 64 bit windows environment variables RICHARD M. HEIBERGER
2010-05-06 10:23 ` Juanma Barranquero
2010-05-06 13:16 ` Stefan Monnier [this message]
2010-05-10 11:43   ` Martin Maechler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbpctnph2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=6115@debbugs.gnu.org \
    --cc=ess-core@stat.math.ethz.ch \
    --cc=rmh@temple.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.