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 Date: Wed, 29 Jan 2003 16:20:08 +0200 (IST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <84smvc2guf.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1043850213 11095 80.91.224.249 (29 Jan 2003 14:23:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 14:23:33 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dt7j-0002sn-00 for ; Wed, 29 Jan 2003 15:23:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18dtCw-0006f7-00 for ; Wed, 29 Jan 2003 15:28:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dt76-0005Bh-09 for emacs-devel@quimby.gnus.org; Wed, 29 Jan 2003 09:22:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18dt6c-0004vI-00 for emacs-devel@gnu.org; Wed, 29 Jan 2003 09:22:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18dt5w-0004QD-00 for emacs-devel@gnu.org; Wed, 29 Jan 2003 09:21:44 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dt50-0003qc-00 for emacs-devel@gnu.org; Wed, 29 Jan 2003 09:20:42 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id QAA20597; Wed, 29 Jan 2003 16:20:10 +0200 (IST) X-Sender: eliz@is Original-To: Kai =?iso-8859-1?q?Gro=DFjohann?= In-Reply-To: <84smvc2guf.fsf@lucy.is.informatik.uni-duisburg.de> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11192 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11192 On Wed, 29 Jan 2003, Kai =?iso-8859-1?q?Gro=DFjohann?= wrote: > But still, if RET selects the menu item from the next line, that's > bad. Maybe it will help to tell it that text on the same line is > closer than text on another line? I don't remember all the intricacies of this, but I do remember that it is not always easy to decide what menu item to select. Imagine something like this menu fragment, for instance: * foo: (foo). Our Foo. ! * bar: (bar). Your Bar. with point at the exclam: which item will you choose? Another complication is that RET works with both menus and xrefs, so if its code is sufficiently generic (i.e. does not depend too much on what menus look like), it might need thorough rewrite to be much smarter in the menu case alone. I'm not saying that we shouldn't try to make it work in the most reasonable fashion inside a menu. What I'm saying is that solving this needs to take into account the complications I pointed out, and also that IMHO we should not change what RET does if it cannot find any link nearby.