unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* reliably determining if an Info node is an index
@ 2004-02-19 17:07 Karl Berry
  2004-02-21 14:55 ` Richard Stallman
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Berry @ 2004-02-19 17:07 UTC (permalink / raw)


[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 1194 bytes --]

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


[-- Attachment #2: indexcookie.info --]
[-- Type: application/octet-stream, Size: 540 bytes --]

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-25 18:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 17:07 reliably determining if an Info node is an index Karl Berry
2004-02-21 14:55 ` Richard Stallman
2004-02-23 18:05   ` Karl Berry
2004-02-25 13:24     ` Richard Stallman
2004-02-25 15:43       ` Emacs release numbering 21.4 vs. 22.1 Kim F. Storm
2004-02-25 16:23         ` David Kastrup
2004-02-25 17:39           ` Stefan Monnier
2004-02-25 18:07             ` David Kastrup

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).