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: Sun, 24 Jan 2021 23:34:29 +0000 Message-ID: <871re9nc3e.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> <87bldh7xue.fsf@russet.org.uk> <83bldg6h0o.fsf@gnu.org> <87a6sygf0s.fsf@russet.org.uk> <87a6sydjvw.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 25 00:36:07 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 1l3ovO-0003VV-RO for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 00:36:06 +0100 Original-Received: from localhost ([::1]:54728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3ovN-0003LL-Pp for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 18:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3ou2-0002sR-Nh for emacs-devel@gnu.org; Sun, 24 Jan 2021 18:34:42 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:39330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3ou0-0000Wg-Hy for emacs-devel@gnu.org; Sun, 24 Jan 2021 18:34:42 -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: MIME-Version:References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: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=De1+CyXJC4c4YxVj5AdLFtP40INkjJZl+R4MofQZa/8=; b=U0kbXOLQCZ0RvL5gFEiTmK6FVL O5mxQF/suXMyA7ezMw6yZDf/+rkKdWPo2PO8FK2qXTtYVajDXP+JkPWllI++EXppt/ppuB/kCNtXG 5PrY/Cm2wFiWyeQB7LLKuZQjQEsFehn9mpIWHkGthTSDD2klozBcrShyAibpcaRpzL0Mn+H0rEMBm pV3t3FnHRLhAdTJFgdiENXeDHb41cA3yKGB8l0JovGGuxtIhSOJf8Y0OiCptyuwrNl3Yn1F7y64sP w1GifQ7em1asUtMbXyuzLrZEEIzqmPzKNyBha3FnqoF18tG//TT6p522gakg3/d4dq9C1EVCvJYbC h2eK0jzg==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:51646 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 1l3oty-0000Az-74; Sun, 24 Jan 2021 23:34:38 +0000 In-Reply-To: <87a6sydjvw.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sun, 24 Jan 2021 23:56:19 +0100") 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:263367 Archived-At: =C3=93scar Fuentes writes: > Phillip Lord writes: > >> But, mingw64 does not have all the packages I need. > > Ok, here goes a data point: > >> How do people use Emacs on windows? > > I install MSYS2 and execute a shell script that installs this > packages: > > universal-ctags-git ag putty-ssh aspell aspell-en aspell-es diffutils > > (the scripts prepends the names listed above with the corresponding > mingw-w64-i686/x86_64 prefix). Then I install emacs with `pacman`, > either from MSYS2 binary repository or from the packages I build. In your case, you are using msys effectively as an installer, to install mingw64 packages. Likewise, I presume, with Emacs? This seems to come in both an msys2 and mingw64 package. Any reason for putty rather than openssh? >> I mean, do they install find, > > I don't use it. I don't use it on GNU/Linux either (I work 99% of the > time on GNU/Linux). Oh, I'm a find junkie. >> ls, > > Is it necessary? Not sure. I thought dired used it, at least if it's there but maybe not. >> git, > > Git for Windows. > >> aspell > > See above. > >> and all the rest by hand? > > On my case, only Git for Windows and MSYS2 are installed by hand. > > BTW, Git for Windows is also based on MSYS2: it installs the required > pieces that are required for running the parts of git that still depend > on POSIX. > > It theory, instead of Git for Windows I could also run MSYS2's own > git.exe setting magit-git-executable and vc-git-program, without adding > MSYS2 /bin directory to PATH, but last time I tried it was somewhat > slower than Git for Windows, which is slow enough itself. Also, the > later comes with some goodies built-in, such as git-svn. MSYS2 git > package requires about 30 MB, while Git for Windows 240. Yes, I hear that magit is difficult to use on Windows. I don't know if that is fixable within Emacs, or if it is fundamental to Windows. > I execute runemacs.exe from wathever/msys64/mingw64/bin. emacs.el sets > PATH and exec-path: > > (defun anade-a-path (path) > (setenv "PATH" (concat (getenv "PATH") path-separator dir)) > (setq exec-path (append exec-path (list dir)))) > > (anade-a-path (file-name-directory (car command-line-args))) > > With this I can execute programs on emacs.exe directory (that is, > whatever/msys64/mingw64/bin) with no problems. That's a good data point! Thank you. Phil