From unknown Mon Aug 18 19:35:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74042 <74042@debbugs.gnu.org> To: bug#74042 <74042@debbugs.gnu.org> Subject: Status: [PATCH] Accept texi2any for version identification Reply-To: bug#74042 <74042@debbugs.gnu.org> Date: Tue, 19 Aug 2025 02:35:54 +0000 retitle 74042 [PATCH] Accept texi2any for version identification reassign 74042 emacs submitter 74042 Mats Lidell severity 74042 normal tag 74042 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 04:36:27 2024 Received: (at submit) by debbugs.gnu.org; 27 Oct 2024 08:36:27 +0000 Received: from localhost ([127.0.0.1]:43725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4yl9-0000qx-As for submit@debbugs.gnu.org; Sun, 27 Oct 2024 04:36:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:48344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4yl6-0000qm-R0 for submit@debbugs.gnu.org; Sun, 27 Oct 2024 04:36:26 -0400 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 1t4ykY-0006s8-1M for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 04:35:50 -0400 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 1t4ykX-0008U2-Pn for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 04:35:49 -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:Subject:To:From:in-reply-to: references; bh=O5wMvgJ4b8gqqUUyHeiXu2b0Z8SsSqAYqgoEI3DR7k0=; b=fBlq6tb0A6zA5l bJ5tsGODrp+7VqioT+OlExpnvhwofyHmOlDXUEusonI9cHJY1dvjuymjG9i6FH+4vsFF2HDUtQORZ tI+etm7C4zlO6IrpUO4dhOfavCHmn8plIhzYboAyYbF9b+3cKSAJA3JpjqSiKk667Es7KyBTbuL2M UBRMDEPZpdgBSZdI564mYGB5KfLK6K8gwuuoimq/56C4P0CDLsFUreXnm0PKlX7700woK+ZpPkm6y y4k3Jm71QD0WWxCfWTCHQR/QUdHyglMEZFzVakH6kKGD/0uXehurqe4+lKhruQjEZUzTBiMH1wuej AXwCmoKmS66+JoRap1GQ==; From: Mats Lidell To: bug-gnu-emacs@gnu.org Subject: [PATCH] Accept texi2any for version identification Date: Sun, 27 Oct 2024 09:35:45 +0100 Message-ID: <87jzduaqou.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hi, Although according to docs texi2any is identical to makeinfo it outputs its name in the first line which the version check in `Info-file-supports-index-cookies' does not account for. The submitted patch allows both makeinfo and texi2any to be in the version string. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.2) of 2024-10-27 built on ethel Repository revision: 523aade3ea11c188e30e3889f031d1848129cf82 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Gentoo Linux Configured using: 'configure --prefix=/home/matsl --with-mailutils --with-native-compilation --with-tree-sitter' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Accept-texi2any-for-version-identification.patch >From 53c87778acb33d82f6fff64048e1e9d6372e5238 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Sun, 27 Oct 2024 09:11:16 +0100 Subject: [PATCH] Accept texi2any for version identification --- lisp/info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 1ad1677c6ce..6a5fe6f1fbc 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -667,7 +667,7 @@ Info-file-supports-index-cookies (goto-char (point-min)) (condition-case () (if (and (re-search-forward - "makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)" + "\\(?:makeinfo\\|texi2any\\)[ \n]version[ \n]\\([0-9]+.[0-9]+\\)" (line-beginning-position 4) t) (not (version< (match-string 1) "4.7"))) (setq found t)) -- 2.45.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 05:21:30 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 09:21:30 +0000 Received: from localhost ([127.0.0.1]:43781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4zSk-0002vn-3N for submit@debbugs.gnu.org; Sun, 27 Oct 2024 05:21:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4zSh-0002vW-PG for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 05:21:28 -0400 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 1t4zS3-0004qX-La for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 05:20:47 -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=cAxKemH58JRq1aeSbVb0h6a5wQfg54TtbgVq68e/ZJY=; b=bkQnS4HKb0xc NgrmHM68R362GNuD3MJLZMXVDMTA2as71P9U8ZbN1/2SFew8UVUrDpA2cuoyOsnfcqwq0bWSm9N9S pxFbMq4hgLkwwbn80OxSjsdohiL0JRDsS1oWi8AUPNCwmkDiqdM7wb7c4WgRsRekGRgO8brFisqrE nOq/uYVHCit6CZNlPgb+p1TxPo0jOlEttS5ApdGqRU60joTaiITEDJ7K53SsXc8t+69zubO36So2n d0DsQ06UnBFxW8cRQqJ+lBfHrHXd1UkkEUL96wMvpCP26EanXnMsnBDGs8ZpSxPqr0HfYXbWr/3zr /fpG6qelOKSXH1B9z6Z+Rw==; Date: Sun, 27 Oct 2024 11:20:44 +0200 Message-Id: <86zfmpaolv.fsf@gnu.org> From: Eli Zaretskii To: Mats Lidell In-Reply-To: <87jzduaqou.fsf@gnu.org> (message from Mats Lidell on Sun, 27 Oct 2024 09:35:45 +0100) Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification References: <87jzduaqou.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mats Lidell > Date: Sun, 27 Oct 2024 09:35:45 +0100 > > Although according to docs texi2any is identical to makeinfo it outputs its > name in the first line which the version check in > `Info-file-supports-index-cookies' does not account for. The submitted patch > allows both makeinfo and texi2any to be in the version string. Can you explain the rationale? IOW, when does the current code not doing its job? 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. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 05:49:22 2024 Received: (at 74042-done) by debbugs.gnu.org; 27 Oct 2024 09:49:22 +0000 Received: from localhost ([127.0.0.1]:43814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4zti-0004C5-93 for submit@debbugs.gnu.org; Sun, 27 Oct 2024 05:49:22 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:58607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4ztg-0004Bw-Bp for 74042-done@debbugs.gnu.org; Sun, 27 Oct 2024 05:49:21 -0400 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a9a4031f69fso454902066b.0 for <74042-done@debbugs.gnu.org>; Sun, 27 Oct 2024 02:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730022465; x=1730627265; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=ThGUPhhNwWpVBCrdnG91F2cDtIGXzLtqLWlOeZIwVag=; b=NQg+2CsFqGQiXt6TAx39UfOGKyv27OMNRzI8BbrvraRc0HmtiyaHpUMYXFNJvpvsmF Po1ElbnQFwfrgNNMWxkkOO1OH+yKQv2P3Sx3kwX+/17qiysXmNHtqSCH0KtrehItM8N/ mxvbn7+jFberqSLkTXox7L4cVzyxjAjXgyg60uzuvnZBVlpFTgQ78LwsqmX0wtvoVnKW d7FtYYC1dPWVY1J5JX8+thrCVmtDEJH01R40iiZc2Pmh/Z1YtmDQFqPwH98M47aecjx4 noPn6Q6jbFrlFIGl+JGuGu45KGjJu/vXv/Squ54ilgJYv4Utm1gzNnp2QBogBqwjiMC5 GieQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730022465; x=1730627265; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ThGUPhhNwWpVBCrdnG91F2cDtIGXzLtqLWlOeZIwVag=; b=JMgR15UIyE8oGmo5hYoNr7ogxyjIgDYvhWeBb+C9FzSMNl8IUQo9TCpkNFdbnrbEzy z3NRbkgUTx4AQxCWw7ZOktbgdBSEUx8Q22pGO6ylRJ5kSxRAMZ4uHvhi5dGp2IY+uGcw edXUVyWpZRHAQzx3IpmWZEz3niT+cyQmwZAGGDLvIqF+Ha9xADe/HZS0kAKf0yTAOxRf jkNmnXq9ZNoxnOTWDHbBJ95mLACqVKr2RRApStiAXIDUOlQao8QAt9s557CqA9sXlXZ4 +PyvvCSbhtNoFVi834/hmfbd5Nu3cogRfj9+qB78p2R6rjYGb8/fQAalAsx5YNyfTNS5 TX3w== X-Forwarded-Encrypted: i=1; AJvYcCXm069OmQCteFTPmNISQiecd8MArDPitwCLAObcYYV1RvalQoxNNjJuIXUkk/25ZkzeiBfoV8Qq2czy@debbugs.gnu.org X-Gm-Message-State: AOJu0YzYTlbNIBinmJGdZM1A+vB59j5YWGXe+jsNXTHMED0h8sFHdQ0d BkCEiAfqW2q56dHTdUXlV8itlpHHHnO7KeOhLgxp9wn6YxnSBQ3tF7+90fTRLLn9nF2Y8iSujtp cct1U8aHpRlB4bnfWQjmokgrE84yHdw== X-Google-Smtp-Source: AGHT+IHn6s/w74l2M2Lb4CaXVsXwRDx8JeCtpLC2JnpZeVnaEzx2vzRJ9ceGC+5z8GUJT7WNeeiWbvXuRnZiAEz9fpU= X-Received: by 2002:a17:907:961e:b0:a9a:daa:ef3c with SMTP id a640c23a62f3a-a9de5cea165mr360591066b.14.1730022464522; Sun, 27 Oct 2024 02:47:44 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 27 Oct 2024 02:47:44 -0700 From: Stefan Kangas In-Reply-To: <87jzduaqou.fsf@gnu.org> References: <87jzduaqou.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 27 Oct 2024 02:47:44 -0700 Message-ID: Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification To: Mats Lidell , 74042-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74042-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mats Lidell writes: > Although according to docs texi2any is identical to makeinfo it outputs its > name in the first line which the version check in > `Info-file-supports-index-cookies' does not account for. The submitted patch > allows both makeinfo and texi2any to be in the version string. Thanks for the patch. Pushed to master as commit 4af5b794015. I'm therefore closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 06:12:24 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 10:12:24 +0000 Received: from localhost ([127.0.0.1]:43852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50Fz-0005LU-MI for submit@debbugs.gnu.org; Sun, 27 Oct 2024 06:12:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t50Fy-0005LF-AJ for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 06:12:23 -0400 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 1t50FK-0001JF-6u; Sun, 27 Oct 2024 06:11:42 -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=pV1y1FkBEHn1VwBikRuZOX1NF5YHKhn8v0kPC/mX3MM=; b=IzSdkyYtnNdk au0yAi3LpHBmOmXLwxVO3ItdrTK4fXhmT0cS/roFw21JNSc4y4IE6cjeKG5cK3yat1VwAEm2Rw5X7 eJU+Tu1qLuWjWEO5IxNw5qhoWIefVY2AilKKd9HzzqKV3uo90rCKoxjcKls64ARb48LuPfTcEXUii DYbRo7OuUx3xwGHDSCDVieJ4VnwJ47snnZhXKqJ2tnLXVCTx4OKWf+ZoNw0HeR7nCi9poI40qLeu1 1V6ICjNF9VBjmdRoHFfv2GrzNQTe8dgKL5ak9FreCOf+33EgDJPkVH4xkEOcZHo+uOe/9EdCxDC1o u9G8HFVqS/FvMPz9RyT//A==; Date: Sun, 27 Oct 2024 12:11:39 +0200 Message-Id: <86ttcxam90.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Sun, 27 Oct 2024 02:47:44 -0700) Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification References: <87jzduaqou.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org, matsl@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Resent-To: bug-gnu-emacs@gnu.org > From: Stefan Kangas > Date: Sun, 27 Oct 2024 02:47:44 -0700 > > Mats Lidell writes: > > > Although according to docs texi2any is identical to makeinfo it outputs its > > name in the first line which the version check in > > `Info-file-supports-index-cookies' does not account for. The submitted patch > > allows both makeinfo and texi2any to be in the version string. > > Thanks for the patch. Pushed to master as commit 4af5b794015. > > I'm therefore closing this bug report. I'd like to discuss the need for this, as mentioned in my previous message. I don't see why we need to support direct invocations of texi2any. I hope Mats will respond to my questions. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 13:51:48 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 17:51:48 +0000 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 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 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==; From: Mats Lidell To: Eli Zaretskii Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification In-Reply-To: <86zfmpaolv.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Oct 2024 11:20:44 +0200") References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> Date: Sun, 27 Oct 2024 18:50:59 +0100 Message-ID: <87plnl4epo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 15:19:05 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 19:19:05 +0000 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 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 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==; Date: Sun, 27 Oct 2024 21:18:21 +0200 Message-Id: <868qu98ide.fsf@gnu.org> From: Eli Zaretskii To: Mats Lidell In-Reply-To: <87plnl4epo.fsf@gnu.org> (message from Mats Lidell on Sun, 27 Oct 2024 18:50:59 +0100) Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 17:02:43 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 21:02:43 +0000 Received: from localhost ([127.0.0.1]:46522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5APL-0002Wn-C4 for submit@debbugs.gnu.org; Sun, 27 Oct 2024 17:02:43 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:54405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5APJ-0002Wf-MQ for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 17:02:42 -0400 Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5cb74434bc5so4796245a12.0 for <74042@debbugs.gnu.org>; Sun, 27 Oct 2024 14:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730062865; x=1730667665; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=iAq9VhIb63aXyjBL30+Mmst3dQrx7hwdRjRpCf+4xmY=; b=FXtKiSdJv9rUqq5qol/DK4hggoHGGUlXdtnUc9JzgjEwySHGyyq8EqRB0wNBOkyNVv eRvkP9xTTZSy095OognZKfQs9RYUkx+48htKBZkrOoRtZl1vwlz2LDpMUuSz3FyCqHXN BbL0+dG3OXI29xkmlWyDXuEZKdIXX/gRFdTGcjQpsocY0hhJzSqGBRsxTKTfllS5bZd9 MaFKCwqTpTW8JSMabGXvWSgnXy09s+q9YPBDC7eqtA+a7QpizK08V4IxZp2EH/05qIPP kLyWNijTn2hp7jDG9icCiTjDZWEU24K8XmeKKWJjRE4yHr8ifdzX8Lu4QWraOXl/Ljzp XpsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730062865; x=1730667665; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=iAq9VhIb63aXyjBL30+Mmst3dQrx7hwdRjRpCf+4xmY=; b=bn2uMUUebS0k7Jp9UN/boUno9uQVmEGBW/+RykqS8wxpFmj7AMauC8yAegEI+0BS+j U2NQyMmzNaRyK4eVsmvWIux2+ir/MqThQGpWVNx+8+kKEDgk67mjSiAvGMl/+uCZTax5 F9KGueQpYydFju1BpAT4bO5XchCjINPT6qXrKMfoQpZ7Ty5syB7Gx4sw/y+t0gnuTUsA bmazlvMtYd0gHbTAFXmCl0j6mBN59QIdLKekZD1tbDWBcMK8zu2Epq9P4SkRhhNOiX/i CNcbZSfdCLXBVOM9HgCiGLOhriqpKNNWWMnNffMZamhhyxhjfnexrpRh0kf1sBGioTu2 k9TQ== X-Gm-Message-State: AOJu0Yy2rIP00l8Fnf0NGV7UKZfIPvtsKhd8tVn61RHVVNv+1v4iicKV kgRxquQ2wdulUVjEK5VbZ7MK04BHyOhW+/wMEL8GGin1DqXMNCQSU1kwp6vG15CJD+/Ntu0Tbke PFhovPA1tW+T/z594EaU82b8OJDg= X-Google-Smtp-Source: AGHT+IH8q/bZZm9HOh224cvcM8Sqzt7tw6jzAhcsziM/kWcLULbdMwiSnG/ybbtUrmaUAJCl5lu9okIaktJbq868KHg= X-Received: by 2002:a05:6402:3209:b0:5cb:acdc:b245 with SMTP id 4fb4d7f45d1cf-5cbbf8ae6e1mr5725943a12.17.1730062864472; Sun, 27 Oct 2024 14:01:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 27 Oct 2024 14:01:03 -0700 From: Stefan Kangas In-Reply-To: <868qu98ide.fsf@gnu.org> References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> <868qu98ide.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 27 Oct 2024 14:01:03 -0700 Message-ID: Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification To: Eli Zaretskii , Mats Lidell Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> 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 vers= ion >> number fails and the fact that "index cookies" are supported is lost. > > Why would users do that by invoking texi2any directly? Because that what the Texinfo documentation tells you to do now. The Info node (info "(texinfo) Info Files") says: Info files are nearly always created by processing a Texinfo source document. =E2=80=98texi2any=E2=80=99, also known as =E2=80=98ma= keinfo=E2=80=99, is the principal command that converts a Texinfo file into an Info file; see texi2any. [...] With the release of =E2=80=98texi2any=E2=80=99 as the reference impl= ementation, development of both the C implementation of =E2=80=98makeinfo=E2=80=99 = and =E2=80=98texi2html=E2=80=99 has been halted. Going forward, we ask aut= hors of Texinfo documents to use only =E2=80=98texi2any=E2=80=99. Furthermore, the index entry for `makeinfo` in the Texinfo manual leads to (info "(texinfo) Invoking texi2any"), and there they again tell you to use `texi2any`: To process a Texinfo file, invoke =E2=80=98texi2any=E2=80=99 followed b= y the name of the Texinfo file. Also select the format you want to output with the appropriate command line option (default is Info). Thus, to create the Info file for Bison, type the following to the shell: texi2any --info bison.texi > FTR, I'm very unhappy about this change. I don't think we should > support this. It is not future-proof. I installed it before seeing your objections; I assumed it was uncontroversial. I'm probably missing some nuances here as I'm far removed from Texinfo development, but the documentation at least is clear. At the very least, we should support the recommended use of Texinfo, and that's all that Mats's patch does, AFAICT. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 17:34:47 2024 Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 21:34:47 +0000 Received: from localhost ([127.0.0.1]:46592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5AuN-00040U-Gm for submit@debbugs.gnu.org; Sun, 27 Oct 2024 17:34:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5AuL-00040E-2v for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 17:34:45 -0400 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 1t5Atg-00010S-AF for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 17:34: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=YXW6B5g/jLZalMN224p8NAvYXvnxh7wHcpa+p+xB+aM=; b=aNlRFG6/LQ8HL0N1gDEz 6+aGtI2a+xgS9BxXaxe2jWSh0oypTu70NrTEAm7ced1ArGqtfPCNcnSv41rSTsWgeUu5CMems3W5s QJ5pIZbl1i9UZC8MJqioYTEOuwVoRYqq9nEgbcvjgkfNImWCAQVhjGZdNXgVxFsq3Dy9+zXfDgw1R is7J52bZ5H0DJaLx/AOyraglJbNUVK2vuowNF1tJ4JAPE0BTeutybJNVy+c8Zx8/dAgyAimBw9d7W biZT8LrJPMdzzn+RLsujcZFLsrnNj2Mjwp5whnpGQGUvIx7mo0WqNsABQR85rWsikaRGkdfpoGn0G 1vZaQ6Ec1fAQdw==; From: Mats Lidell To: Eli Zaretskii Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification In-Reply-To: <868qu98ide.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Oct 2024 21:18:21 +0200") References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> <868qu98ide.fsf@gnu.org> Date: Sun, 27 Oct 2024 22:33:59 +0100 Message-ID: <87h68x44e0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Eli Zaretskii writes: > Why would users do that by invoking texi2any directly? Because texi2any is a tool for generating info files from texi files!? We started to use it with GNU Hyperbole and got into this subtle issue (and wasted some hours due to it.) > FTR, I'm very unhappy about this change. I don't think we should support > this. It is not future-proof. Well to take a step back. Is not the root problem here that the version number of a tool is used for checking whether certain feature is supported in the info file? If the check would be more direct then the tool would not matter as long as the info file is correct!? The suggested patch is just a simple and pragmatic way to cause less surprises when a user or developer starts to use texi2any instead of makeinfo. Yours -- %% Mats From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 23:26:50 2024 Received: (at 74042) by debbugs.gnu.org; 28 Oct 2024 03:26:50 +0000 Received: from localhost ([127.0.0.1]:49709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5GP4-0001CR-2P for submit@debbugs.gnu.org; Sun, 27 Oct 2024 23:26:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5GP2-0001Bt-2a for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 23:26:48 -0400 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 1t5GMD-0006Bz-Ti for 74042@debbugs.gnu.org; Sun, 27 Oct 2024 23:23:55 -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=P30szefGeoo/epOO6ArEGxWMvWadz1fPh54EcdFS2D4=; b=PSpvRxGzJ0aB QGDEP2Bp16j5wsXlnw7PFymXp4qQV//KUjlZwuKa9cCbpms8frsxbR60/gq7eCFmokHFHq5hZokrl iGCkJ92UPf78FZmjPO2D5EyPuBPv8q5f7VHJSSbgysnK8Y5oYJvHu3cbH8xrcf3xZ+cRY5eY7WXWC XBC8cVFnDNYQrq3ZkMK9KHq1kOksQk6XQP/Rv0ayJpxhlfYKNNCKsv6PFnqXbig7o5W+H8uB/cPEe QOxuYGfJBjy++pOLAkBokfi8srCtSIcdnbvucisLJNYKCNgvutZ1QGLuFTaujXSRy/Bzo4luMBCW1 YHqxOV1B6zM752m+XAsBwg==; Date: Mon, 28 Oct 2024 05:23:48 +0200 Message-Id: <86r0807vwb.fsf@gnu.org> From: Eli Zaretskii To: Mats Lidell In-Reply-To: <87h68x44e0.fsf@gnu.org> (message from Mats Lidell on Sun, 27 Oct 2024 22:33:59 +0100) Subject: Re: bug#74042: [PATCH] Accept texi2any for version identification References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> <868qu98ide.fsf@gnu.org> <87h68x44e0.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74042 Cc: 74042@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mats Lidell > Cc: 74042@debbugs.gnu.org > Date: Sun, 27 Oct 2024 22:33:59 +0100 > > > Eli Zaretskii writes: > > Why would users do that by invoking texi2any directly? > > Because texi2any is a tool for generating info files from texi files!? > > We started to use it with GNU Hyperbole and got into this subtle issue (and > wasted some hours due to it.) IMNSHO, as someone who is involved in the Texinfo development for many years, the GNU Hyperbole made a mistake by doing so. > > FTR, I'm very unhappy about this change. I don't think we should support > > this. It is not future-proof. > > Well to take a step back. Is not the root problem here that the version number > of a tool is used for checking whether certain feature is supported in the > info file? If the check would be more direct then the tool would not matter as > long as the info file is correct!? Texinfo doesn't let us check for features, sadly. The only way to know which features are present is by looking at the version. From unknown Mon Aug 18 19:35:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 25 Nov 2024 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator