From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Info enhancements Date: Sat, 6 Dec 2003 18:23:02 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200312070023.hB70N2W10108@raven.dms.auburn.edu> References: <878ylrbbk4.fsf@mail.jurta.org> <200312051426.hB5EQeZ11287@f7.net> <87ekvjuuj8.fsf@mail.jurta.org> <200312051802.hB5I2EC04476@raven.dms.auburn.edu> <200312052233.hB5MXsv07577@raven.dms.auburn.edu> <87ptf2omam.fsf@mail.jurta.org> <7494-Sat06Dec2003114347+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070757130 8689 80.91.224.253 (7 Dec 2003 00:32:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 00:32:10 +0000 (UTC) Cc: juri@jurta.org, karl@freefriends.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 01:32:06 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 1ASmqE-0003JK-00 for ; Sun, 07 Dec 2003 01:32:06 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASmqD-0004fh-00 for ; Sun, 07 Dec 2003 01:32:06 +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 1ASnnM-00080T-KJ for emacs-devel@quimby.gnus.org; Sat, 06 Dec 2003 20:33:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ASnlr-0006rg-6y for emacs-devel@gnu.org; Sat, 06 Dec 2003 20:31:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ASnlG-0006ae-Hr for emacs-devel@gnu.org; Sat, 06 Dec 2003 20:31:34 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ASnlF-0006Zn-Tq for emacs-devel@gnu.org; Sat, 06 Dec 2003 20:31:02 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id hB70ThKk014414; Sat, 6 Dec 2003 18:29:43 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id hB70N2W10108; Sat, 6 Dec 2003 18:23:02 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: eliz@elta.co.il In-reply-to: <7494-Sat06Dec2003114347+0200-eliz@elta.co.il> 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:18483 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18483 Eli Zaretskii wrote: IIRC, the stand-alone Info reader was fixed to prefer the reference at point, if there is one, and otherwise try the reference that is closest to point. Let us first decide whether there is a bug in info.el or not. If not, I believe that it would be easy for Juri to fix what would, in that case, be a bug in his patch. The problem(?) is that a node can not have two references to two different nodes with exactly the same name. Maybe this is a reasonable restriction and no bug? If it is a bug, here is a test case. Source file: ===File ~/experiment.texi=================================== \input texinfo @c -*-texinfo-*- @comment %**start of header @setfilename experiment.info @settitle An experiment. @comment %**end of header @node Top @top Top @menu * name:entry. description. @end menu @node entry @chapter Entry This node is called @samp{entry} @xref{Top}. @xref{(dir)Top}. @xref{(elisp)Top}. @xref{(elisp)Top, Top}. @bye ============================================================ The .info file is attached below. Clicking return on the reference produced by `@xref{(elisp)Top}.' leads to (elisp)top, but the reference produced by `@xref{(elisp)Top, Top}.' leads to (experiment)Top in Emacs Info. Is this a bug? The stand-alone Info goes to (elisp)top. @unrelated But to a strange place there: * Related Topics:: Cross-references to specific Lisp primitives I am afraid to mix two issues up more than they already are. At the risk of doing that, note that *on a completely unrelated note*, the strange place the stand-alone info goes to, once again seems to say: do not try to guess positions if you are not completely sure. @end unrelated .info file: ===File ~/experiment.info=================================== This is experiment.info, produced by makeinfo version 4.6 from experiment.texi.  File: experiment.info, Node: Top, Next: entry, Up: (dir) Top *** * Menu: * name:entry. description.  File: experiment.info, Node: entry, Prev: Top, Up: Top Entry ***** This node is called `entry' *Note Top::. *Note (dir)Top::. *Note (elisp)Top::. *Note Top: (elisp)Top.  Tag Table: Node: Top81 Node: entry200  End Tag Table ============================================================