From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55930: 29.0.50; Removing some items from Emacs FAQ for MS Windows Date: Mon, 13 Jun 2022 14:44:08 +0300 Message-ID: <83a6agvldj.fsf@gnu.org> References: <86fsk9buyr.fsf@gnu.org> <83edztvid5.fsf@gnu.org> <86tu8o6hwx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16355"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55930@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 14:17:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o0j0p-0003zc-6t for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 14:17:43 +0200 Original-Received: from localhost ([::1]:38894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0j0n-0004wa-Te for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 08:17:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0iVC-0004OT-Lj for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 07:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0iVC-0003EF-Ce for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 07:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0iVC-0003I2-95 for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 07:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2022 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55930 X-GNU-PR-Package: emacs Original-Received: via spool by 55930-submit@debbugs.gnu.org id=B55930.165512068012600 (code B ref 55930); Mon, 13 Jun 2022 11:45:02 +0000 Original-Received: (at 55930) by debbugs.gnu.org; 13 Jun 2022 11:44:40 +0000 Original-Received: from localhost ([127.0.0.1]:57382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0iUk-0003H3-AC for submit@debbugs.gnu.org; Mon, 13 Jun 2022 07:44:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0iUg-0003Gl-Jr for 55930@debbugs.gnu.org; Mon, 13 Jun 2022 07:44:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0iUZ-00039o-NM for 55930@debbugs.gnu.org; Mon, 13 Jun 2022 07:44:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=N2NpPpNFBZr2RxedZiwONcdSGq2ln6QObVxcMtz+j54=; b=YdTbpx2Qy39wUWmfg5kx Okse6b396LgaLn4EAogDbfHmwAMjk4U3liYX684/Hl4wUbzehnjWDL1krcRha3PM2uN1Y/w0UcziJ sa2M4noXc9ux92PPfw7g+1JQ+9zekXA7EKsoXxTVRMPM7LzDP45uU70Bbmik7iaCkyU3N2x8x1K+2 o2EwyUfTEHvCahGctDaE/Ssih+gjyB4mdQ+4ahGMBdFMwQqaj5kt/Z9nWmhuIkRrTGr758jpMpovX z79iGOVcORKYMwenk0PFIuq+/UlCAoarenGlSW2GOnDPYK5cUOmkVLKpv8TmjdL3TWVYb0MZ6AV8D AG1Y68LTiEdiKQ==; Original-Received: from [87.69.77.57] (port=4007 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0iUX-0000vp-T9; Mon, 13 Jun 2022 07:44:23 -0400 In-Reply-To: <86tu8o6hwx.fsf@gnu.org> (message from Arash Esbati on Mon, 13 Jun 2022 11:18:06 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234386 Archived-At: > From: Arash Esbati > Cc: 55930@debbugs.gnu.org > Date: Mon, 13 Jun 2022 11:18:06 +0200 > > >> Maybe an entry for Msys2 should be added? I can send a proposal, but > >> before that, I'd like to know how people think about it. > > > > I hope you mean MinGW64 executables here. > > I did. But I was more thinking about an entry which covers MinGW-w64 > and MSYS2, basically the same thing like MinGW and MSYS which is already > there. > > > Yes, if you can come up with a list of MinGW64 ports that are > > available from the MSYS2 folks, by all means suggest a patch for the > > FAQ. > > MSYS2 distribution offers more than 2.600 ports in their MinGW64 subsystem, > so a sensible list is rather complicated. My suggestion is attached. I > haven't made a ChangeLog entry yet, but in general: > > • The file nt/INSTALL.W64 is mentioned > • A ; is added to the examples for .mailcap in order to be in line with > Emacs MIME manual > • UWIN entry is gone > • Entry for MinGW64 and MSYS2 is added. > > Any comments welcome. Thanks. First, I think MinGW64 should nowadays be the main reference, and mingw.org's MinGW just the second choice, specifically for 32-bit builds targeting old Windows versions (which MinGW64 and MSYS2 no longer support). We should mention this aspect, and also say what "older versions" are not supported by MSYS2, so that people won't be unpleasantly surprised after spending their afternoon downloading stuff. > @@ -2139,7 +2143,7 @@ MinGW > @cindex msys environment > @cindex subprocesses, mingw and msys > > -@uref{http://www.mingw.org/} > +@uref{https://mingw.osdn.io/} The correct URL is https://osdn.net/projects/mingw/ > +@node MinGW-w64 > +@section MinGW-w64 and MSYS2 > +@cindex mingw-w64 tools > +@cindex msys2 environment > +@cindex subprocesses, mingw-w64 and msys2 > + > +@uref{https://www.msys2.org/} > + > +MinGW-w64 is another set of development tools that produce native > +Windows executables. MinGW-w64 has forked the original MinGW in 2007 > +in order to provide support for 64 bits and new APIs. > + > +MSYS2 is software distribution and a building platform for Windows. > +MSYS2 is an independent rewrite of MSYS, based on modern Cygwin and > +MinGW-w64 with the aim of better interoperability with native Windows > +software. It plays the same role MSYS does in MinGW. > + > +Being a distribution, MSYS2 provides tools to build software as well > +as more than 2.600 precompiled packages ready for use. For example, > +the distribution offers Hunspell as the package > +@samp{mingw-w64-x86_64-hunspell} which can be installed through the > +provided package manager Pacman. One can now open the MINGW64 > +subsystem by running the file @file{mingw64.exe} which opens a > +terminal window (Mintty) with a proper shell (Bash) and use the > +command @command{hunspell} directly. If Emacs is started from this > +shell, it will find @command{hunspell} as well and there is no need > +for adjustments in @code{exec-path} and such. External binaries can > +be made available by adding them to @env{PATH} in > +@file{~/.bash_profile}, for example: > +@example > +export PATH=$PATH:/c/Program\ Files/gs/gs9.56.1/bin > +@end example This is IMO too detailed for no good reason. We don't need to "sell" MinGW64. I think we should make it shorter, in the same style as the MinGW/MSYS section. Thanks.