From unknown Fri Jun 20 07:19:53 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#14125 <14125@debbugs.gnu.org> To: bug#14125 <14125@debbugs.gnu.org> Subject: Status: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Reply-To: bug#14125 <14125@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:19:53 +0000 retitle 14125 24.3; "No such node or anchor: Top" for Info files created by= makeinfo 5.1 reassign 14125 emacs submitter 14125 Ulrich Mueller severity 14125 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 02 12:51:32 2013 Received: (at submit) by debbugs.gnu.org; 2 Apr 2013 16:51:32 +0000 Received: from localhost ([127.0.0.1]:58444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UN4Ql-0006cF-3Z for submit@debbugs.gnu.org; Tue, 02 Apr 2013 12:51:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59243) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UN4QT-0006bq-ET for submit@debbugs.gnu.org; Tue, 02 Apr 2013 12:51:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN4NW-00029d-ET for submit@debbugs.gnu.org; Tue, 02 Apr 2013 12:48:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN4NW-00029S-BA for submit@debbugs.gnu.org; Tue, 02 Apr 2013 12:48:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN4NT-0007fL-7R for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 12:48:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN4NP-00027f-EG for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 12:48:07 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:47558 helo=a1www.kph.uni-mainz.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN4NP-00023D-5C for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2013 12:48:03 -0400 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id r32GlovK003508 for ; Tue, 2 Apr 2013 18:47:50 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.6/8.14.2) with ESMTP id r32GloTr001953; Tue, 2 Apr 2013 18:47:50 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.6/8.14.6/Submit) id r32GlndY001932; Tue, 2 Apr 2013 18:47:49 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----74300001----" Content-Transfer-Encoding: 7bit Message-ID: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> Date: Tue, 2 Apr 2013 18:47:43 +0200 To: bug-gnu-emacs@gnu.org Subject: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) ------cutting-here-may-damage-your-screen-surface----74300001---- Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Info-goto-node cannot find the "Top" node for some Info files generated with makeinfo 5.1. I've attached a minimal example of a Texinfo file where it fails. To reproduce, save attached file as "test.texi". $ makeinfo --version makeinfo (GNU texinfo) 5.1 [...] $ makeinfo --split-size=2000 test.texi $ ls -l test.info* -rw-r--r-- 1 ulm users 221 Apr 2 18:43 test.info -rw-r--r-- 1 ulm users 3017 Apr 2 18:43 test.info-1 -rw-r--r-- 1 ulm users 1509 Apr 2 18:43 test.info-2 $ emacs -Q C-h i g (/path/to/test.info) RET The last command fails with an error: "No such node or anchor: Top" The bug is not triggered if I use makeinfo 4.13 to create the Info file from the same Texinfo source. Not entirely sure if the problem is in Emacs or in makeinfo. I report it here because standalone info (version 4.13 or 5.1) has no problem with the files. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, X toolkit) of 2013-03-26 on a1i15 Windowing system distributor `The X.Org Foundation', version 11.0.11400000 System Description: Gentoo Base System release 2.2 ------cutting-here-may-damage-your-screen-surface----74300001---- Content-Type: text/plain; name="test.texi" Content-Disposition: inline; filename="test.texi" Content-Transfer-Encoding: 7bit \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename test.info @settitle Test @c %**end of header @ifnottex lorem ipsum, quia dolor sit, amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quaerat voluptatem. ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis praesentium voluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcaecati cupiditate non provident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum et dolorum fuga. et harum quidem rerum facilis est et expedita distinctio. nam libero tempore, cum soluta nobis est eligendi optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae sint et molestiae non recusandae. itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. @end ifnottex @titlepage @title Test @page @vskip 0pt plus 1filll @end titlepage @ifnottex @node Top @top Test @end ifnottex @menu * First Chapter:: The first chapter. * Second Chapter:: The second chapter. @end menu @node First Chapter @chapter First Chapter lorem ipsum, quia dolor sit, amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quaerat voluptatem. ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis praesentium voluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcaecati cupiditate non provident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum et dolorum fuga. et harum quidem rerum facilis est et expedita distinctio. nam libero tempore, cum soluta nobis est eligendi optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae sint et molestiae non recusandae. itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. @node Second Chapter @chapter Second Chapter lorem ipsum, quia dolor sit, amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quaerat voluptatem. ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis praesentium voluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcaecati cupiditate non provident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum et dolorum fuga. et harum quidem rerum facilis est et expedita distinctio. nam libero tempore, cum soluta nobis est eligendi optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae sint et molestiae non recusandae. itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. @bye ------cutting-here-may-damage-your-screen-surface----74300001------ From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 02 20:13:54 2013 Received: (at 14125) by debbugs.gnu.org; 3 Apr 2013 00:13:54 +0000 Received: from localhost ([127.0.0.1]:58864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNBKr-0002I9-Fp for submit@debbugs.gnu.org; Tue, 02 Apr 2013 20:13:54 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:58163 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UNBKo-0002I0-FF for 14125@debbugs.gnu.org; Tue, 02 Apr 2013 20:13:51 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D889D258B92960; Tue, 2 Apr 2013 17:10:47 -0700 (PDT) From: Juri Linkov To: Ulrich Mueller Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Organization: JURTA References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> Date: Wed, 03 Apr 2013 02:47:05 +0300 In-Reply-To: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Tue, 2 Apr 2013 18:47:43 +0200") Message-ID: <87d2uc79zm.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 14125 Cc: 14125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Info-goto-node cannot find the "Top" node for some Info files > generated with makeinfo 5.1. Thanks for the bug report. > Not entirely sure if the problem is in Emacs or in makeinfo. I report > it here because standalone info (version 4.13 or 5.1) has no problem > with the files. There is a difference between the output of makeinfo 4.13 and 5.1 that the Info reader doesn't handle. I'm not sure whether it's a bug in makeinfo 5.1 (maybe not) but in the tag table it outputs the position of the beginning of the Info header of the indirect Info file instead of the position of the beginning of the first node. The following comment in `Info-find-node-2' in info.el: ;; Now search from our advised position (or from beg of ;; buffer) to find the actual node. First, check ;; whether the node is right where we are, in case the ;; buffer begins with a node. says that first it searches from the advised position (that is different now in the Info files produced by makeinfo 5.1, so the reader overshoots). If this fails it says that then it searches from the beginning of the buffer (this would allow to find the Top node) but actually code doesn't do what the comment says. Currently I'm trying the solution that searches from the beginning of the buffer. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 30 02:52:11 2013 Received: (at 14125) by debbugs.gnu.org; 30 Apr 2013 06:52:11 +0000 Received: from localhost ([127.0.0.1]:51431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UX4Q3-000563-J4 for submit@debbugs.gnu.org; Tue, 30 Apr 2013 02:52:11 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:58796 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UX4Pv-00055U-Pe for 14125@debbugs.gnu.org; Tue, 30 Apr 2013 02:52:04 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5F53A258B9E91C; Mon, 29 Apr 2013 23:51:36 -0700 (PDT) From: Juri Linkov To: 14125@debbugs.gnu.org Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Organization: JURTA References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> Date: Tue, 30 Apr 2013 09:50:14 +0300 In-Reply-To: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Tue, 2 Apr 2013 18:47:43 +0200") Message-ID: <87zjwgd1qx.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 14125 Cc: bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) [Cc'ing to bug-texinfo for reference, thread started at http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-04/msg00039.html ] > Info-goto-node cannot find the "Top" node for some Info files > generated with makeinfo 5.1. Makeinfo 5.0 changes in arithmetic of node positions in the tag table makes Info files with the summary segment longer than a thousand characters unreadable by the Emacs Info reader. Makeinfo 4.13 produced the character positions of indirect subfiles relative to the beginning of the first node, but Makeinfo 5.0 produces the positions relative to the beginning of the subfile. The Emacs Info reader fails when the distance between the beginning of the subfile and the beginning of its first node is longer than a thousand characters. Both addressing schemes are valid and both make sense. But to able to support Info files produced by Makeinfo 5.0/1 the Emacs Info reader needs to be fixed. The expression (+ (- nodepos lastfilepos) (point)) in `Info-read-subfile' assumes that `lastfilepos' in `Info-read-subfile' is the beginning of the first node, so for Info files produced by Makeinfo 4.13 it returns the length of the summary segment, but for Makeinfo 5.0 it returns two lengths of the summary segment. The following patch changes it to return (point-min) for 4.13 and the length of the summary segment for 5.0. Since this code was merely an optimization to skip the summary segment, this change shouldn't break reading of Info files produced by Makeinfo 4.13 and older versions where `Info-find-node-2' will start searching for the node in the summary segment. However, this part of `Info-read-subfile' (if (looking-at "\^_") (forward-char 1) (search-forward "\n\^_")) should be left unchanged for `Info-search' to not search in the summary segment. The minimal patch to support all Makeinfo versions: === modified file 'lisp/info.el' --- lisp/info.el 2013-04-22 06:41:30 +0000 +++ lisp/info.el 2013-04-30 06:49:35 +0000 @@ -1545,7 +1545,7 @@ (defun Info-read-subfile (nodepos) (forward-char 1) (search-forward "\n\^_")) (if (numberp nodepos) - (+ (- nodepos lastfilepos) (point))))) + (+ (- nodepos lastfilepos) (point-min))))) (defun Info-unescape-quotes (value) "Unescape double quotes and backslashes in VALUE." From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 00:41:31 2013 Received: (at 14125) by debbugs.gnu.org; 5 May 2013 04:41:31 +0000 Received: from localhost ([127.0.0.1]:58356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYqlO-0001iT-Hb for submit@debbugs.gnu.org; Sun, 05 May 2013 00:41:31 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:22884) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYqlL-0001iL-BU for 14125@debbugs.gnu.org; Sun, 05 May 2013 00:41:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFMCqRF/2dsb2JhbABEuzWDWRdzgh8BBVYjEAs0EhQYDSSIJMEtkQoDpHqBXoMT X-IPAS-Result: Av8EABK/CFFMCqRF/2dsb2JhbABEuzWDWRdzgh8BBVYjEAs0EhQYDSSIJMEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="11062501" Received: from 76-10-164-69.dsl.teksavvy.com (HELO pastel.home) ([76.10.164.69]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 May 2013 00:40:32 -0400 Received: by pastel.home (Postfix, from userid 20848) id B054C67A1B; Sun, 5 May 2013 00:40:36 -0400 (EDT) From: Stefan Monnier To: Juri Linkov Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Message-ID: References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> <87zjwgd1qx.fsf@mail.jurta.org> Date: Sun, 05 May 2013 00:40:36 -0400 In-Reply-To: <87zjwgd1qx.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 30 Apr 2013 09:50:14 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 14125 Cc: 14125@debbugs.gnu.org, bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > === modified file 'lisp/info.el' > --- lisp/info.el 2013-04-22 06:41:30 +0000 > +++ lisp/info.el 2013-04-30 06:49:35 +0000 > @@ -1545,7 +1545,7 @@ (defun Info-read-subfile (nodepos) > (forward-char 1) > (search-forward "\n\^_")) > (if (numberp nodepos) > - (+ (- nodepos lastfilepos) (point))))) > + (+ (- nodepos lastfilepos) (point-min))))) > (defun Info-unescape-quotes (value) > "Unescape double quotes and backslashes in VALUE." I don't know enough about Info to judge whether that's right. So if nobody objects, please install, Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun May 05 04:52:13 2013 Received: (at 14125-done) by debbugs.gnu.org; 5 May 2013 08:52:13 +0000 Received: from localhost ([127.0.0.1]:58446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYug0-0001TY-NW for submit@debbugs.gnu.org; Sun, 05 May 2013 04:52:13 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:38336 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYuft-0001Ss-8g for 14125-done@debbugs.gnu.org; Sun, 05 May 2013 04:52:10 -0400 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 1FF40258B9A43C; Sun, 5 May 2013 01:51:12 -0700 (PDT) From: Juri Linkov To: Stefan Monnier Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Organization: JURTA References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> <87zjwgd1qx.fsf@mail.jurta.org> Date: Sun, 05 May 2013 11:49:55 +0300 In-Reply-To: (Stefan Monnier's message of "Sun, 05 May 2013 00:40:36 -0400") Message-ID: <878v3t95fw.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 14125-done Cc: 14125-done@debbugs.gnu.org, bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Version: 24.4 > So if nobody objects, please install, I installed it to the trunk. In case of releasing the next version from emacs-24 branch it would make sense to backport it to that branch before the next release (even though this is not a regression) to support Info files with summaries longer than 1000 characters created by makeinfo 5.1, sooner than later. From unknown Fri Jun 20 07:19:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Jun 2013 11:24:03 +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 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 19:44:47 2013 Received: (at control) by debbugs.gnu.org; 24 Aug 2013 23:44:47 +0000 Received: from localhost ([127.0.0.1]:53333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNVe-0003p8-Uk for submit@debbugs.gnu.org; Sat, 24 Aug 2013 19:44:47 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:59297 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNVd-0003oz-KT for control@debbugs.gnu.org; Sat, 24 Aug 2013 19:44:45 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 88E78258B9E936 for ; Sat, 24 Aug 2013 16:44:44 -0700 (PDT) From: Juri Linkov To: control@debbugs.gnu.org Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Organization: JURTA References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> <87zjwgd1qx.fsf@mail.jurta.org> <20130824071927.GA8566@free.fr> Date: Sun, 25 Aug 2013 02:44:09 +0300 In-Reply-To: <20130824071927.GA8566@free.fr> (Patrice Dumas's message of "Sat, 24 Aug 2013 09:19:27 +0200") Message-ID: <874naed586.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.0 (/) unarchive 14125 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 20:11:01 2013 Received: (at 14125) by debbugs.gnu.org; 25 Aug 2013 00:11:01 +0000 Received: from localhost ([127.0.0.1]:53354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNv3-0005SA-6z for submit@debbugs.gnu.org; Sat, 24 Aug 2013 20:11:01 -0400 Received: from ps18281.dreamhost.com ([69.163.218.105]:41199 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDNv1-0005S2-Fv for 14125@debbugs.gnu.org; Sat, 24 Aug 2013 20:10:59 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id E69CB258B9E935; Sat, 24 Aug 2013 17:10:57 -0700 (PDT) From: Juri Linkov To: Patrice Dumas Subject: Re: bug#14125: 24.3; "No such node or anchor: Top" for Info files created by makeinfo 5.1 Organization: JURTA References: <20827.2991.777277.325096@a1i15.kph.uni-mainz.de> <87zjwgd1qx.fsf@mail.jurta.org> <20130824071927.GA8566@free.fr> Date: Sun, 25 Aug 2013 02:54:55 +0300 In-Reply-To: <20130824071927.GA8566@free.fr> (Patrice Dumas's message of "Sat, 24 Aug 2013 09:19:27 +0200") Message-ID: <87r4diablc.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14125 Cc: 14125@debbugs.gnu.org, bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.0 (/) > I think that this was a bug, bytes of text appearing before the > first node were not correctly counted, but the behaviour you describe > should be the correct one (we even documented it in the info > specification part of the Texinfo manual). > > It was compounded by a backward incompatible change of not having the > same preamble for an info subfiles, as explained to me by Sergey. > > Not having the same preamble, especially for the first node with the tag > table and the other could well become the norm after some decades, so, > in general, if you can make the Info reader as robust as possible (if > not already), that would be fine. > > The standalone info reader has an option --strict-node-location and you > can see that it had trouble with your test when using that option, > which should show that there is an issue in the Info file. I believe we made the Emacs Info reader robust enough to handle both old and new formats of preamble. Regarding the option --strict-node-location in the standalone Info reader, we could create a similar option in the Emacs Info reader with a name like `Info-strict-node-location', but I doubt that many users might want to use it since it's intended for debugging, and Emacs has a built-in debugger for that. From unknown Fri Jun 20 07:19:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Sep 2013 11:24:03 +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