From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 26.1 on Windows is HUGE Date: Wed, 01 May 2019 05:43:06 +0300 Message-ID: <83lfzqrj2d.fsf@gnu.org> References: <87d0loujuf.fsf@telefonica.net> <87y34bxzoo.fsf@russet.org.uk> <87h8axwsv6.fsf@russet.org.uk> <87mukmmmyg.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87ftq8iwon.fsf@russet.org.uk> <87d0l9n9mh.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87k1fg7n3e.fsf@russet.org.uk> <83sgu4wszs.fsf@gnu.org> <874l6kh49v.fsf@russet.org.uk> <874l6k1mm5.fsf@telefonica.net> <87ef5nae97.fsf@russet.org.uk> <83pnp7vgcq.fsf@gnu.org> <875zqwykzl.fsf@russet.org.uk> <83a7g8u9p9.fsf@gnu.org> <877ebbzuvt.fsf@russet.org.uk> <83pnp3sf6g.fsf@gnu.org> <87lfzrzesu.fsf@telefonica.net> <835zqvsckm.fsf@gnu.org> <87v9yvi4bu.fsf@russet.org.uk> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="227403"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 01 04:43:28 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLfDS-000wwD-GL for geh-help-gnu-emacs@m.gmane.org; Wed, 01 May 2019 04:43:26 +0200 Original-Received: from localhost ([127.0.0.1]:60459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfDR-0004z5-Ar for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 22:43:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfDD-0004yo-JO for help-gnu-emacs@gnu.org; Tue, 30 Apr 2019 22:43:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLfDD-00010L-Gf for help-gnu-emacs@gnu.org; Tue, 30 Apr 2019 22:43:11 -0400 Original-Received: from [176.228.60.248] (port=2322 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hLfDC-00066Z-TR for help-gnu-emacs@gnu.org; Tue, 30 Apr 2019 22:43:11 -0400 In-reply-to: <87v9yvi4bu.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120118 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: help-gnu-emacs@gnu.org > Date: Tue, 30 Apr 2019 22:13:57 +0100 > > >> https://github.com/msys2/MINGW-packages/issues/631 > > > > Wow, 4 years! > > > > I think they should be told about the trailing colon feature, maybe > > that will help them fix the problem. Or not. > > > Or not, am afraid. > > The fix is very simple. INFOPATH is set in /etc/profile. And /etc/profile didn't come with the MSYS installation? It's a file you concocted? If the file comes with the installation, then MSYS are the ones who need to fix it. > But, Emacs will ignore the final colon regardless. The code is > below. The problem is we match against path-separator which is ";" not > ":", so we never do the `append'. ??? You mean MSYS2 Bash doesn't convert the colons to semi-colons (and the /d/foo/bar file names to Windows d:\foo\bar) when they pass INFOPATH to native MS-Windows programs? That's a terrible bug. Doing these conversions are the main reason for MSYS existence, and the main difference between it and Cygwin. Do they perform these conversion on PATH? > However you set INFOPATH, if its last character is a colon (on > MS-DOS/MS-Windows systems, use a semicolon instead), this is replaced > by the default (compiled-in) path. This gives you a way to augment the > default path with new directories without having to list all the > standard places. > > Both Emacs and the Info documentation are wrong, I think, since they > assume the path seperator for environment variables on MS-Windows > systems in ";" which isn't true in general. No, the path separator on Windows is _always_ semi-colon. Emacs and our docs are right, and MSYS should be fixed.