From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mats Lidell Newsgroups: gmane.emacs.bugs Subject: bug#74042: [PATCH] Accept texi2any for version identification Date: Sun, 27 Oct 2024 18:50:59 +0100 Message-ID: <87plnl4epo.fsf@gnu.org> References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74042@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 18:51:50 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 1t57Qb-000153-B6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 18:51:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t57QH-0000Xb-MO; Sun, 27 Oct 2024 13:51:29 -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 1t57QF-0000Ws-HA for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:51: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 1t57QF-0005Bn-8b for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:51:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=lD5L/OoArF4kxPUU130kToob+7JZdQ2AWCA9I9FlngE=; b=qX8RhBPG2DLXHCiDAW7L8r4hNeH/IUDDxUDm3MLkh7H5ZO6NjOeOFT9qI+FaySR0Ic0CHn9SODdPqmOjj+nI56yITytpUgingQrcOK8dhxJqzjqQQjsCe+mr8YBvTn6YWjoorzZtjDORSx/UQKM/z7e+PzPJSDtKrrFTZ3f6pMcpRe7kbxBtTzWYsEDN4qSnuzSfeMx9MOzNYpEyBfglG/8A0DTsZQTWJ2oBh8bmhPW5qR6kFFQXg/ZKf+OPVbfpP9B7HkxSFykG8LLux0lJ80FdYHbvInZLLRD0EosrN9l3shb6UDJmIinvNuDjisokUb0gXZLL+M0TxYguALIVJQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t57Qo-000219-7e for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 13:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mats Lidell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2024 17:52: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.17300515087714 (code B ref 74042); Sun, 27 Oct 2024 17:52:02 +0000 Original-Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 17:51:48 +0000 Original-Received: from localhost ([127.0.0.1]:46150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t57Qa-00020M-AW for submit@debbugs.gnu.org; Sun, 27 Oct 2024 13:51:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t57QW-000206-TB for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 13:51:46 -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 1t57Ps-00059U-Ct for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 13:51:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=lD5L/OoArF4kxPUU130kToob+7JZdQ2AWCA9I9FlngE=; b=ILn6gaC+fOqKq8tkiq5P NPkN2dCW75OtuqMTwFm7fpY8hcOyKfiZmB/HtoeolgDKU8kUdDroDPXayy9rnlalQP84HgcQOwoMJ fVuViaIC6Hv2hNWK5BgK305BUkiK1NYB+/n+fln6aSawEZbeF48Ko2CAycggPSNGLiBSfAhTz8qXL m1x8w1YFnBm4DLHleKfc6Obaj4bBUwl+Z2q7lPDg1q3NE4lAqzENTKg3BN01aRfQYVwHzp1q+AgUh O2xOPc1A46CqeyQhw7Zf0X488nKV69rTGLdPMJs0T56o7Z1lYBaslJxRdoEFhHBaJw4dIh/J8H4/U 3rqaHmVPwNzEUA==; In-Reply-To: <86zfmpaolv.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Oct 2024 11:20:44 +0200") 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:294380 Archived-At: 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. I don't know what index cookies are but the effect was in my case that only one of three indexes was noticed in the info file. > 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 Yours -- %% Mats