completion-in-region-mode keybindings don't override, breaking minibuffer-visible-completions
catern opened this issue · comments
Issue type
- Bug report
Environment
Emacs version: Emacs 30 (trunk)
Operating System: Linux
Reproduction steps
- Start Emacs
- (evil-mode)
- (setq minibuffer-visible-completions t)
- M-tab (in normal state) to trigger completions
- Try using //RET to choose a completion
- Instead those are bound to the associate evil bindings.
Expected behavior
The //RET bindings from the minor mode should override the evil state.
Actual behavior
The minor mode bindings have no effect.
Further notes
The immediate fix, usable by a user, is:
(add-hook 'completion-in-region-mode-hook #'evil-normalize-keymaps)
(evil-make-overriding-map completion-in-region-mode-map))
Possibly there's some different way to fix it inside the evil core.