GNU bug report logs -
#57107
texinfo-format-buffer does not work in calc.texi
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Wed, 10 Aug 2022 10:19:02 UTC
Severity: normal
Fixed in version 28.2
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Wed, 10 Aug 2022 03:18:33 -0700
>
> Running `texinfo-format-buffer' in "doc/misc/calc.texi" leads to:
>
> Debugger entered--Lisp error: (error "Texinfo file needs an
> ‘@setfilename FILENAME’ line")
> error("Texinfo file needs an `@setfilename FILENAME' line")
> texinfo-format-buffer-1()
> texinfo-format-buffer(nil)
> funcall-interactively(texinfo-format-buffer nil)
> command-execute(texinfo-format-buffer)
>
> Of course, that file does have:
>
> @setfilename ../../info/calc.info
It's a bug in calc.texi: it violates the following requirement of
Texinfo:
The '@setfilename' line specifies the name of the output file to be
generated. When present, it should be the first Texinfo command (that
is, after '\input texinfo'). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^
This bug report was last modified 2 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.