From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Fri, 10 Nov 2017 20:52:24 +0200 Message-ID: <83ineiotjr.fsf@gnu.org> References: <87po99qzbn.fsf@russet.org.uk> <1509955878.550800.1162811960.541B525D@webmail.messagingengine.com> <87h8u6bae3.fsf@russet.org.uk> <1510126271.1965593.1165373624.0601E5CF@webmail.messagingengine.com> <8760aijcek.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510340013 30737 195.159.176.226 (10 Nov 2017 18:53:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2017 18:53:33 +0000 (UTC) Cc: jostein@kjonigsen.net, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 10 19:53:26 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDEQe-0007SV-GD for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2017 19:53:24 +0100 Original-Received: from localhost ([::1]:43054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDEQg-0007eh-VV for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2017 13:53:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDEPp-0007cA-0W for emacs-devel@gnu.org; Fri, 10 Nov 2017 13:52:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDEPi-0000kO-Nf for emacs-devel@gnu.org; Fri, 10 Nov 2017 13:52:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDEPi-0000kI-JK; Fri, 10 Nov 2017 13:52:26 -0500 Original-Received: from [176.228.60.248] (port=1207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eDEPh-0004qq-UE; Fri, 10 Nov 2017 13:52:26 -0500 In-reply-to: <8760aijcek.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220034 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Date: Fri, 10 Nov 2017 17:01:39 +0000 > Cc: jostein@kjonigsen.net, emacs-devel@gnu.org > > > I suggest we instead use the user's profile folder. From an initial > > probe, this can be found in at least the following > > environment-variables on my Windows 10 test-machine: USERPROFILE (or > > by concatenating HOMEDRIVE and HOMEPATH ). > > I'll fix this. Just to make this more complex: the Windows platform conventions frown upon installing stuff in that directory; you are supposed to create a subdirectory and install there. And programs should not end up there, they should be under %ProgramFiles% instead. The user's directory is for files, not for programs. > I'm presuming most people will not add it to the path, but launch it > from the shortcut that the installation adds. They _will_ want to add it to PATH if they want to install packages from the likes of ELPA, which frequently come with Makefiles that invoke Emacs to compile the Lisp files.