[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reliably determining if an Info node is an index

From: Karl Berry
Subject: reliably determining if an Info node is an index
Date: Thu, 19 Feb 2004 12:07:01 -0500

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:

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:
(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.


Attachment: indexcookie.info
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]