X-Loop: help-debbugs@HIDDEN
Subject: bug#68160: 29.1; Windows installer: add Emacs bin directory to PATH
Resent-From: "Michael Hoffman" <emacs-hoffman@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 31 Dec 2023 00:01:02 +0000
Resent-Message-ID: <handler.68160.B.170398081222645 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 68160
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 68160 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.170398081222645
(code B ref -1); Sun, 31 Dec 2023 00:01:02 +0000
Received: (at submit) by debbugs.gnu.org; 31 Dec 2023 00:00:12 +0000
Received: from localhost ([127.0.0.1]:45305 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rJjFU-0005rS-5h
for submit <at> debbugs.gnu.org; Sat, 30 Dec 2023 19:00:12 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56408)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <emacs-hoffman@HIDDEN>) id 1rJjFO-0005L4-W3
for submit <at> debbugs.gnu.org; Sat, 30 Dec 2023 19:00:10 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <emacs-hoffman@HIDDEN>)
id 1rJjFH-0001rA-Qb
for bug-gnu-emacs@HIDDEN; Sat, 30 Dec 2023 18:59:59 -0500
Received: from sneak2.sneakemail.com ([64.46.159.148])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <emacs-hoffman@HIDDEN>)
id 1rJjFG-0000BA-29
for bug-gnu-emacs@HIDDEN; Sat, 30 Dec 2023 18:59:59 -0500
Received: (sneakemail censored 20602-1703980796-86809 #2); 30 Dec 2023
23:59:56 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=snkmail.com; s=mail;
t=1703980796; bh=ZbkGSZyqwZMyD8N35KwHmmMi1eeGCqv15jkKBFqFmI4=;
h=Date:From:To:Subject:From;
b=23uk2e/pFQTuwUMHMCsh9prValPUriHKmGIXMPlpLJCItU1FrbGg5CouFQFv4XG7B
TU67jCSCGWyRKGTb8yEwXvkBqZLktOmzS+3qQONRcGjL/boDEwcn/ltIAnhofFaese
7EH8SuHY+9T/ol7apqrQegeUTW52km/y9zUP+EO8SCBTioii4qBNjA6oTkhIx4ii8R
5LNOdVUK5Sp0ToDVwz1Q5Xf/krw7RwFSZ6H4oEU2oudt0z/9ecLyfE3q0Al/A2D1mr
cdShBTMs9pjVMFBmdpYnlBN0LnFfBeJ/4NcjEp3NZ6jnpxTT0ND1YXqMPkCUiBNZ+o
gtN2yF/WVP9EQ==
Received: (sneakemail censored 20602-1703980796-86809 #1); 30 Dec 2023
23:59:56 -0000
Date: Sat, 30 Dec 2023 23:59:55 +0000
From: "Michael Hoffman" <emacs-hoffman@HIDDEN>
Message-ID: <20602-1703980796-86809@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mailer: Perl5 Mail::Internet v
Received-SPF: pass client-ip=64.46.159.148;
envelope-from=emacs-hoffman@HIDDEN; helo=sneak2.sneakemail.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.4 (/)
Could the Windows installer add $INSTDIR\emacs-${VERSION_BRANCH}\bin to
PATH?
I've started installing Emacs on Windows via WinGet, which is very nice,
and so much works out of the box, but Emacs commands are not added to
PATH like they are with Chocolatey. Currently, WinGet does not support
adding to PATH for packages with an installer, like Emacs.
If not, would it be possible to add an option to the installer to do
this? A WinGet package could include that as a custom installer option
<https://github.com/microsoft/winget-pkgs/blob/master/doc/manifest/schema/1.5.0/installer.md>.
In GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-08-02 built on
AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Home (v10.0.2009.19045.3803)
Configured using:
'configure --with-modules --without-dbus --with-native-compilation=aot
--without-compress-install --with-tree-sitter CFLAGS=-O2'
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
(NATIVE_COMP present but libgccjit not available)
Important settings:
value of $LANG: en_US
locale-coding-system: utf-8-unix
Major mode: Special
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Michael Hoffman" <emacs-hoffman@HIDDEN> Subject: bug#68160: Acknowledgement (29.1; Windows installer: add Emacs bin directory to PATH) Message-ID: <handler.68160.B.170398081222645.ack <at> debbugs.gnu.org> References: <20602-1703980796-86809@HIDDEN> X-Gnu-PR-Message: ack 68160 X-Gnu-PR-Package: emacs Reply-To: 68160 <at> debbugs.gnu.org Date: Sun, 31 Dec 2023 00:01:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 68160 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 68160: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68160 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#68160: 29.1; Windows installer: add Emacs bin directory to PATH
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 31 Dec 2023 07:31:02 +0000
Resent-Message-ID: <handler.68160.B68160.170400780212541 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68160
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: "Michael Hoffman" <emacs-hoffman@HIDDEN>
Cc: 68160 <at> debbugs.gnu.org
Received: via spool by 68160-submit <at> debbugs.gnu.org id=B68160.170400780212541
(code B ref 68160); Sun, 31 Dec 2023 07:31:02 +0000
Received: (at 68160) by debbugs.gnu.org; 31 Dec 2023 07:30:02 +0000
Received: from localhost ([127.0.0.1]:45569 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rJqGn-0003G1-8u
for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 02:30:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40420)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1rJqGl-0003FV-DX
for 68160 <at> debbugs.gnu.org; Sun, 31 Dec 2023 02:29:59 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1rJqGf-0004k7-0H; Sun, 31 Dec 2023 02:29:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=P42AVfzv/nflWVf3UQMp7sMCgnV7mjImXhIDiSw2J3A=; b=cBZXv17Zn0Yd
/yDhyMx+mawqrrM6zOZsc0xWVZ89d+A1HGeIzNzE7yTTzIfso9yRBytRiLCCeOBPp6QHi6CSFtYN/
dB0twYyXKDDM0kD+ZTyFOIfusvfma2aqxB7xIeSXrNe7HrkuuQmxllppgF0tMJ0BTsLxB7cQ29A3B
g5SQr/FDuECqUo0vVrQsCnY5EdCYGqQyOLV7rqdx14k4ve0nu+Zh0Zc5PKseCf3wEv4/LTnFhZVu+
F7rQt1WkE4ii0L/1sqRGh6gr9T9qk8FIDPiv98M1sX4tMQEDObqdiKMOLh4s3+ibVtA9jjGden+QQ
2TODdi50fA35w42LrXfnYQ==;
Date: Sun, 31 Dec 2023 09:29:46 +0200
Message-Id: <83il4e3k45.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <20602-1703980796-86809@HIDDEN>
(emacs-hoffman@HIDDEN)
References: <20602-1703980796-86809@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Date: Sat, 30 Dec 2023 23:59:55 +0000
> From: "Michael Hoffman" <emacs-hoffman@HIDDEN>
>
> Could the Windows installer add $INSTDIR\emacs-${VERSION_BRANCH}\bin to
> PATH?
>
> I've started installing Emacs on Windows via WinGet, which is very nice,
> and so much works out of the box, but Emacs commands are not added to
> PATH like they are with Chocolatey. Currently, WinGet does not support
> adding to PATH for packages with an installer, like Emacs.
>
> If not, would it be possible to add an option to the installer to do
> this? A WinGet package could include that as a custom installer option
> <https://github.com/microsoft/winget-pkgs/blob/master/doc/manifest/schema/1.5.0/installer.md>.
This is up to the person who maintains the Windows install kit for
Emacs, but IMO this should be an optional feature. On many Windows
systems, changing the environment variables is a privileged operation,
dictated by policy, and will be rejected. Moreover, modern Windows
systems maintain two lists of Path values: one for the current user
and another that is system-wide, and there are various limitations
about changing each one.
When I install software via an installer, I generally don't want it to
modify my PATH, because those installers have no idea how I manage my
PATH. For starters, should the Emacs's bin directory be prepended or
appended to the existing PATH value? That is not a trivial question
to answer, since the Emacs installer comes with DLLs and executables
other than Emacs, and those might interfere with other software
installed on the system.
There be dragons!
OTOH, manually adding the bin directory to your PATH, if you have that
privilege, is easy enough.
X-Loop: help-debbugs@HIDDEN
Subject: bug#68160: 29.1; Windows installer: add Emacs bin directory to PATH
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 11 Jan 2024 20:59:02 +0000
Resent-Message-ID: <handler.68160.B68160.170500673722912 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68160
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Michael Hoffman <emacs-hoffman@HIDDEN>, Corwin Brust <corwin@HIDDEN>, 68160 <at> debbugs.gnu.org
Received: via spool by 68160-submit <at> debbugs.gnu.org id=B68160.170500673722912
(code B ref 68160); Thu, 11 Jan 2024 20:59:02 +0000
Received: (at 68160) by debbugs.gnu.org; 11 Jan 2024 20:58:57 +0000
Received: from localhost ([127.0.0.1]:34118 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rO28e-0005xU-Uc
for submit <at> debbugs.gnu.org; Thu, 11 Jan 2024 15:58:57 -0500
Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:50212)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <stefankangas@HIDDEN>) id 1rO28c-0005xF-If
for 68160 <at> debbugs.gnu.org; Thu, 11 Jan 2024 15:58:55 -0500
Received: by mail-ed1-x532.google.com with SMTP id
4fb4d7f45d1cf-55753dc5cf0so6895528a12.0
for <68160 <at> debbugs.gnu.org>; Thu, 11 Jan 2024 12:58:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1705006731; x=1705611531; darn=debbugs.gnu.org;
h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=i3DKz+XploTo/qluH+1+aRQfLLeasVw4+ihDwmMS+Og=;
b=msUxubMuPPBubRUTKv9MYIked360VJEYkGgxW4LljJhEH9di1n0AP452DFCVBC+Rhu
ShXTx7CnUUTNvDou0PsiXoeyBCIrQDWCCfnXPJxitanFhBEZ9d/cYQHNBUntbB3RayJa
SiaXdfsqZ51NT0xUKAl5KE1Tf3V/dlTP2mOfaZxr8zI271MbgBS/qBfXwppN+X1h3YYC
zCT7FpqtDB30ouF0K7uGW5cA9qu8j1Ph+3SA8IHh2v44N5B7zZDiR/rKb3rjOfDKBV8J
fvaQaLiT2rs+HzOeTVXHgYkKIUva9GopvGsKwMiI3TCXLnokPTdhJ/i+riXAgwpyue7t
/pWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1705006731; x=1705611531;
h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=i3DKz+XploTo/qluH+1+aRQfLLeasVw4+ihDwmMS+Og=;
b=KQhsrFdRPI2ThxV5P6Hru3wecFza7HLuuTa1/dPWof4Hthr+fipqBKm0ywmiGCui0N
Pex6AFQy736qxG21l7eDMw2TH0TWcRttZOygIQW2+0sM0aPEaLEa3CBraMeAKdQyydEW
VBzJYqm1R6lwMyAQZKDPt+q3hb3UeFW3iVzddqW2Z8bP1roYU4HDyOTUxUCmZ/podXLZ
1agr4ohBaIGtIFFS3d9sP+nXxcnmWrVhS7PEAJR+3o3oQpbnK/XKTHiJHM5BYO7aFTsU
GS/I/Pmz01z9oeEj5f+4u2+z3A237jRMcNcVNDChhGfqTaJZZCg4EWxMuhMdxb50NCnB
d1Xw==
X-Gm-Message-State: AOJu0YxnvMZwQvRCfue+rPvvO18nNl0GiYcvtrxOiwC9sGjH5hQrDh1k
hsjbPqgc2VJccrDKCM4hQr/p037At/EN+5nxFlTv6LHcfA8=
X-Google-Smtp-Source: AGHT+IGUStuZcDMLnhcQiaQ2XMk0m9cfCKEPMpZ+r5Ak7460qarlVKAOGN3q4iMO4+8f0P5/AUSu1+otiuldzx58HTo=
X-Received: by 2002:aa7:cd62:0:b0:557:9018:9980 with SMTP id
ca2-20020aa7cd62000000b0055790189980mr119361edb.52.1705006731035; Thu, 11 Jan
2024 12:58:51 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
HTTPREST; Thu, 11 Jan 2024 12:58:50 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <83il4e3k45.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 31 Dec
2023 09:29:46 +0200")
References: <20602-1703980796-86809@HIDDEN> <83il4e3k45.fsf@HIDDEN>
MIME-Version: 1.0
Date: Thu, 11 Jan 2024 12:58:50 -0800
Message-ID: <CADwFkm=p9507t65-e4LfAzvz6Luy5Y_u+LM65h=Hwcq1PwBEEA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> Date: Sat, 30 Dec 2023 23:59:55 +0000
>> From: "Michael Hoffman" <emacs-hoffman@HIDDEN>
>>
>> Could the Windows installer add $INSTDIR\emacs-${VERSION_BRANCH}\bin to
>> PATH?
>>
>> I've started installing Emacs on Windows via WinGet, which is very nice,
>> and so much works out of the box, but Emacs commands are not added to
>> PATH like they are with Chocolatey. Currently, WinGet does not support
>> adding to PATH for packages with an installer, like Emacs.
>>
>> If not, would it be possible to add an option to the installer to do
>> this? A WinGet package could include that as a custom installer option
>> <https://github.com/microsoft/winget-pkgs/blob/master/doc/manifest/schema/1.5.0/installer.md>.
>
> This is up to the person who maintains the Windows install kit for
> Emacs, but IMO this should be an optional feature. On many Windows
> systems, changing the environment variables is a privileged operation,
> dictated by policy, and will be rejected. Moreover, modern Windows
> systems maintain two lists of Path values: one for the current user
> and another that is system-wide, and there are various limitations
> about changing each one.
>
> When I install software via an installer, I generally don't want it to
> modify my PATH, because those installers have no idea how I manage my
> PATH. For starters, should the Emacs's bin directory be prepended or
> appended to the existing PATH value? That is not a trivial question
> to answer, since the Emacs installer comes with DLLs and executables
> other than Emacs, and those might interfere with other software
> installed on the system.
>
> There be dragons!
>
> OTOH, manually adding the bin directory to your PATH, if you have that
> privilege, is easy enough.
Corwin, any comments here?
X-Loop: help-debbugs@HIDDEN
Subject: bug#68160: 29.1; Windows installer: add Emacs bin directory to PATH
Resent-From: Corwin Brust <corwin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 12 Jan 2024 05:54:02 +0000
Resent-Message-ID: <handler.68160.B68160.170503880829594 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68160
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: Michael Hoffman <emacs-hoffman@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 68160 <at> debbugs.gnu.org
Received: via spool by 68160-submit <at> debbugs.gnu.org id=B68160.170503880829594
(code B ref 68160); Fri, 12 Jan 2024 05:54:02 +0000
Received: (at 68160) by debbugs.gnu.org; 12 Jan 2024 05:53:28 +0000
Received: from localhost ([127.0.0.1]:34628 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rOATv-0007hG-Nb
for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 00:53:28 -0500
Received: from mail-ot1-f53.google.com ([209.85.210.53]:59402)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mplscorwin@HIDDEN>) id 1rOATt-0007h3-3o
for 68160 <at> debbugs.gnu.org; Fri, 12 Jan 2024 00:53:26 -0500
Received: by mail-ot1-f53.google.com with SMTP id
46e09a7af769-6dde1f23060so2258015a34.2
for <68160 <at> debbugs.gnu.org>; Thu, 11 Jan 2024 21:53:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1705038801; x=1705643601;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=AXx2eMEnx3WUqkp9pWEX4DYg5ttFUzi1jUkQbJ5c8YI=;
b=qEi20E2IkzeCel+zZHdEk6YeOidyLbZUV87FHL/9uUAfPTmJPCIVoVQ0Un2295GyrY
tBnrxCtW8Mveal+FZrUZhLFiYm57BdIiNUMlNNY7EF1thuKoEl2wFOZbx/WUQJvSv+QA
Pd8p/BMwP3ZdUKOuaYXBSWbjpaXxU9sPoEkDjdflANMDwB+a7+A65o9pnwX7FxXV+MqM
Ti0oEcbdHuR0shXg+DIkpEai7BQKuQaajp7liYAbHUCZtZ9JrtC6sdwGKsljyjRyahv+
47/qBODHZUESicOFn08JVvn4HVCD/6MGyI5OQBmymMWDD58KGfELx9uV7LpeEN+ItLjA
zm/g==
X-Gm-Message-State: AOJu0YyKzs3mscKAMSV0l05ot9oPKGR13bMoEb9Pq5wM7MYqcBRjXQDO
hubNA/NvM6NPnYKk3aMDIBJo6fdiQGXIqCBr6uw=
X-Google-Smtp-Source: AGHT+IEQapWfYT7E93qwdqjGocuW+vzBSxzVtgtWFo9TVmcyaoIwwpJdX7FbJLdE/3RynUPD+USAlFsJB47e2eQs7IU=
X-Received: by 2002:a9d:6d94:0:b0:6dc:1:270 with SMTP id
x20-20020a9d6d94000000b006dc00010270mr941708otp.55.1705038801617;
Thu, 11 Jan 2024 21:53:21 -0800 (PST)
MIME-Version: 1.0
References: <20602-1703980796-86809@HIDDEN> <83il4e3k45.fsf@HIDDEN>
<CADwFkm=p9507t65-e4LfAzvz6Luy5Y_u+LM65h=Hwcq1PwBEEA@HIDDEN>
In-Reply-To: <CADwFkm=p9507t65-e4LfAzvz6Luy5Y_u+LM65h=Hwcq1PwBEEA@HIDDEN>
From: Corwin Brust <corwin@HIDDEN>
Date: Thu, 11 Jan 2024 23:53:10 -0600
Message-ID: <CAJf-WoRRgtNR1jZBNjfw_kX9wYxB6Qb1jYwfBzaFrotJAC-6rw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)
On Thu, Jan 11, 2024 at 2:58=E2=80=AFPM Stefan Kangas <stefankangas@HIDDEN=
om> wrote:
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> Date: Sat, 30 Dec 2023 23:59:55 +0000
> >> From: "Michael Hoffman" <emacs-hoffman@HIDDEN>
> >>
> >> Could the Windows installer add $INSTDIR\emacs-${VERSION_BRANCH}\bin t=
o
> >> PATH?
> >>
> >
> > There be dragons!
> >
> > OTOH, manually adding the bin directory to your PATH, if you have that
> > privilege, is easy enough.
>
> Corwin, any comments here?
>
I tend to agree with Eli. That said, adding a page with some Modify
my path options (defaulting to doing nothing) sound like a nice way to
become closer friends with nt/admin/dist-build/emacs.nsi, so I will
try to provide a patch to consider. If we don't end up merging
anything I won't be offended; however, I'd be fine to see this
included: it doesn't seem actively harmful, although I haven't started
thinking about what new uninstaller options this might imply yet.
Here's is a sketch of my first thought as to what a new page
("section", in NewSoft Installer semantics) might look like:
=3D=3D Modify Path? (New section, follows displaying the license)
By default setup will not modify your Windows system PATH. We
recommend doing so manually to ensure you fully understand and control
the changes made to your operating environment. You may do so
manually using the "Edit the system environment variables" control
provided by Windows 10 and later.
To leave PATH unchanged press NEXT. If you prefer the setup process to
automatically update the system PATH while installing Emacs, first
choose from the options below and then press next.
=E2=9C=85 Add Emacs' bin folder to my PATH (checkbox, starts unchecked)
[ The above is defaults to unchecked, if it is checked the other
options are enabled ]
Changes to make to PATH:
=F0=9F=94=98 Add to the end of my current path (radio, starts checked)
=F0=9F=94=98 Add at the start to my current path (radio, starts unchecked=
)
=E2=9C=85 Remove other entries in the form \emacs*\bin from my PATH
(checkbox, starts unchecked)
Modify PATH for
=F0=9F=94=98 The current system user (radio, starts checked)
=F0=9F=94=98 All users (default profile) [radio, starts unchecked
[BACK] [NEXT]
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.