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: Sun, 07 Dec 2003 19:31:41 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekvgilfm.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> <87ptf2omam.fsf@mail.jurta.org> <200312070219.hB72Jfu10270@raven.dms.auburn.edu> <200312070231.hB72Vgv10283@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 1070818783 2605 80.91.224.253 (7 Dec 2003 17:39:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 17:39:43 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org, karl@freefriends.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 18:39:40 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 1AT2se-0004aw-00 for ; Sun, 07 Dec 2003 18:39:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT2sd-0006Xq-00 for ; Sun, 07 Dec 2003 18:39:40 +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 1AT3mj-0005du-Ic for emacs-devel@quimby.gnus.org; Sun, 07 Dec 2003 13:37:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AT3mW-0005cj-5b for emacs-devel@gnu.org; Sun, 07 Dec 2003 13:37:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AT3lz-0005Nz-4r for emacs-devel@gnu.org; Sun, 07 Dec 2003 13:37:23 -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 1AT3ly-0005Mg-N4 for emacs-devel@gnu.org; Sun, 07 Dec 2003 13:36:50 -0500 Original-Received: from 80-235-42-190-dsl.mus.estpak.ee ([80.235.42.190] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1AT2oQ-0003eN-Ud; Sun, 07 Dec 2003 19:35:19 +0200 Original-To: Luc Teirlinck In-Reply-To: <200312070231.hB72Vgv10283@raven.dms.auburn.edu> (Luc Teirlinck's message of "Sat, 6 Dec 2003 20:31:42 -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 - [47 12] / [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:18511 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18511 Luc Teirlinck writes: > Why do you need an extra argument to Info-follow-reference? It seems > to me that Info-follow-reference has access to the value of `(point)' > and should be able to get things right from that value. I thought that since `Info-try-follow-nearest-node' already matches a reference name regexp, this regexp could be extended to match a node name too, and its value could be transfered to Info-follow-reference by extra argument. However, this can be done in Info-follow-reference as well given than point is still located on a position with reference. > Or do you plan to ask the user for more information if the user enters > `f top', `f variables' or whatever and that could refer to nodes in > several different manuals? Yes, there is another problem with similarly named references: how to select a reference unambiguously from a completion list. I thought that node name could be concatenated with a reference name to form one item string in a completion list to disambiguate them, for instance: Top:: Top: (elisp)Top and after an item is selected from the minibuffer to split it to two values: reference name and node name and use them as function arguments. -- http://www.jurta.org/emacs/