GNU bug report logs -
#68970
30.0.50; Info.el: Info-url-alist should support format-sequence that encodes "Top" node as "index"
Previous Next
Reported by: Mekeor Melire <mekeor <at> posteo.de>
Date: Wed, 7 Feb 2024 13:55:01 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Mekeor Melire <mekeor <at> posteo.de>
> Date: Wed, 07 Feb 2024 13:27:35 +0000
>
> The new option Info-url-alist allow users to add custom mappings from
> manual-names to URLs. When the URL-SPEC is provided as string, users may
> use the %e format-sequence. But in the most common case, namely when
> URLs need to use a .html-suffix, this is not usable:
>
> In the case of the special "Top" node, the %e format-sequence resolves
> to "", i.e. the empty string. It is thus not possible to use a URL-SPEC
> like "https://example.com/%e.html" because "https://example.com/.html"
> is invalid. The user rather wants "https://example.com/index.html" in
> this case.
Sorry, I don't think I understand: "https://example.com/" stands for
"https://example.com/index.html", AFAIK. This is why %e produces an
empty string for the Top node. So why would users want to specify
"https://example.com/%e.html" instead of just "https://example.com/%e"?
IOW, I don't see why users will need to use the .html extension in the
alist, it works without the extension.
What am I missing?
This bug report was last modified 1 year and 130 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.