From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74042: [PATCH] Accept texi2any for version identification Date: Sun, 27 Oct 2024 21:18:21 +0200 Message-ID: <868qu98ide.fsf@gnu.org> References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74042@debbugs.gnu.org To: Mats Lidell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 20:19:47 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t58nj-0009xC-8t for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 20:19:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t58nS-0002gs-74; Sun, 27 Oct 2024 15:19:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t58nP-0002gB-It for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 15:19:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t58nP-0005mv-A1 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 15:19:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=/lJdC8LOZCg9w2Ou8ZtW9QbMmgxbYZf7UlR2xxiHkFo=; b=sv4Ry4OkfLgRDKFph4tVXI3F9oUjof+UNrwHh84Fq7+G1CIBicbNmep01kzwN0xpta/Tsw3YcYKYenNKrpXiRTAsSsg+i6yE25NkT0ysLvt4tt5ooVEU0+ChzJGJyFZUdcNdXkBXCqdX3DWZgHxMHMMX5qFiyFq8lx8+JGpvbhRe+ziorqvJQrJ7MLiz4l7SE66TCZxKnMihhtcvX7kCgBSRocegXu9pqK1ZWOcC/mDDCurCrorX0l+JkefuARtfyJPRctYrNb5QrUyEPVbq1JBV2TDasl4NgR87YYNZ7lFXKr4SmQtkXWFBri2YDLZt6hALVaQTgC79zNCYWOJkRQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t58ny-0006Fi-Be for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 15:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2024 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74042-submit@debbugs.gnu.org id=B74042.173005674523928 (code B ref 74042); Sun, 27 Oct 2024 19:20:02 +0000 Original-Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 19:19:05 +0000 Original-Received: from localhost ([127.0.0.1]:46385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t58n3-0006Dr-Dr for submit@debbugs.gnu.org; Sun, 27 Oct 2024 15:19:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t58n1-0006DE-M6 for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 15:19:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t58mN-0005eK-9K for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 15:18:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/lJdC8LOZCg9w2Ou8ZtW9QbMmgxbYZf7UlR2xxiHkFo=; b=GrxC5Q4DEwqK vfC/dSTjCh3an1jT20cmgAzzNewgIW4meQJskig12keGxZ5XzcApipE2a91ak7l28OtOPXl2BwItr k5JXjaYh6kGvW6szUznHEvZAx+MLFOhbgxRRmFFVLk7eaa367E+hJuYNQXW1ZaaaIjfMsfenyQkXh QBFy3oSgyaTvzCiJwsNErrcLmmLXEtgfqdynQOIgYxioxkuAqxlMcvLLZYVIaBXbuQHZhrHtVsktp cdMzcQmglTkWibRtpnvUbK1bH40gFuhd7wowtGadqvOXGxEdqvflojAhWtGVdvVesjewWhMFGyjpY t7DtOMxEknnaZle7dcA/Hg==; In-Reply-To: <87plnl4epo.fsf@gnu.org> (message from Mats Lidell on Sun, 27 Oct 2024 18:50:59 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294387 Archived-At: > From: Mats Lidell > Cc: 74042@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.