[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 22:43:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> > 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?
(call-interactively FUNCTION &optional RECORD-FLAG KEYS)
Optional second arg RECORD-FLAG non-nil
means unconditionally put this command in the variable ‘command-history’.
So it's a good thing that this command will be added to ‘command-history’,
because then the user can switch to a non-read-only buffer and type 'C-x M-:'
to insert the previously selected character in a writable buffer.
- Re: on helm substantial differences, (continued)
- Re: on helm substantial differences, Juri Linkov, 2020/11/18
- Re: on helm substantial differences, Juri Linkov, 2020/11/18
- select yank via completion, Stefan Monnier, 2020/11/18
- RE: select yank via completion, Drew Adams, 2020/11/18
- Re: select yank via completion, Juri Linkov, 2020/11/19
- RE: select yank via completion, Drew Adams, 2020/11/19
- Re: select yank via completion, Juri Linkov, 2020/11/20
- Re: select yank via completion, Eli Zaretskii, 2020/11/20
- Re: select yank via completion, Juri Linkov, 2020/11/21
- Re: select yank via completion, Eli Zaretskii, 2020/11/21
- Re: select yank via completion,
Juri Linkov <=
- Re: select yank via completion, Stefan Monnier, 2020/11/20
- Re: select yank via completion, Juri Linkov, 2020/11/21
- Re: select yank via completion, Stefan Monnier, 2020/11/21
- RE: select yank via completion, Drew Adams, 2020/11/21
- Re: select yank via completion, Jean Louis, 2020/11/21
- Re: select yank via completion, Jean Louis, 2020/11/21
- Re: select yank via completion, Juri Linkov, 2020/11/25
- RE: select yank via completion, Drew Adams, 2020/11/25
- RE: select yank via completion, Drew Adams, 2020/11/21
- RE: select yank via completion, Drew Adams, 2020/11/21