From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#74042: [PATCH] Accept texi2any for version identification Date: Sun, 27 Oct 2024 14:01:03 -0700 Message-ID: References: <87jzduaqou.fsf@gnu.org> <86zfmpaolv.fsf@gnu.org> <87plnl4epo.fsf@gnu.org> <868qu98ide.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5833"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74042@debbugs.gnu.org To: Eli Zaretskii , Mats Lidell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 27 22:02:57 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 1t5APY-0001Iu-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Oct 2024 22:02:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5AP7-00047J-EZ; Sun, 27 Oct 2024 17:02: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 1t5AP5-000479-In for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 17:02: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 1t5AP5-0006CS-8N for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 17:02:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=iAq9VhIb63aXyjBL30+Mmst3dQrx7hwdRjRpCf+4xmY=; b=nXlgxk+H6l/thp1W/qkBQHPkQdonFsKEW/ipeBO5MZFXqu8qMrbV5MnJRl/ppYYOpoVunFmLNxW5RZmdaD7vilGnwcOv8eD9oUwEFcXTWkpwIfpPh9s3JQ9vT7/tQEfJwlft8bnsRNV2gnGiFt4hlZvKp8NsU4tPdZwXXgL4qsPE7qhixErkvNWbvtcEBdcsJqQfzd61h4/ZHZ6IwoisikWlywsYVlPwwS29GRuTs81pX8m1r87G0sRPx95EZo9yj4ZxhY3Y7nImEGQkPxQ7PbY+HSlgQW4lfIqoa5YwSLcUyfSmEFwcTfKDJmFRT0GDXXPe04UwcKLZUCGI9CCGqQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5APe-0002XQ-4z for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2024 17:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2024 21:03: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.17300629639726 (code B ref 74042); Sun, 27 Oct 2024 21:03:02 +0000 Original-Received: (at 74042) by debbugs.gnu.org; 27 Oct 2024 21:02:43 +0000 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 27 Oct 2024 14:01:03 -0700 In-Reply-To: <868qu98ide.fsf@gnu.org> 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:294393 Archived-At: 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.