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: Sat, 06 Dec 2003 01:52:01 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ptf2omam.fsf@mail.jurta.org> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070674660 32621 80.91.224.253 (6 Dec 2003 01:37:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Dec 2003 01:37:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Dec 06 02:37:37 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 1ASRO5-0004im-00 for ; Sat, 06 Dec 2003 02:37:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASRO4-0006zu-00 for ; Sat, 06 Dec 2003 02:37: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 1ASSHQ-0000cQ-GL for emacs-devel@quimby.gnus.org; Fri, 05 Dec 2003 21:34:48 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ASSHL-0000cL-3i for emacs-devel@gnu.org; Fri, 05 Dec 2003 21:34:43 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ASSGp-0000ZJ-DQ for emacs-devel@gnu.org; Fri, 05 Dec 2003 21:34:42 -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 1ASSGp-0000ZG-4S for emacs-devel@gnu.org; Fri, 05 Dec 2003 21:34:11 -0500 Original-Received: from 80-235-35-6-dsl.mus.estpak.ee ([80.235.35.6] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1ASRJL-0000Th-SO; Sat, 06 Dec 2003 03:32:44 +0200 Original-To: Luc Teirlinck In-Reply-To: <200312052233.hB5MXsv07577@raven.dms.auburn.edu> (Luc Teirlinck's message of "Fri, 5 Dec 2003 16:33:54 -0600 (CST)") 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:18450 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18450 Luc Teirlinck writes: > There seems to be a bug in the Info history buffer machinery of your > patch. > > Do C-h i m elisp RET \ and press return on the `Top: (elisp)Top.' > line. We somehow go to `Top: (dir)Top.'. In fact, any `Top: 'line > seems to go to `Top: (dir)Top.' This is due to the limitation of the function `Info-follow-reference'. It don't follow a reference under point, but instead it searches the first occurrence of reference name from the buffer beginning. The Info history buffer has many references with the name `Top', but `Info-follow-reference' always follows only the first one. I already noticed the same problem in Glossary node where no term name and node name are allowed with the same name in references. So currently no references with the same name are allowed in the same Info node. I suppose the purpose of such limitation was to make possible to select a reference from the completion list of all references where names should be unique. But we can remove such limitation by adding a new argument `nodename' to the `Info-follow-reference'. This argument can be transfered from the `Info-try-follow-nearest-node' to explicitly specify a reference under point. -- http://www.jurta.org/emacs/