[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
INFOPATH on MSYS(2) (WAS: Emacs 26.1 on Windows is HUGE)
From: |
Noam Postavsky |
Subject: |
INFOPATH on MSYS(2) (WAS: Emacs 26.1 on Windows is HUGE) |
Date: |
Wed, 1 May 2019 10:22:08 -0400 |
On Wed, 1 May 2019 at 00:04, Eli Zaretskii <eliz@gnu.org> wrote:
> > ??? 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.
> I just checked, and MSYS does perform this conversion, both on INFOPATH and
> on any other FOOPATH variable that looks like a list of directories.
>
> So INFOPATH should look in MinGW Emacs as expected, separated by semi-colons.
> If it doesn't happen for you, there's some other factor at work here.
>
It seems that it does perform the conversion, but in doing so drops
the the trailing colon.
$ export INFOPATH=/c/foo:/c/bar:
$ emacs -Q --batch --eval '(print (getenv "INFOPATH"))'
"C:\\foo;C:\\bar"