From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: FW: Minibuf menu when minibuffer is standalone Date: Tue, 11 Mar 2008 21:11:40 -0400 Message-ID: References: <001001c883ab$528a70f0$0600a8c0@us.oracle.com> <47D6FC28.2090306@gmail.com> <47D70221.40309@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205284318 452 80.91.229.12 (12 Mar 2008 01:11:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 01:11:58 +0000 (UTC) Cc: Drew Adams , 'Emacs-Devel' To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 02:12:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZFW1-0003gq-Ui for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 02:12:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZFVT-0000ew-GI for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 21:11:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZFVP-0000ec-Pn for emacs-devel@gnu.org; Tue, 11 Mar 2008 21:11:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZFVO-0000dw-8H for emacs-devel@gnu.org; Tue, 11 Mar 2008 21:11:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZFVO-0000dt-5j for emacs-devel@gnu.org; Tue, 11 Mar 2008 21:11:42 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZFVN-0004lb-Uv for emacs-devel@gnu.org; Tue, 11 Mar 2008 21:11:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AugEAL7K1kfO+JwVUGdsb2JhbACQZgEBJxKXF4EH X-IronPort-AV: E=Sophos;i="4.25,483,1199682000"; d="scan'208";a="15885854" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 11 Mar 2008 21:11:41 -0400 Original-Received: from pastel.home ([206.248.156.21]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id SEX06441; Tue, 11 Mar 2008 21:11:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AD9B27F05; Tue, 11 Mar 2008 21:11:40 -0400 (EDT) In-Reply-To: <47D70221.40309@gmail.com> (Lennart Borgman's message of "Tue, 11 Mar 2008 23:05:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92231 Archived-At: >>> Enter -- C-j >> >>> I do not understand that one at all. >> >> That's not too good either, indeed, but I don't see it here (it just >> doesn't say anything at all for me). > Emacs 23.0.60.1, 2008-03-10. Yes, I saw it in the end. If you do a M-x before, it gets removed, tho. > But I can't understand why "Enter" should be in the menu. It is really not > surprising that you press ENTER to enter the data, or is it? Of course I see > a lot of people entering data in a web browser using the mouse to click the > submit button, but I do not think anyone of them uses Emacs ... It's actually worse than that: the binding for "Enter" is exit-minibuffer which is wrong for completions that "require-match" (such as M-x) which should instead use minibuffer-complete-and-exit (which is why the binding is not shown when you do M-x: in that case exit-minibuffer is not bound to any key). In any case I've changed the Quit to use the same binding as C-g (so C-g is shown in the shortcuts) and tweaked the "Enter" entry so it shows RET (or thing) rather than C-j (or nothing). Stefan