From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Fri, 21 Jan 2022 17:48:31 +0000 Message-ID: <01f0bf06cf65428228b70d1f56be3799@russet.org.uk> References: <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <86k0ev3jvj.fsf@duenenhof-wilhelm.de> <86bl07361o.fsf@duenenhof-wilhelm.de> <8635li3mog.fsf@duenenhof-wilhelm.de> <86y23a10fy.fsf@duenenhof-wilhelm.de> <83h79xpob1.fsf@gnu.org> <86tudx1h4z.fsf@duenenhof-wilhelm.de> <87sfth1dp6.fsf@russet.org.uk> <86pmol1cbz.fsf@duenenhof-wilhelm.de> <83o845nt1f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16895"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.12 Cc: "H. Dieter Wilhelm" , corwin@bru.st, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 19:22:44 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAyYe-0004FL-Iq for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 19:22:44 +0100 Original-Received: from localhost ([::1]:48360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAyYd-00073n-IO for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 13:22:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAy1l-0005x3-3u for emacs-devel@gnu.org; Fri, 21 Jan 2022 12:48:45 -0500 Original-Received: from [78.129.138.227] (port=50642 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAy1i-0001hA-7y; Fri, 21 Jan 2022 12:48:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lWAgxa7XwNGryXd2KyMtsRjyiqiI212TAm6psmGIIWo=; b=K3Ur+GDL4vxzS0BPfwi29xdWPz 0xE/h8thmSNV7dusxAIKODHBFq2H3V+IjmlWbgBAxnsQEk1xwka84yfRP1Zlio8nlTY8g9gfAiGG5 VGnNhI4n8RuH8mXT4cjUyhPux5e4pKZLrJUij8caGcNgquu6nZ4YU2/iHAzUac7rxipayHxv2RUb+ 69ONhcChpUiZZfZ7Xsq5Bg7GU+wtJgVgbQnGtRGlxrAZKjXMv6WaDueTo5jYTx237JEGIseMajHTB /c5xvWd5mEGcsDqwShso+PaPArQij/hgzVVbh4S+IS92b0s7HgbHcxnCzPhVYH1E5BgxEnW18+k2i OXuk36bg==; Original-Received: from [::1] (port=41136 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.94.2) (envelope-from ) id 1nAy1d-0003c0-DN; Fri, 21 Jan 2022 17:48:32 +0000 In-Reply-To: <83o845nt1f.fsf@gnu.org> X-Sender: phillip.lord@russet.org.uk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285152 Archived-At: On 2022-01-21 12:59, Eli Zaretskii wrote: >> From: "H. Dieter Wilhelm" >> Cc: Eli Zaretskii , corwin@bru.st, emacs-devel@gnu.org >> Date: Fri, 21 Jan 2022 13:51:28 +0100 >> >> The release number appears under the share\ folder. >> >> c:\ >> |- Program Files\ >> |- Emacs\ >> |- x86_64\ >> |- share\ >> |- emacs\ >> |- 27.1 >> |- 27.2 > > You should also see a versioned subdirectory under libexec. (And with > Emacs 28, also under lib.) > > This is normal, and has nothing to do with the Windows installer. > It's how the Emacs installation tree looks on all platforms. Hmmm. As you say, installing multiple versions side-by-side works fine and does not need to have a version number in the install directory. ("C:\Program Files\Emacs"). Actually, the "x86_64" is not needed now, but I guess I left that in for backward compatibility. But, the uninstall section looks like this: Section "Uninstall" # Always delete uninstaller first Delete "$INSTDIR\Uninstall.exe" # now delete installed directory RMDir /r "$INSTDIR" RMDir "$INSTDIR" !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" RMDir "$SMPROGRAMS\$StartMenuFolder" SectionEnd So, I think there will only be a single uninstaller. Uninstalling will remove all versions of Emacs because it just deletes the INSTDIR. Likewise, there is a single start menu item which will overwrite the last installed Emacs.I guess this makes sense. In windows land, installing Emacs-28 would be expected to remove Emacs-27. If all older versions of Emacs get left behind, that would generally be considered a bug. I don't remember whether NSIS runs the previous uninstaller first, that might be checked. So, side-by-side installation will work but it's not by design and while the installer supports it, the uninstaller will not respect it. My feeling is, therefore, the current set up is correct. If you want to run multiple versions of Emacs, use the zip file. Phil