bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61535: 29.0.60; choose-completion erases in-region buffer


From: Eli Zaretskii
Subject: bug#61535: 29.0.60; choose-completion erases in-region buffer
Date: Sun, 19 Feb 2023 20:35:21 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: 61535@debbugs.gnu.org
> Date: Sun, 19 Feb 2023 19:31:27 +0200
> 
> > But by default, completion-in-region-mode is t and
> > completion-use-base-affixes is nil.  So this code is never executed in
> > the recipe you posted, right?
> 
> M-RET is bound to minibuffer-choose-completion in 
> completion-in-region-mode-map.
> minibuffer-choose-completion let-binds completion-use-base-affixes to t
> before calling choose-completion.  Therefore completion-use-base-affixes
> should be ignored in choose-completion for completion-in-region-mode.

OK, thanks for the explanations.  I wonder if some of the above should
be in comments to the code, though.

Please install the patch on emacs-29.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]