emacs-devel
[Top][All Lists]
Advanced

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

Re: select yank via completion


From: Juri Linkov
Subject: Re: select yank via completion
Date: Sat, 21 Nov 2020 21:38:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> BTW, sometimes it's also handy to just browse the kill-ring
>> without immediately inserting an entry, to copy an edited entry
>> (that adds a new kill-ring entry) to paste later.  To allow
>> such browsing we need to remove "*" from the interactive spec of
>> 'yank-pop'.
>
> And then where do we bitch at the user if he/she does want to yank
> into a read-only buffer?

In the same place where 'C-x 8 RET' (insert-char) does this:
it has no "*" in the interactive spec, and allows using it
in read-only buffers to browse a list of character completions
with TAB, but exiting the minibuffer with RET signals the error
"Buffer is read-only" somewhere in the 'insert' functions.



reply via email to

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