From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: 08 Dec 2003 08:56:58 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87isku20s6.fsf@mail.jurta.org> <200312061449.hB6Enaa16133@f7.net> <87r7zgqtxm.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070866903 26801 80.91.224.253 (8 Dec 2003 07:01:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2003 07:01:43 +0000 (UTC) Cc: emacs-devel@gnu.org, karl@freefriends.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Dec 08 08:01:36 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 1ATFOi-0006pP-00 for ; Mon, 08 Dec 2003 08:01:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATFOi-0002Ze-00 for ; Mon, 08 Dec 2003 08:01:36 +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 1ATGGN-0006xG-29 for emacs-devel@quimby.gnus.org; Mon, 08 Dec 2003 02:57:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ATGGI-0006w5-F2 for emacs-devel@gnu.org; Mon, 08 Dec 2003 02:56:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ATGFm-0006PW-GT for emacs-devel@gnu.org; Mon, 08 Dec 2003 02:56:57 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1ATGFl-0006K6-U4; Mon, 08 Dec 2003 02:56:26 -0500 Original-To: Juri Linkov In-reply-to: <87r7zgqtxm.fsf@mail.jurta.org> (message from Juri Linkov on Sun, 07 Dec 2003 22:00:53 +0200) 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:18542 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18542 > From: Juri Linkov > Date: Sun, 07 Dec 2003 22:00:53 +0200 > > karl@freefriends.org (Karl Berry) writes: > > Also, the question of conflicts would arise. If there is both an index > > entry and a node with the same name, what to do? Or two index entries > > with the same name? > > There is exactly the same problem with anchors: no anchors with the > same name are allowed within one Info file. So we can't make anchors > for two index entries with the same name. > > The problem with anchors is even worse: both a node and an anchor with > the same name are not allowed in one Info file. I think that's precisely the problem that Karl was talking about. (IMHO, having several index entries with the same name is not a good idea, anyway. It is much better to disambiguate them by adding a bit of context information to each entry. For example, instead of having two entries that say "@cindex foo", do this: @cindex foo, used together with @code{bar} @cindex foo, when before @code{baz} Not only does this help to find the required info faster when looking at the index of a printed copy, it also allows the user to decide which completion to select when she types "i foo TAB", whereas given the two completions "foo<1>" and "foo<2>" such a decision is impossible. But I digress...)