unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>
Cc: Drew Adams <drew.adams@oracle.com>, 'Emacs-Devel' <emacs-devel@gnu.org>
Subject: Re: FW: Minibuf menu when minibuffer is standalone
Date: Tue, 11 Mar 2008 21:11:40 -0400	[thread overview]
Message-ID: <jwvk5k8kav4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <47D70221.40309@gmail.com> (Lennart Borgman's message of "Tue, 11 Mar 2008 23:05:21 +0100")

>>> 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




  reply	other threads:[~2008-03-12  1:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 19:08 FW: Minibuf menu when minibuffer is standalone Drew Adams
2008-03-11 19:34 ` Lennart Borgman (gmail)
2008-03-11 21:10 ` Stefan Monnier
2008-03-11 21:39   ` Lennart Borgman (gmail)
2008-03-11 21:50     ` Stefan Monnier
2008-03-11 22:05       ` Lennart Borgman (gmail)
2008-03-12  1:11         ` Stefan Monnier [this message]
2008-03-13  2:01           ` Juri Linkov
2008-03-11 23:11   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk5k8kav4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).