GNU bug report logs -
#67615
[PATCH] * lisp/info.el (Info-url-for-node): Support all Emacs info manuals.
Previous Next
Reported by: Mekeor Melire <mekeor <at> posteo.de>
Date: Mon, 4 Dec 2023 00:08:02 UTC
Severity: wishlist
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #70 received at 67615 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
2024-01-20 09:23 eliz <at> gnu.org:
> What about the case where the HTML docs are produced with one file per
> node? doesn't Texinfo create in that case directories that are named
> like the manual, but without the .html extension?
I tested this and found out that Texinfo does not create directories for
each node in that case.
The reason why after omitting the .html-suffix gnu.org still serves the
html-manual is its web-server configuration. This was confirmed to me
via IRC in the #gnu channel on libera.chat server.
Attached is a new version of that patch with following changes:
- Let Info-url-for-node skip whitespace and newlines between closing
parenthesis and node-name. This mimics Texinfo as can be traced here:
https://git.savannah.gnu.org/cgit/texinfo.git/tree/info/info.h?h=114e10b2a1cb5ee07ae6b9d1228d6d016c9f86e6#n44
https://git.savannah.gnu.org/cgit/texinfo.git/tree/info/scan.c?h=114e10b2a1cb5ee07ae6b9d1228d6d016c9f86e6#n123
It also makes Info-url-for-node work with the string that is put into
kill-ring with the Info-copy-current-node-name command which uses a
whitespace.
- Do not use a .html suffix, neither in the default value for the new
Info-url-alist, nor in the %e format-thing that can be in user-defined
values of it. Users still can add a ".html" suffix themselves, if the
respective web-server does not support omitting it.
- More tests, including manuals in all relevant directories and formats
and "special" characters.
[0001-Add-option-Info-url-alist.patch (text/x-patch, attachment)]
This bug report was last modified 1 year and 194 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.