From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: windows installer Date: Sat, 11 Nov 2017 01:25:09 +0100 Message-ID: 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> <83ineiotjr.fsf@gnu.org> <87375l4sui.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11405d8a20eb8a055daa1379" X-Trace: blaine.gmane.org 1510359948 14103 195.159.176.226 (11 Nov 2017 00:25:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 00:25:48 +0000 (UTC) Cc: =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Eli Zaretskii , =?UTF-8?Q?Jostein_Kj=C3=B8nigsen?= , Emacs developers To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 11 01:25:38 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 1eDJc9-000344-Jt for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 01:25:37 +0100 Original-Received: from localhost ([::1]:44004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDJcF-0003XA-99 for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2017 19:25:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDJc6-0003X3-Bp for emacs-devel@gnu.org; Fri, 10 Nov 2017 19:25:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDJc5-0004jR-8Y for emacs-devel@gnu.org; Fri, 10 Nov 2017 19:25:34 -0500 Original-Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:54915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDJc2-0004io-UA; Fri, 10 Nov 2017 19:25:31 -0500 Original-Received: by mail-qt0-x234.google.com with SMTP id c36so7652691qtc.11; Fri, 10 Nov 2017 16:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yinEPwwKJHVCXBUIAnlc5LrunSYceyAmakkPyE0qyFY=; b=uIDbYK9yv+nJutkqqjbfa3U5EkGVPyXT257ZS6wteFzJzoA0kX/E2vUAsp4aEiG8xf VPp2YN1Mncm1fwD9GEud61Hx5r1Plxvu0lCjbbT13sD/7SRBP9PkxIVMPFIoa7NfgpWy NiNIKHRGObc1AAPECMhbGvgCHTkSNE6brKYli3ZAdZDMP+OWKeobgTcWxuwzNcoaCxD7 3kI5mN+ONxUQn5pZeGhSfHv3t+aMx28DkMab+1vzrTAHENy9q1OuSETgCYE6ORZ/eYG5 9qY+5VFy+7MpxT6S/7oObMWkDvUXiHE2EBxor7D+wVxQjWvI0hLVc/r9YHy1Pe5LfRuv 8gMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yinEPwwKJHVCXBUIAnlc5LrunSYceyAmakkPyE0qyFY=; b=YiAsYxuDVgy+YWaothTusnFg/F111Xdt1WjuAb5+AX3xk6NQbKCRw50WBHU76tkqHX TeeYdX0cdxle1cqX9bjzsxxf9xaxgHD3e1e58ug7inj5H4Ug8TrgFw6rqOJCEqiMAqUf eWcsP9TFnURCXc1Pc3Iz3GaAiB6indMCNv+Bq8NOoQY/EqGBFBbEx9y5MnZM8d1mJOdZ chhfwqkKaqRZXxqFJNQcHElEl7WxngfpYgGQrWzqv1a/UbpQAmUWZprWm622hsoDOsqE 0xicELSrHpdCYeNRZLWi1EA7DthYQEVbvIPybpMrnBcLOxUjrpnJFYK30CFwYJa+iZ5l JF1A== X-Gm-Message-State: AJaThX5edZMNYJbu/zmQlfKklcLKy171gI9zx5w1aYdBM5WnvqZQ8yiC PuBIYMUbx3nQ8BxXSQeYpWQnHq9Vr/3fIwWTtFc= X-Google-Smtp-Source: AGs4zMYAPONztJdL3g/ibOPeTvZqKInUPWaQZPrRPuaC/cmRhFswfqQYHD7wSqGUHXs9E/y0bedSOBoO0e1JsOkrgjQ= X-Received: by 10.200.43.167 with SMTP id m36mr3383692qtm.174.1510359930298; Fri, 10 Nov 2017 16:25:30 -0800 (PST) Original-Received: by 10.140.89.242 with HTTP; Fri, 10 Nov 2017 16:25:09 -0800 (PST) In-Reply-To: <87375l4sui.fsf@russet.org.uk> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::234 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:220046 Archived-At: --001a11405d8a20eb8a055daa1379 Content-Type: text/plain; charset="UTF-8" 2017-11-11 0:27 GMT+01:00 Phillip Lord : > Eli Zaretskii writes: > > >> 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. > > > The disadvantage with ProgramFiles is that it requires elevation, which > user profile does not, although user profiles gets mixed up with > roaming. Although, elevation is pretty normal for installation. But I > didn't want to it straight away in case I made the uninstaller > accidentally delete my windows installation. > > User profiles are subject to roaming. When you are on a Windows network, it means your emacs directory is copied everytime you log in. Definitely not a good idea. > I'm also investigating making Emacs a portable app (as in > PortableApps.com), assuming everyone is happy with this. This might be > the better route for single user (and portable) installs. > > But Emacs is already portable. What do I miss here ? Fabrice --001a11405d8a20eb8a055daa1379 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-11-11 0:27 GMT+01:00 Phillip Lord <phillip.lord@russet.o= rg.uk>:
El= i Zaretskii <eliz@gnu.org> writes= :

>> From: phillip.lord@r= usset.org.uk (Phillip Lord)
>> Date: Fri, 10 Nov 2017 17:01:39 +0000
>> Cc: jostein@kjonigsen.net= , emacs-devel@gnu.org
>>
>> >=C2=A0 I suggest we instead use the user's profile folder.= From an initial
>> >=C2=A0 probe, this can be found in at least the following
>> >=C2=A0 environment-variables on my Windows 10 test-machine: US= ERPROFILE (or
>> >=C2=A0 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<= br> > subdirectory and install there.
>
> And programs should not end up there, they should be under
> %ProgramFiles% instead.=C2=A0 The user's directory is for files, n= ot for
> programs.


The disadvantage with ProgramFiles is that it requires elevation, wh= ich
user profile does not, although user profiles gets mixed up with
roaming. Although, elevation is pretty normal for installation. But I
didn't want to it straight away in case I made the uninstaller
accidentally delete my windows installation.


User profiles are subject to roaming. = When you are on a Windows network,=C2=A0
it means your emacs dire= ctory is copied everytime you log in.=C2=A0
Definitely not a good= idea.

=C2=A0
I'm also investigating making Emacs a portable app (as in
PortableApps.com), assuming everyone is happy with this. This might be
the better route for single user (and portable) installs.


But Emacs is a= lready portable. What do I miss here ?

Fabrice
--001a11405d8a20eb8a055daa1379--