GNU bug report logs - #77253
30.1.50; Support RET choosing the selected completion without rebinding arrow keys

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Tue, 25 Mar 2025 15:12:02 UTC

Severity: normal

Found in version 30.1.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: sbaugh <at> catern.com, 77253 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#77253: 30.1.50; Support RET choosing the selected completion without rebinding arrow keys, [PATCH] Make RET in minibuffer choose selected completion
Date: Tue, 22 Jul 2025 15:11:01 +0300
> Cc: sbaugh <at> catern.com, 77253 <at> debbugs.gnu.org
> Date: Mon, 21 Jul 2025 12:26:32 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> @@ -3235,6 +3241,7 @@ minibuffer-local-completion-map
>    ;; another binding for it.
>    ;; "M-TAB"  #'minibuffer-force-complete
>    "SPC"       #'minibuffer-complete-word
> +  "RET"       #'minibuffer-choose-completion-just-exit
>    "?"         #'minibuffer-completion-help
>    "<prior>"   #'switch-to-completions
>    "M-v"       #'switch-to-completions
> @@ -3246,7 +3253,7 @@ minibuffer-local-completion-map
>  (defvar-keymap minibuffer-local-must-match-map
>    :doc "Local keymap for minibuffer input with completion, for exact match."
>    :parent minibuffer-local-completion-map
> -  "RET" #'minibuffer-complete-and-exit
> +  "RET" #'minibuffer-choose-completion-or-exit
>    "C-j" #'minibuffer-complete-and-exit)

Can we please not to change commands bound to keys?  That will make
the changes much more backward-compatible.

In any case, this warrants a NEWS entry.

Thanks.




This bug report was last modified 24 days ago.

Previous Next


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