From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: reliably determining if an Info node is an index Date: Thu, 19 Feb 2004 12:07:01 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200402191707.i1JH71u10764@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="rwFJAouEgO" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1077210555 15270 80.91.224.253 (19 Feb 2004 17:09:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 17:09:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Feb 19 18:08:54 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtrfS-0006Mj-00 for ; Thu, 19 Feb 2004 18:08:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtrfR-0002rN-00 for ; Thu, 19 Feb 2004 18:08:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtrfP-0000q6-GN for emacs-devel@quimby.gnus.org; Thu, 19 Feb 2004 12:08:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AtreN-0000W1-6h for emacs-devel@gnu.org; Thu, 19 Feb 2004 12:07:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Atrdh-0008WV-FR for emacs-devel@gnu.org; Thu, 19 Feb 2004 12:07:37 -0500 Original-Received: from [209.61.216.22] (helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Atrdg-0008Vf-1L for emacs-devel@gnu.org; Thu, 19 Feb 2004 12:07:04 -0500 Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id i1JH71u10764; Thu, 19 Feb 2004 12:07:01 -0500 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20070 --rwFJAouEgO Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Back in June 2003, we discussed methods for reliably determining if an Info node is an index node. This is to make the ][ commands work better, among other reasons. See this message from Luc and the containing thread for background: http://mail.gnu.org/archive/html/emacs-devel/2003-06/msg00657.html Our conclusion was that the best approach would be for makeinfo to write a magic cookie indicating "this is an index" into index nodes. We are now approaching the next Texinfo release. Here is my question: is the collective wisdom that I should write this cookie now, before an Emacs release has been made that supports it? Or should I wait? If a user reads an Info file with the cookie when Emacs doesn't support it, it will be displayed, thus: ^@^H[index^@^H] (except with real control characters). This does no harm, but I can see users being confused or thinking it is a bug if they see it. It doesn't matter to me. I'll attach an example info file with the cookie. It also shows the (line NNN) feature for precisely locating index entries that we discussed in another thread. I hope someone will be able to work on using the line numbers in the Emacs Info reader. Thanks, k --rwFJAouEgO Content-Type: application/octet-stream Content-Disposition: attachment; filename="indexcookie.info" Content-Transfer-Encoding: base64 VGhpcyBpcyBpbmRleGxpbmVzLm91dCwgcHJvZHVjZWQgYnkgbWFrZWluZm8gdmVyc2lvbiA0 LjYgZnJvbQppbmRleGxpbmVzLnRleC4KCh8KRmlsZTogaW5kZXhsaW5lcy5vdXQsICBOb2Rl OiBUb3AsICBVcDogKGRpcikKCkluZGV4IExpbmVzCioqKioqKioqKioqCgpMaW5lIG9mIHRl eHQgYmVmb3JlIGZpcnN0IGluZGV4IGVudHJ5LgpMaW5lIG9mIHRleHQgYWZ0ZXIgZmlyc3Qg aW5kZXggZW50cnkuCgogICBMaW5lIG9mIHRleHQgYmVmb3JlIHNlY29uZCBpbmRleCBlbnRy eS4KTGluZSBvZiB0ZXh0IGFmdGVyIHNlY29uZCBpbmRleCBlbnRyeS4KCiAgIFRoZSBpbmRl eDoKCiogTWVudToKCiogRmlyc3QgaW5kZXggZW50cnk6ICAgICAgICAgICAgICAgICAgICAg VG9wLiAgICAgICAgICAgICAgICAgIChsaW5lICA3KQoqIFNlY29uZCBpbmRleCBlbnRyeTog ICAgICAgICAgICAgICAgICAgIFRvcC4gICAgICAgICAgICAgICAgICAobGluZSAxMCkKCgAI W2luZGV4AAhdIAoKHwpUYWcgVGFibGU6Ck5vZGU6IFRvcH83OQofCkVuZCBUYWcgVGFibGUK --rwFJAouEgO Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel --rwFJAouEgO--