Bug#989029: info: scroll-backward is buggy
Vincent Lefevre
vincent at vinc17.net
Tue Nov 22 14:08:10 GMT 2022
Control: tags -1 upstream patch
On 2022-11-22 14:46:28 +0100, Vincent Lefevre wrote:
> Removed the upstream tag as I can't reproduce the issue by compiling
> upstream's gnuplot 5.4.5, and Makefile.am and doc2texi.el in docs have
> not changed (and the 5.4.5 release notes don't mention any fix about
> the info manual).
Actually, it *is* an upstream bug. But I can reproduce it only with
a separate build directory (this is what Debian does). I suppose
that the path to the .trm files is incorrect in such a case.
doc2texi.el has
(defvar d2t-terminal-directory (expand-file-name "../term/")
"Location of .trm files in gnuplot source tree.")
If I understand correctly, this is relative to the build directory
(since the current working directory is there), while this should have
been relative to the source directory. A general fix is not obvious:
one would have to pass $(srcdir) to the file, unless there is some
Emacs variable that already contains the information. However, for
Debian, the build directory is at some fixed place in the source tree,
so that this can be fixed by just adapting the relative path.
Patch attached.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trm-path.patch
Type: text/x-diff
Size: 531 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20221122/3d86986a/attachment.patch>
More information about the debian-science-maintainers
mailing list