From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Fri, 05 Dec 2003 17:57:31 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekvjuuj8.fsf@mail.jurta.org> References: <878ylrbbk4.fsf@mail.jurta.org> <200312051426.hB5EQeZ11287@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070640127 27089 80.91.224.253 (5 Dec 2003 16:02:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2003 16:02:07 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Dec 05 17:02:03 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASIP5-0003wJ-00 for ; Fri, 05 Dec 2003 17:02:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASIP5-0006Ze-00 for ; Fri, 05 Dec 2003 17:02:03 +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 1ASJMC-00058d-Ck for emacs-devel@quimby.gnus.org; Fri, 05 Dec 2003 12:03:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ASJM7-00058I-FM for emacs-devel@gnu.org; Fri, 05 Dec 2003 12:03:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ASJLb-00050T-Ey for emacs-devel@gnu.org; Fri, 05 Dec 2003 12:03:02 -0500 Original-Received: from [64.246.52.22] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ASJLb-0004zp-2h for emacs-devel@gnu.org; Fri, 05 Dec 2003 12:02:31 -0500 Original-Received: from 80-235-38-211-dsl.mus.estpak.ee ([80.235.38.211] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1ASIO5-0008Us-7R; Fri, 05 Dec 2003 18:01:01 +0200 Original-To: karl@freefriends.org (Karl Berry) In-Reply-To: <200312051426.hB5EQeZ11287@f7.net> (Karl Berry's message of "Fri, 5 Dec 2003 09:26:40 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.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:18423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18423 karl@freefriends.org (Karl Berry) writes: > This function looks up the target in *Note > file-coding-system-alist: Default Coding Systems, *Note > process-coding-system-alist: Default Coding Systems, or > *Note network-coding-system-alist: Default Coding Systems, > depending on OPERATION. > > These cross-references refer to variables indexed by the @vindex > command, but there is no place for line numbers here. > > What is the Texinfo source that is generating this? Texinfo does not > have a way to make an xref to index entries, as far as I know. This is generated by the `@ref' with two arguments: @ref{Default Coding Systems, file-coding-system-alist} True, the `file-coding-system-alist' is the cross reference name here. But it can be used to find the correct position of index entry definition. The standalone Info reader already uses the cross reference name to move point to its first occurrence within an Info node, but this could be improved to search the cross reference name in the tag table of index entries with their positions and use this information for more accurate navigation by cross references. Another variant is to generate Ref: tags in the tag table for every index entry and use them as anchors, for instance: @ref{file-coding-system-alist} would move directly to the position where the `@vindex' command was defined in the Texinfo source. -- http://www.jurta.org/emacs/