emacs-devel
[Top][All Lists]
Advanced

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

Re: select yank via completion


From: Eli Zaretskii
Subject: Re: select yank via completion
Date: Sat, 21 Nov 2020 21:57:07 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: drew.adams@oracle.com,  monnier@iro.umontreal.ca,  spacibba@aol.com,
>   bugs@gnu.support,  andreyk.mad@gmail.com,  emacs-devel@gnu.org,
>   rudalics@gmx.at,  ghe@sdf.org
> Date: Sat, 21 Nov 2020 21:38:16 +0200
> 
> >> 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.

But that the function will behave differently if called via
call-interactively with a non-nil 2nd argument, right?



reply via email to

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