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#57107: texinfo-format-buffer does not work in calc.texi Date: Wed, 10 Aug 2022 14:54:39 +0300 Message-ID: <835yj0s48w.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57107@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 10 13:57:37 2022 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 1oLkLA-0007F1-EI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 13:57:36 +0200 Original-Received: from localhost ([::1]:36884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLkL9-00078X-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 07:57:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLkIg-0002Ob-Fj for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 07:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLkIg-0003nF-6J for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLkIg-0006nx-3A for bug-gnu-emacs@gnu.org; Wed, 10 Aug 2022 07:55: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: Wed, 10 Aug 2022 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57107 X-GNU-PR-Package: emacs Original-Received: via spool by 57107-submit@debbugs.gnu.org id=B57107.166013249726132 (code B ref 57107); Wed, 10 Aug 2022 11:55:02 +0000 Original-Received: (at 57107) by debbugs.gnu.org; 10 Aug 2022 11:54:57 +0000 Original-Received: from localhost ([127.0.0.1]:46370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLkIb-0006nO-5K for submit@debbugs.gnu.org; Wed, 10 Aug 2022 07:54:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLkIY-0006mv-ST for 57107@debbugs.gnu.org; Wed, 10 Aug 2022 07:54:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLkIT-0003j6-Fs; Wed, 10 Aug 2022 07:54: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:References:Subject:In-Reply-To:To:From: Date; bh=nlbtD8+d3EY3YTpEMEqhUsnhGUCPg/jPFpYxG1q7snU=; b=Ogb4pmeWBW7FW4okWzbk DIKJbDP0VP39X5K5dRitPt2EpNNzhF9QpJ9HZPHkBSs+p2T329ki08Gy36oyIxPpWVVqIEdYoRQef ELUOpFNf/lIKvyv38/tyXUkrv68QhRm7imGx9ibrrcNar8DQP1Z+LoCyYLKHsHz4aVQOdi53FckSK kWV+47wOQbG8upUYGqrUHVq3phG6fhP1xlgZ7m0bm29St+fEpR3nN5vp7JUFFzl4KhzUbFX+7M+9t H66ddklx1V5VxqrXVOIqlwHqyDKjOpzj/eHYbJ5ZW8IN90kMnXfwy1JI3YOtaZgCroQLWDVY6ZEy4 XQnPFfCE28UHrw==; Original-Received: from [87.69.77.57] (port=4447 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLkIS-0004yk-DJ; Wed, 10 Aug 2022 07:54:49 -0400 In-Reply-To: (message from Stefan Kangas on Wed, 10 Aug 2022 03:18:33 -0700) 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" Xref: news.gmane.io gmane.emacs.bugs:239269 Archived-At: > From: Stefan Kangas > Date: Wed, 10 Aug 2022 03:18:33 -0700 > > Running `texinfo-format-buffer' in "doc/misc/calc.texi" leads to: > > Debugger entered--Lisp error: (error "Texinfo file needs an > ‘@setfilename FILENAME’ line") > error("Texinfo file needs an `@setfilename FILENAME' line") > texinfo-format-buffer-1() > texinfo-format-buffer(nil) > funcall-interactively(texinfo-format-buffer nil) > command-execute(texinfo-format-buffer) > > Of course, that file does have: > > @setfilename ../../info/calc.info It's a bug in calc.texi: it violates the following requirement of Texinfo: The '@setfilename' line specifies the name of the output file to be generated. When present, it should be the first Texinfo command (that is, after '\input texinfo'). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^