GNU bug report logs -
#13602
24.3.50; remove bindings for `icomplete-minibuffer-map' - make a separate mode
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Thu, 31 Jan 2013 19:43:01 UTC
Severity: wishlist
Tags: wontfix
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
"Drew Adams" <drew.adams <at> oracle.com> writes:
> Icomplete mode is general, for use with all minibuffers, whatever the
> kind of input being done (kind of completion or input without
> completion, etc.).
No, it's not, it's only used in specific cases.
For example, icomplete is not used in minibuffer during eval-expression.
> It needs to be sensitive to this and not impose
> itself like a brute. There are many minibuffer keymaps, with many keys
> in them. And applications often define more keys in these maps.
>
> These Icomplete keybindings are inappropriate:
>
> (defvar icomplete-minibuffer-map
> (let ((map (make-sparse-keymap)))
> (define-key map [?\M-\t] 'minibuffer-force-complete)
> (define-key map [?\C-j] 'minibuffer-force-complete-and-exit)
> (define-key map [?\C-s] 'icomplete-forward-completions)
> (define-key map [?\C-r] 'icomplete-backward-completions)
> map))
>
> It is not kosher to bind such keys in the minibuffer in a general mode.
> Let users bind them if they like.
I'd like to comment on this as a ido-mode user.
> In particular: C-s and C-r are used to search minibuffer text (e.g.
> move
Instead of searching though the already entered text, this behavior
allows you to "search" through the candidates.
Since this mode is usually enabled when you're trying to write or pick a
single symbol, not a bunch of text, this strikes me as more appropriate.
> the cursor). M-TAB is useful in the minibuffer to complete names.
Likewise, minibuffer-force-complete does complete the current symbol.
What's the problematic use case?
--Dmitry
This bug report was last modified 9 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.