[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57114: 29.0.50; texinfo-format-buffer in auth.texi leads to backtrac
From: |
Eli Zaretskii |
Subject: |
bug#57114: 29.0.50; texinfo-format-buffer in auth.texi leads to backtrace |
Date: |
Wed, 10 Aug 2022 16:17:23 +0300 |
> From: Stefan Kangas <stefan@marxist.se>
> Date: Wed, 10 Aug 2022 14:45:02 +0200
> Cc: 57114@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Yes, because you invoke the command incorrectly (in the wrong
> > directory).
> >
> > This is not a bug.
>
> I don't understand what you mean by "the wrong directory", and nothing
> like that is explained in the `texinfo-format-buffer' docstring.
>
> Care to elaborate?
Why, will it make you change your mind about texinfmt?
Anyway: our manuals nowadays pass the -I$(srcdir)/../emacs switch to
makeinfo, whereas invoking texinfo-format-buffer doesn't do that. So
if you want it to process @include correctly, you should invoke the
command with default-directory set to the directory of the included
file.