From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20704: info.el bug fix; Interprets Info format wrongly Date: Thu, 11 Jun 2015 16:11:16 +0300 Message-ID: <83lhfqs83v.fsf@gnu.org> References: <87d21gpzle.fsf@tower.recompile.se> <83382btqcc.fsf@gnu.org> <83twufs9ui.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434028349 15464 80.91.229.3 (11 Jun 2015 13:12:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2015 13:12:29 +0000 (UTC) Cc: teddy@recompile.se, 20704@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 11 15:12:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z32HE-0004Eh-L2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jun 2015 15:12:12 +0200 Original-Received: from localhost ([::1]:46812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z32HD-00058x-Su for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jun 2015 09:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z32HB-00058g-0O for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 09:12:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z32H6-0002gE-5X for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 09:12:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z32H6-0002g9-1H for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 09:12:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z32H5-0003dY-O5 for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 09:12:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jun 2015 13:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20704 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20704-submit@debbugs.gnu.org id=B20704.143402832013971 (code B ref 20704); Thu, 11 Jun 2015 13:12:03 +0000 Original-Received: (at 20704) by debbugs.gnu.org; 11 Jun 2015 13:12:00 +0000 Original-Received: from localhost ([127.0.0.1]:50462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z32H1-0003dG-KX for submit@debbugs.gnu.org; Thu, 11 Jun 2015 09:11:59 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:38499) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z32Gz-0003d2-5G for 20704@debbugs.gnu.org; Thu, 11 Jun 2015 09:11:58 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPS00L00789GO00@a-mtaout20.012.net.il> for 20704@debbugs.gnu.org; Thu, 11 Jun 2015 16:11:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPS00LFC7AZ6D80@a-mtaout20.012.net.il>; Thu, 11 Jun 2015 16:11:23 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103821 Archived-At: > From: Stefan Monnier > Cc: teddy@recompile.se, 20704@debbugs.gnu.org > Date: Wed, 10 Jun 2015 23:02:16 -0400 > > > But Texinfo 5.x and later does count the CR characters, so the > > stand-alone Info reader was recently changed to account for that. > > Which means that Emacs will now have a problem, whereby the byte > > counts in the tag tables will be inaccurate, and our only hope is the > > 1000-character tolerance we use to look for the node around the > > position stated in the tag table will be large enough. > > If needed, I think we could make it work reasonably cheaply with > something along the lines of (100% guaranteed untested code): Sure, but this needs to be conditioned on the EOL encoding we actually found when we read the file.