From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2062: PATH can contain non-expanded variables Date: Tue, 27 Jan 2009 21:30:41 +0200 Message-ID: References: <497E69EB.70609@f2s.com> <497ED2B7.2080509@f2s.com> Reply-To: Eli Zaretskii , 2062@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233085467 6723 80.91.229.12 (27 Jan 2009 19:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 19:44:27 +0000 (UTC) Cc: jasonr@f2s.com To: Juanma Barranquero , 2062@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 20:45:40 2009 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.50) id 1LRtsJ-0003w5-V1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 20:45:32 +0100 Original-Received: from localhost ([127.0.0.1]:32991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRtr2-00068e-0k for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 14:44:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRtqR-0005mu-D9 for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 14:43:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRtqP-0005m3-MH for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 14:43:34 -0500 Original-Received: from [199.232.76.173] (port=33778 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRtqP-0005lz-JY for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 14:43:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRtqO-00006t-Ui for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 14:43:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0RJhTTJ019692; Tue, 27 Jan 2009 11:43:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0RJe3Lm018569; Tue, 27 Jan 2009 11:40:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Tue, 27 Jan 2009 19:40:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2062 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 2062-submit@emacsbugs.donarmstrong.com id=B2062.123308464617264 (code B ref 2062); Tue, 27 Jan 2009 19:40:03 +0000 Original-Received: (at 2062) by emacsbugs.donarmstrong.com; 27 Jan 2009 19:30:46 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout5.012.net.il (mtaout5.012.net.il [84.95.2.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0RJUgsi017258 for <2062@emacsbugs.donarmstrong.com>; Tue, 27 Jan 2009 11:30:44 -0800 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KE500300A6A1700@i_mtaout5.012.net.il> for 2062@emacsbugs.donarmstrong.com; Tue, 27 Jan 2009 21:30:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.255.234]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KE500G40A7HLMM2@i_mtaout5.012.net.il>; Tue, 27 Jan 2009 21:30:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 27 Jan 2009 14:43:34 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:24631 Archived-At: > From: Juanma Barranquero > Cc: 2062@emacsbugs.donarmstrong.com > > On Tue, Jan 27, 2009 at 10:24, Jason Rumney wrote: > > > If the system does not handle REG_EXPAND_SZ in the App Paths registry > > values, then the bug is with whatever incorrectly used that type when > > setting the registry value. > > I'd say that Microsoft is of two minds about it, judging by the > entries for msimn.exe (Outlook Express), pbrush.exe (mspaint) and a > few others, that do use REG_EXPAND_SZ. > > That said, ExpandEnvironmentStrings is not *specifically* for > REG_EXPAND_SZ registry entries; it is generally useful for cases such > as this one. What was the use-case that caused Path to include unexpanded environment variables in your case?