GNU bug report logs - #74042
[PATCH] Accept texi2any for version identification

Previous Next

Package: emacs;

Reported by: Mats Lidell <matsl <at> gnu.org>

Date: Sun, 27 Oct 2024 08:37:02 UTC

Severity: normal

Tags: patch

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 74042 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mats Lidell <matsl <at> gnu.org>
Cc: 74042 <at> debbugs.gnu.org
Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification
Date: Sun, 27 Oct 2024 21:18:21 +0200
> From: Mats Lidell <matsl <at> gnu.org>
> Cc: 74042 <at> debbugs.gnu.org
> Date: Sun, 27 Oct 2024 18:50:59 +0100
> 
> Hi Eli,
> 
> > Eli Zaretskii writes:
> > Can you explain the rationale?  IOW, when does the current code not
> > doing its job?
> 
> If the user generates the info file by using texi2any the check for version
> number fails and the fact that "index cookies" are supported is lost.

Why would users do that by invoking texi2any directly?

> > The fact that makeinfo invokes texi2any is an internal implementation
> > detail of the Texinfo project, and I wouldn't want us to depend on
> > that without a very good reason.  E.g., once upon a time, makeinfo was
> > a standalone program written in C, and nothing prevents the Texinfo
> > folks from doing that again in some future release.
> 
> It seems to be a legit case to use texi2any directly, even encouraged, due to
> being a generic translator. makeinfo is mentioned as being an alias with no
> different behavior. On my system makeinfo is a symbolic link to texi2any.
> 
> https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Generic-Translator-texi2any.html

FTR, I'm very unhappy about this change.  I don't think we should
support this.  It is not future-proof.




This bug report was last modified 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.