From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#2062: PATH can contain non-expanded variables Date: Wed, 28 Jan 2009 09:36:55 +0100 Message-ID: References: <497E69EB.70609@f2s.com> <497ED2B7.2080509@f2s.com> Reply-To: Juanma Barranquero , 2062@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233133511 10298 80.91.229.12 (28 Jan 2009 09:05:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2009 09:05:11 +0000 (UTC) Cc: 2062@emacsbugs.donarmstrong.com, jasonr@f2s.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 10:06:24 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 1LS6MJ-0005KO-T5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 10:05:49 +0100 Original-Received: from localhost ([127.0.0.1]:57163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LS6L1-0003Zz-4G for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 04:03:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LS6Kd-0003Qs-Mr for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 04:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LS6Kc-0003Pn-14 for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 04:03:34 -0500 Original-Received: from [199.232.76.173] (port=39664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LS6Kb-0003PT-Os for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 04:03:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33843) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LS6Kb-0003Si-0S for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 04:03: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 n0S93Tv4026788; Wed, 28 Jan 2009 01:03:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0S8o3v9023232; Wed, 28 Jan 2009 00:50:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juanma Barranquero Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Wed, 28 Jan 2009 08:50:02 +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.123313220021901 (code B ref 2062); Wed, 28 Jan 2009 08:50:02 +0000 Original-Received: (at 2062) by emacsbugs.donarmstrong.com; 28 Jan 2009 08:43:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0S8hCXx021895 for <2062@emacsbugs.donarmstrong.com>; Wed, 28 Jan 2009 00:43:13 -0800 Original-Received: by ewy3 with SMTP id 3so9514720ewy.1 for <2062@emacsbugs.donarmstrong.com>; Wed, 28 Jan 2009 00:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vUtHKMHBAmwvVAcGvPliQYMLq1jC6epp4dEUbDzEMCc=; b=LOgqcxRA7IB+fYuzlqQxy71Ie9yExX5WkJGnnN1dSfmwmPPeZPNuvbrjBmwaWW+8AB 2z21wdvd7LNpHzsyjlQfGM1uwwPCwQ3qLRHxs0DUVk2ldEJwqVXK/riKtwjkPsZvF8IO NrnaUq94KTJviUhjJHVXiw37i3X2g7pk2DZR4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FAfkIgVMaip/iwVDgwrvW4ejBqLEwbGpIfmn4WHzZzUtc6KEOBdeggCu4PQGR4ofsZ MxFzpBDQvKOfRZY6gESElGvRjnxI1mxb2a1kP8y4j01pLm4tpBAzMTvSdKbdno/+uPHu KZlEtUoFjyLxhw4vbiZ7MDhI15sLlad4jwOos= Original-Received: by 10.67.15.15 with SMTP id s15mr2443852ugi.39.1233131815682; Wed, 28 Jan 2009 00:36:55 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 28 Jan 2009 04:03: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:24674 Archived-At: On Wed, Jan 28, 2009 at 05:12, Eli Zaretskii wrote: > I was trying to understand how come a variable is stored in the > Registry with incorrect REG_EXPAND_SZ, and how often that happens. Is > that true that in your case it is simply a user mistake? Of course not. It was done on purpose, if that's what you're asking. But I don't see anything that suggests that REG_EXPAND_SZ is not valid for App Path entries. In fact, Microsoft adds such entries, and perusing the MSDN seems to indicate that they are indeed valid. Not only that: if I start Emacs from a desktop shortcut (and, thus, through ShellExecute), App Paths is correctly expanded. Juanma