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: INFOPATH on MSYS(2) Date: Thu, 02 May 2019 05:36:24 +0300 Message-ID: <83r29hpopj.fsf@gnu.org> References: <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> <83lfzqrj2d.fsf@gnu.org> <87v9ythlqe.fsf@russet.org.uk> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266044"; 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 Thu May 02 04:36:54 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 1hM1ae-00174k-6f for geh-help-gnu-emacs@m.gmane.org; Thu, 02 May 2019 04:36:52 +0200 Original-Received: from localhost ([127.0.0.1]:44089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM1ac-0000o3-SW for geh-help-gnu-emacs@m.gmane.org; Wed, 01 May 2019 22:36:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM1aR-0000nn-GE for help-gnu-emacs@gnu.org; Wed, 01 May 2019 22:36:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM1aR-0002WA-Cq for help-gnu-emacs@gnu.org; Wed, 01 May 2019 22:36:39 -0400 Original-Received: from [176.228.60.248] (port=2818 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hM1aQ-0003LK-0O for help-gnu-emacs@gnu.org; Wed, 01 May 2019 22:36:39 -0400 In-reply-to: <87v9ythlqe.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:120126 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: Eli Zaretskii , Help Gnu Emacs mailing list > Date: Wed, 01 May 2019 23:07:53 +0100 > > Yes, apologies, my last email was nonsense. Running "export" in a > mingw64 we see > > declare -x INFOPATH="/usr/local/info:/usr/share/info:/usr/info:/share/info:" > > > Running export in a shell inside Emacs we see. > > declare -x INFOPATH="C:\\msys64\\usr\\local\\info;C:\\msys64\\usr\\share\\info;C:\\msys64\\usr\\info;C:\\msys64\\share\\info" > > Final ":" gone, hence Emacs never appends its own info files. > > No idea where this is caused and it's a lot harder to chase down than > setting the INFOPATH. It no doubt happens in the same code which converts paths to their Windows format. Someone decided that trailing colons are a mistake of sorts that needs to be "fixed". Or maybe it's just an unintended consequence of how the code was written, with this special use case unaccounted for. In any case, this is a bug that should be reported, IMO.