[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58423: 29.0.50; Weird behavior of string-edit
From: |
Juri Linkov |
Subject: |
bug#58423: 29.0.50; Weird behavior of string-edit |
Date: |
Tue, 11 Oct 2022 22:34:09 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> > How about returning the edited string (or nil if aborted)? Then it
>> > would be possible to use `string-edit' as a method of interactively
>> > obtaining a string value.
>>
>> That's `read-string-from-buffer'.
>
> Aha that one, thanks.
>
> (read-string-from-buffer "Enter text" "") ⇒ "OK here"
I expected that typing immediately 'C-c C-c' will return an empty string,
but it returned the prompt. A bug?
> It is to consider, thanks. I like it full window.
It's possible to customize to full window by 'display-buffer-alist'.
bug#58423: 29.0.50; Weird behavior of string-edit, Jean Louis, 2022/10/11