GNU bug report logs - #58423
29.0.50; Weird behavior of string-edit

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 10 Oct 2022 23:41:02 UTC

Severity: normal

Tags: notabug

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #39 received at 58423 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Jean Louis <bugs <at> gnu.support>
Cc: Phil Sainty <psainty <at> orcon.net.nz>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 58423 <at> debbugs.gnu.org
Subject: Re: bug#58423: 29.0.50; Weird behavior of string-edit
Date: Tue, 11 Oct 2022 22:34:09 +0300
>> > 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'.




This bug report was last modified 2 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.