From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wayne Harris via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: [feature/internal-msys] thoughts of a more function windows package Date: Sat, 24 Apr 2021 08:46:00 -0300 Message-ID: <86lf9729dz.fsf@protonmail.com> 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> <87y2dd8g04.fsf@russet.org.uk> <86o8e9kolk.fsf@protonmail.com> <87tunzab50.fsf@russet.org.uk> Reply-To: Wayne Harris Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9656"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Cancel-Lock: sha1:f2OWRtXh8XqYtIBP99wMQz9x7GI= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 24 13:47:33 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 1laGl3-0002PC-0H for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Apr 2021 13:47:33 +0200 Original-Received: from localhost ([::1]:57194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laGl2-0004IR-3n for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Apr 2021 07:47:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laGk2-0003pI-AR for emacs-devel@gnu.org; Sat, 24 Apr 2021 07:46:30 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:34958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laGk0-00032K-Mi for emacs-devel@gnu.org; Sat, 24 Apr 2021 07:46:30 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1laGjw-00017Y-LX for emacs-devel@gnu.org; Sat, 24 Apr 2021 13:46:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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.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:268333 Archived-At: Phillip Lord writes: [...] >> (*) Summary >> >> Unless this coupling Emacs-MSYS2 can be well done with a certain >> long-run guarantee, I'd still prefer put them together with my own >> hands, because this way I can guarantee the behavior of the programs I >> expect to get. So I think I'd need an assurance of always having a >> certain exact (verified with a hash sum) version of msys2. > > I can certainly appreciate that. I sit somewhere in the middle: I use > Emacs build from master, but most of my emacs packages are specific > versions, rather than running from everyones heads. How do you do that? It seems you take the .exe but keep .el separate? That sounds crazy to me. How would I know all my new .exe still works with my very old .el files? > But, like it or lump it, msys2 doesn't do that. They have a versioned, > hash summed installer, but after that it just updates to the latest > version, with no specific release pattern (or a rolling release if you > prefer). [...] That's indeed a big problem for people who do work dependent on computer tools --- probably anyone who does any serious work on computers. I also see many non-professional users, say, who just hate the surprise of updates. (They might have all the time in the world to learn new behaviors, but they just hate it. Windows forums are full of angry customers.) That's why I loved the Guix-news posted by Nikolay Kudryavtsev. That's what I like about computer systems --- repetitive behavior with mathematical guarantee. It's incredible that people tolerate computers with human-like behavior, ``mood-dependent'' say. >> As an example, I've built my own OpenBSD distribution because I wanted >> an assurance in the behavior of the system, besides a quick >> installation. I install it with a single command line and it asks no >> questions. It comes ready to do all the things *I* usually do. > > Something close to this, I think we could achieve. Install Emacs, have > it ask "do you want to link to an msys2 installation? Do you want to > install it? Do you want to update it with Emacs standard packages". > > So three questions, but not none. That sounds nice. If I had to start my ``GNU Emacs system'' from scratch, this step would be a nice one. The GNU Emacs on Windows is handicapped without lots of other UNIX programs. I wrote this years ago: --8<---------------cut here---------------start------------->8--- ;; (*) On being in the wild, without a map ;; When you're on Windows, you're on your own. You have to provide ;; everything, that is, you need to bring the UNIX part that we can ;; replicate on Windows. (Thankfully, the EMACS shell replaces the UNIX ;; shell, even on Windows.) ;; Use this GNU debugger (when (string= system-type "windows-nt") (setq gdb-command-name "~/mingw/usr/bin/gdb.exe")) [...] ;; Use this diff program (when (string= system-type "windows-nt") (setq ediff-diff-program "~/mingw/usr/bin/diff.exe")) [...] --8<---------------cut here---------------end--------------->8---