From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.comp.tex.texinfo.pretest,gmane.emacs.devel Subject: Re: Info enhancements Date: Thu, 04 Dec 2003 09:07:50 +0200 Organization: JURTA Sender: texinfo-pretest-bounces@texinfo.org Message-ID: <87zne9ukl5.fsf@mail.jurta.org> References: <200312031942.hB3JgAw08783@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070521870 5576 80.91.224.253 (4 Dec 2003 07:11:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2003 07:11:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: texinfo-pretest-bounces@texinfo.org Thu Dec 04 08:11:05 2003 Return-path: Original-Received: from consort.superb.net ([209.61.216.22] helo=f7.net) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARndg-0004kq-00 for ; Thu, 04 Dec 2003 08:11:04 +0100 Original-Received: from consort.superb.net (localhost [127.0.0.1]) by f7.net (8.11.7-20030920/8.11.7) with ESMTP id hB47AsD31960; Thu, 4 Dec 2003 02:10:54 -0500 Original-Received: from ns5.tangramltd.com (ns5.tangramltd.com [64.246.52.22]) by f7.net (8.11.7-20030920/8.11.7) with ESMTP id hB47ApD31927 for ; Thu, 4 Dec 2003 02:10:52 -0500 Original-Received: from 80-235-33-147-dsl.mus.estpak.ee ([80.235.33.147] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1ARndP-0007VX-JD; Thu, 04 Dec 2003 09:10:47 +0200 Original-To: bob@rattlesnake.com In-Reply-To: (Robert J. Chassell's message of "Wed, 3 Dec 2003 19:58:12 +0000 (UTC)") 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 - texinfo.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org Original-cc: texinfo-pretest@texinfo.org X-BeenThere: texinfo-pretest@texinfo.org X-Mailman-Version: 2.1 Precedence: list List-Id: Texinfo development and discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: texinfo-pretest-bounces@texinfo.org Xref: main.gmane.org gmane.comp.tex.texinfo.pretest:1179 gmane.emacs.devel:18352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18352 "Robert J. Chassell" writes: > As far as I can see, a better format would have the line number before > the description rather than after it, with the description indented 6 > > But then it would not follow the standard format for menus, i.e., > :. > > I must not have been clear. The format I meant is: > > * MENU-ENTRY-NAME: NODE-NAME. LINE_NUMBER. DESCRIPTION > > instead of Dave Gillespie's > > * MENU-ENTRY-NAME: NODE-NAME. DESCRIPTION. LINE_NUMBER. > > or the current > > * MENU-ENTRY-NAME: NODE-NAME. DESCRIPTION I think that line numbers in index menus can distract users. Even if newer versions of Info readers could hide them, they still will be shown by older versions. But what do you think about recording the locations of index entries in the tag table? For example: ^_ Tag Table: Node: Top^?123 Ref: menu-entry-name^?12345 Then menu entries would have the following format: * menu-entry-name:: Description. Another variant is to generate a separate tag name for every index type, e.g.: ^_ Tag Table: Node: Top^?123 findex: menu-entry-name^?12345 vindex: menu-entry-name^?23456 pindex: menu-entry-name^?34567 cindex: menu-entry-name^?45678 I hope this will not break older Info readers, but newer Info readers might use this advantage and with index menus marked by a special tag (e.g. the title "* Variable Index:", etc.) they can read corresponding locations from the tag table. The information about locations of index entries could be used by the `i' command as well. Note also than in the first variant where index entries are treated as they were anchors (i.e. by generating a "Ref:" tag in the tag table) the `g' command can replace the `i' command. -- http://www.jurta.org/emacs/ _______________________________________________ Texinfo home page: http://www.gnu.org/software/texinfo/ texinfo-pretest@texinfo.org http://ff0.org/mailman/listinfo/texinfo-pretest