From: phillip.lord@russet.org.uk (Phillip Lord)
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 26.1 on Windows is HUGE
Date: Tue, 30 Apr 2019 22:13:57 +0100 [thread overview]
Message-ID: <87v9yvi4bu.fsf@russet.org.uk> (raw)
In-Reply-To: <835zqvsckm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 30 Apr 2019 19:05:45 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Óscar Fuentes <ofv@wanadoo.es>
>> Date: Tue, 30 Apr 2019 17:35:45 +0200
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> I will have a poke around and see if I can find out where this is set
>> >> for msys.
>> >
>> > Regardless, I think this should be reported to MSYS, because they need
>> > to fix it.
>>
>> 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.
https://github.com/msys2/MSYS2-packages/blob/master/filesystem/profile
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'.
(defun info-initialize ()
"Initialize `Info-directory-list', if that hasn't been done yet."
(unless Info-directory-list
(let ((path (getenv "INFOPATH"))
(sep (regexp-quote path-separator)))
(setq Info-directory-list
(prune-directory-list
(if path
(if (string-match-p (concat sep "\\'") path)
(append (split-string (substring path 0 -1) sep)
(Info-default-dirs))
(split-string path sep))
(Info-default-dirs))))
......SNIP
This follows the info documentation which says:
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.
Phil
next prev parent reply other threads:[~2019-04-30 21:13 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-14 22:01 Emacs 26.1 on Windows is HUGE Björn Lindqvist
2019-04-15 1:40 ` Óscar Fuentes
2019-04-15 11:42 ` Phillip Lord
2019-04-15 14:55 ` Óscar Fuentes
2019-04-15 17:00 ` Phillip Lord
2019-04-16 20:57 ` Björn Lindqvist
2019-04-16 21:19 ` Phillip Lord
2019-04-16 22:18 ` Björn Lindqvist
2019-04-17 2:48 ` Eli Zaretskii
2019-04-17 3:34 ` Óscar Fuentes
2019-04-17 4:13 ` Eli Zaretskii
2019-04-17 15:28 ` Phillip Lord
2019-04-17 16:41 ` Eli Zaretskii
2019-04-19 8:13 ` Tomas Nordin
2019-04-23 15:11 ` Phillip Lord
2019-04-25 19:54 ` Tomas Nordin
2019-04-26 16:22 ` Phillip Lord
2019-04-26 17:56 ` Eli Zaretskii
2019-04-26 20:59 ` Phillip Lord
2019-04-26 21:29 ` Óscar Fuentes
2019-04-27 11:17 ` Phillip Lord
2019-04-27 11:26 ` Eli Zaretskii
2019-04-29 13:55 ` Phillip Lord
2019-04-29 15:12 ` Eli Zaretskii
2019-04-30 9:48 ` Phillip Lord
2019-04-30 15:09 ` Eli Zaretskii
2019-04-30 15:35 ` Óscar Fuentes
2019-04-30 16:05 ` Eli Zaretskii
2019-04-30 21:13 ` Phillip Lord [this message]
2019-05-01 2:43 ` Eli Zaretskii
2019-05-01 4:04 ` Eli Zaretskii
2019-05-01 14:22 ` INFOPATH on MSYS(2) (WAS: Emacs 26.1 on Windows is HUGE) Noam Postavsky
2019-05-01 17:17 ` Eli Zaretskii
2019-05-01 22:07 ` INFOPATH on MSYS(2) Phillip Lord
2019-05-02 2:36 ` Eli Zaretskii
[not found] ` <87pnopx929.fsf@russet.org.uk>
2019-05-11 16:14 ` Emacs 26.1 on Windows is HUGE Phillip Lord
2019-05-13 13:27 ` Óscar Fuentes
2019-04-27 7:14 ` Eli Zaretskii
2019-04-16 20:35 ` Björn Lindqvist
2019-04-16 20:54 ` Óscar Fuentes
2019-04-17 4:09 ` Björn Lindqvist
2019-04-17 15:25 ` Óscar Fuentes
2019-04-17 16:36 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9yvi4bu.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.