From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Could we include diff and grep (etc.) executables on Windows? Date: Mon, 18 Nov 2019 10:05:39 -0800 Message-ID: <86r225dpqk.fsf@stephe-leake.org> References: <83d0dq5t09.fsf@gnu.org> <877e3yz939.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195230"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 18 19:06:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWlPV-000obs-HH for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2019 19:06:01 +0100 Original-Received: from localhost ([::1]:37924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWlPU-0008Ny-Au for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2019 13:06:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35175) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWlPH-0008Nq-Qn for emacs-devel@gnu.org; Mon, 18 Nov 2019 13:05:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWlPG-0001R4-4M for emacs-devel@gnu.org; Mon, 18 Nov 2019 13:05:47 -0500 Original-Received: from gateway20.websitewelcome.com ([192.185.59.4]:34353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWlPF-0001Qm-QW for emacs-devel@gnu.org; Mon, 18 Nov 2019 13:05:46 -0500 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 2DF92400D073F for ; Mon, 18 Nov 2019 10:56:30 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id WlPCiW1X2iJ43WlPCi2lY8; Mon, 18 Nov 2019 12:05:43 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc: 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=hXYt4ORuT8+QGKQPI0EhDleJRZrzQGRX0WUEMqEf8LQ=; b=bQVI4UGcWwzK79Uy1aV+GXfWX u+m743phFFfroU6Nb0sh4iZHh1bv2gKhZqg+PmiiPrcCA3M6j99yrYMeEgPfYPYzodmNWaj85L/Ok nGL9kPgEoOF6jFEgIAo5MunipwB/4PQL9SKevWiosodc0vhHGCcS7FD5MJzz/EFdfWzV5JE17rptx rhx/AuAz78sROEWdrR9uPUKwZQQie2qvyMr7/K3wo8BXLXnNvBOS6rg5WVkN0HdsvCHOCN5KOW9ir iY5czBBJqgrjUcs2fWuSg/JSfes75ZBRauPx2dggSea56ECQSo6Vh7MjnZeVAjDFZUS+wZ+4RO/p3 Le48IDi2A==; Original-Received: from [76.77.182.20] (port=52664 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iWlPC-003s6X-4F for emacs-devel@gnu.org; Mon, 18 Nov 2019 11:05:42 -0700 In-Reply-To: (Stefan Monnier's message of "Sun, 17 Nov 2019 14:39:54 -0500") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1iWlPC-003s6X-4F X-Source-Sender: (Takver4) [76.77.182.20]:52664 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 1 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.59.4 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242391 Archived-At: Stefan Monnier writes: >>>> Maybe streamlining the MSYS way to install Emacs is the easiest/best way >>>> to solve this problem? >>> Depends on what you mean by that (and what you mean when you say "MSYS"). > > God question. IIUC one of the main problems with bundling tools is > having to compile them, keep the versions up-to-date, distributing the > sources, etc.... > > So what I meant mostly was: don't actually bundle them, but just provide > some straightforward way to install Emacs+tools where the tools are > actually fetched from some other place that handles the job of > compiling, keeping them up-to-date, distributing the sources, ... > > I assumed MSYS could be that "other place" but apparently that's not > the case. Maybe that doesn't invalidate the underlying idea, tho. There is an emacs package currently in MSYS2, with both mingw-w64 and msys2 versions (for emacs 26.2). I have not tried them (mainly because they didn't used to be there), so I don't know what other packages/tools they install. There are also emacs packages in Cygwin, for text and X11 (for emacs 26.3); I have not tried those in a long time. So "die-hard" mingw or cygwin users are already covered. That leaves the Gnu distribution of Emacs for Windows to cover the remaining users, which are probably a very diverse lot. I compile emacs from source (usually master, sometimes the release branch), and use MSYS2/mingw64 for all tools not provided by emacs (as do many others). For tools not yet in MSYS2 (primarily LaTeX), I use Cygwin. This process does have some downsides, but I find it the best way. -- -- Stephe