From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: [feature/internal-msys] thoughts of a more function windows package Date: Fri, 22 Jan 2021 16:14:33 +0000 Message-ID: <87bldh7xue.fsf@russet.org.uk> References: <87pn2dq3xv.fsf@russet.org.uk> <83ft39hnk1.fsf@gnu.org> <87h7nppzjy.fsf@russet.org.uk> <838s90hhb6.fsf@gnu.org> <87zh1gircl.fsf@russet.org.uk> <83turofw8r.fsf@gnu.org> <87sg6v76fd.fsf_-_@russet.org.uk> <83czxy7530.fsf@gnu.org> <87zh12grzh.fsf@russet.org.uk> <83wnw659kw.fsf@gnu.org> <87o8higedm.fsf@russet.org.uk> <83sg6t5t86.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 22 17:15:51 2021 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 1l2z6F-0007PW-CY for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jan 2021 17:15:51 +0100 Original-Received: from localhost ([::1]:47110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2z6E-0001rJ-9T for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jan 2021 11:15:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2z55-0001On-WC for emacs-devel@gnu.org; Fri, 22 Jan 2021 11:14:40 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:59812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2z54-0004FT-1h; Fri, 22 Jan 2021 11:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=CTnUO6ViXBB3Osd+hzL9zNbp435+hvCweXyTlvtXQXA=; b=MjG/MY898TM1SfPq0abhY2EdW EpFtU828/1xzcjKrg0hISI6QkOBp2lgYkzMnNON4l3NDKZzraUJu//b++HE+ni9BlQZNiHCrrkHsw kXJKYASfvNFWO9SDSMVKQu71tbOF/pNzcSX11C6B6SZSpvc8gRAzkfn+4jFAkKxzTabO7uC0SIZu+ iBUVBcAD2PMdjZaZ5kB0uGAMSrFlGnH2xcnvIYXdMHX7sNFI8aKVSplUmUE02s6wSDG1/BgQRC/1i dkTZZAw0+bCOpxOWTSYKwQWQIffV263ewbFEVBYao8TESN7mR3wWfwzEYxGxIBmIBjh0m+RezpzYW JIc+JMZWg==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:47974 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l2z4z-0001Z2-Tb; Fri, 22 Jan 2021 16:14:34 +0000 In-Reply-To: <83sg6t5t86.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Jan 2021 09:24:57 +0200") 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 Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:263280 Archived-At: Eli Zaretskii writes: >> From: Phillip Lord >> Cc: emacs-devel@gnu.org >> Date: Thu, 21 Jan 2021 21:37:57 +0000 >> >> Yep, it's big. I get this before installation: >> >> 319 MB (335,214,637 bytes) >> >> and this after installation. >> >> 826 MB (866,624,644 bytes) >> >> My guess is that it's the co-install of perl that is causing this issue >> rather than vim. > > It's Vim, and Perl, and Tcl. And at some point I'd expect them to > include Python as well, to support those Git commands which rely on > it. Yep, they don't ship a "git-core" without all this baggage unfortunately. >> But, openssh comes for free with this. And "huge" is a >> relative term. An installation under 1Gb seems reasonable to me. > > I thought this started as an attempt to make the Emacs installation > smaller... > > If the rationale is to provide a full development environment on top > of MS-Windows, then indeed the size will be much larger, and you will > need to include a lot of packages there. Just be sure to spell this > out (including the size, perhaps) when you ask the user whether he or > she wants to install that. Yes, a small install for easy downloads, but with the option for a bigger one. The small install is still important, though, because it will also mean a small upgrade from one emacs to the next. >> > Next, by "msys" you mean all those non-native programs that depend on >> > msys-1.0.dll? That's again meant for MinGW developers, not "normal" >> > users. >> >> Yes. Because it's got all the packages and tools and as far as I can >> see, they work with Emacs. > > They mostly work, until they don't. Like with Cygwin, there are > subtle incompatibilities, mainly in file names and in communications > with subprocesses and response to "signals". Encoding defaults are > also different. That's true for the msys2 commands but not the mingw64 ones? In the end, not all of the tools need for Emacs are in mingw64 part of msys2 and msys2 comes with pacman. >> > (Btw, pacman can ask questions and prompt the user for confirmation, >> > but the way you invoke it in w32-msys-run doesn't seem to be prepared >> > for such interaction?) >> >> That's why I use "--no-confirm". I'm looking for the minimum here that >> does something usable. > > What happens when pacman wants to replace Bash from which it was > launched, or update itself or some of its component DLLs? That happens straight away on first launch. I don't know yet, but am working on it. > >> > I think the only good idea here is to tell the user to amend PATH by >> > adding such-and-such directories to it. I don't like installers that >> > futz with my PATH, and would hate it if Emacs did that to others. >> > It's very easy to get that wrong, especially on Windows. >> >> There has to be a better way that this. > > The only way I know of is to distribute a program that writes into the > Registry. Don't forget that there are system-wide variables and > variables specific to the current user. And some systems have the > former locked down and the latter requires a UAC elevation. Good luck > (you will need it) with successfully negotiating all these obstacles. Would it be easier to have Emacs allow me to successfully update PATH during run? Phil