GNU bug report logs - #16528
24.3; too many keybindings in minibuffer-local-completion-map

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Thu, 23 Jan 2014 13:07:02 UTC

Severity: minor

Found in version 24.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 16528 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16528 <at> debbugs.gnu.org, Roland Winkler <winkler <at> gnu.org>
Subject: Re: bug#16528: 24.3; too many keybindings in
 minibuffer-local-completion-map
Date: Fri, 20 Aug 2021 17:00:51 +0200
Stefan Monnier <monnier <at> 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




This bug report was last modified 3 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.