unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16528@debbugs.gnu.org, Roland Winkler <winkler@gnu.org>
Subject: bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map
Date: Fri, 20 Aug 2021 17:00:51 +0200	[thread overview]
Message-ID: <87sfz45ffg.fsf@gnus.org> (raw)
In-Reply-To: <jwva9emtx06.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Thu, 23 Jan 2014 13:03:35 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> minibuffer-local-completion-map binds SPC to minibuffer-complete-word
>> and ? to minibuffer-completion-help.  It should be possible without
>> too much hackery to run completing-read in a less obtrusive mode
>> where these keys simply insert the respective characters.
>
> Indeed, this binding can be annoying.  Some people use it heavily (and
> rarely use TAB, IIUC), tho, so removing it is a bit tricky, but it was
> annoying enough for files that file-name completion now uses a special
> map where SPC is not bound to minibuffer-complete-word any more.

Indeed -- I have

(define-key minibuffer-local-completion-map " " 'self-insert-command)
(define-key minibuffer-local-completion-map "?" 'self-insert-command)

in my ~/.emacs.

But I don't think we can change the defaults here (it would drive (some)
people crazy), so we'd be talking about adding a user option.  But I can
totally see some people wanting to only make space be self-inserting, or
just the question mark, and in that case, just doing the `define-key'
things is better for users, I think?

So I've just added that to the user manual, and I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-08-20 15:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 13:06 bug#16528: 24.3; too many keybindings in minibuffer-local-completion-map Roland Winkler
2014-01-23 18:03 ` Stefan Monnier
2014-01-23 19:02   ` Roland Winkler
2014-01-23 19:16     ` Drew Adams
2021-08-20 15:00   ` Lars Ingebrigtsen [this message]
2021-08-20 16:38     ` bug#16528: [External] : " Drew Adams
2021-08-20 19:51       ` Kévin Le Gouguec
2021-08-20 21: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=87sfz45ffg.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=16528@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=winkler@gnu.org \
    /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).