emacs-devel
[Top][All Lists]
Advanced

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

select yank via completion


From: Stefan Monnier
Subject: select yank via completion
Date: Wed, 18 Nov 2020 17:04:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> BTW, there is another TODO item in minibuffer.el:
>
> ;;   - indicate how to display the completions in *Completions* (turn
> ;;     \n into something else, add special boundaries between
> ;;     completions).  E.g. when completing from the kill-ring.
>
> Such pre-processing can be performed by the caller.
> For a long time I used the command 'yank-from-kill-ring'
> bound to 'C-M-y' that relies on query-replace-descr
> to display newlines as ^J and displays long completions
> with an ellipsis at the end and an ellipsis on leading whitespace.

Looks great, thanks.  Any reason you bind it to C-M-y instead
of to "M-y that doesn't immediately follow C-y"?


        Stefan




reply via email to

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