From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34023: Support double colons in Info index entries Date: Sun, 13 Jan 2019 02:55:17 +0200 Organization: LINKOV.NET Message-ID: <87lg3pclm2.fsf__22090.7046496452$1547348592$gmane$org@mail.linkov.net> References: <20190109211433.GB1481@darkstar> <875zuwys8f.fsf@mail.linkov.net> <20190111194631.GA14925@darkstar> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547348592 18078 195.159.176.226 (13 Jan 2019 03:03:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2019 03:03:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 34023@debbugs.gnu.org, bug-texinfo@gnu.org To: Gavin Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 13 04:03:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giW3G-0004Yv-NL for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2019 04:03:07 +0100 Original-Received: from localhost ([127.0.0.1]:54987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giW5N-0006pY-Qi for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2019 22:05:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giW5C-0006oF-8a for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giW5A-0007Qs-Pe for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giW5A-0007Ql-MP for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1giW59-0004Qm-D3 for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Jan 2019 03:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 34023-submit@debbugs.gnu.org id=B34023.154734866616951 (code B ref 34023); Sun, 13 Jan 2019 03:05:03 +0000 Original-Received: (at 34023) by debbugs.gnu.org; 13 Jan 2019 03:04:26 +0000 Original-Received: from localhost ([127.0.0.1]:57255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giW4Y-0004PL-AA for submit@debbugs.gnu.org; Sat, 12 Jan 2019 22:04:26 -0500 Original-Received: from golden.birch.relay.mailchannels.net ([23.83.209.73]:51593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giW4W-0004PA-FE for 34023@debbugs.gnu.org; Sat, 12 Jan 2019 22:04:24 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 67981502501; Sun, 13 Jan 2019 03:04:23 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (unknown [100.96.20.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1FF915024AA; Sun, 13 Jan 2019 03:04:23 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sun, 13 Jan 2019 03:04:23 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abortive-Tasty: 7e0a8a201a3429d3_1547348663271_4197397233 X-MC-Loop-Signature: 1547348663271:2696757195 X-MC-Ingress-Time: 1547348663271 Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id B297A81AB5; Sat, 12 Jan 2019 19:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=c7vjNR1sJS/G37AcC3Z4iLZbYM0=; b= OVKToY24qJuc0qvS4qB6aBUZkwPD96sp3mMJnFf0E/6i0kw3cJkbEFR6lWRvZpKo 0iQ9rqBavRQ45tvcydks8rEPB3CXqh8qQTVXzalWCu7noCRcByf591tTwlJAOtt1 wSvSXjP/JK/zRKRikTFxmdyHvsuyQPSa5rKdiZUKDq0= Original-Received: from mail.jurta.org (m91-129-101-91.cust.tele2.ee [91.129.101.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 32B6681AA6; Sat, 12 Jan 2019 19:04:20 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a54 In-Reply-To: <20190111194631.GA14925@darkstar> (Gavin Smith's message of "Fri, 11 Jan 2019 19:46:32 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrfeekgddvvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtuddrledunecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtuddrledupdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepifgrvhhinhfumhhithhhtdduvdefsehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgepud X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:154399 Archived-At: >> The following patch handles the cases that you presented, >> but it's hard to predict what other cases it might break. >> >> Do you have a sample test file that covers different cases? >> We could add such file to Emacs regression tests. > > I've attached a file that includes different possibilities. Thanks. >> I have to say that the current regexp-based parsing is >> an inherently fragile approach. Do you think it would be possible >> to add more markup to Info files instead of relying on regexps? > > I don't understand. Whatever markup is added has to be read somehow, > with regexp or other. This is a hint for using more XML-like markup languages with more reliable parsing. >> Better yet would be to read Info manual in HTML format in Info reader. >> That would allow extracting all information unambiguously. > > That would be a different project with several unresolved questions; this > could be the way forward in the long term. I would be opposed to making > the standalone info program read HTML as this would be a complete > rewrite of the program and there are probably better ways of dealing > with it. Maybe not rewrite, but just adding a HTML "add-on" to the info program.