all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Jean Louis <bugs@gnu.support>, 58423@debbugs.gnu.org
Subject: bug#58423: 29.0.50; Weird behavior of string-edit
Date: Tue, 11 Oct 2022 23:40:16 +1300	[thread overview]
Message-ID: <6a5ef382eb76edafb45c013a9613e830@webmail.orcon.net.nz> (raw)
In-Reply-To: <87v8orjix3.fsf@gnus.org>

On 2022-10-11 13:36, Lars Ingebrigtsen wrote:
> That function isn't defined as having any particular return value,
> so that's as good a value as any.

Is it really, though?

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.

Surely that's a useful-and-therefore-better return value (which
can then be documented).






  reply	other threads:[~2022-10-11 10:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 22:33 bug#58423: 29.0.50; Weird behavior of string-edit Jean Louis
2022-10-11  0:07 ` Stefan Kangas
2022-10-11 14:10   ` Jean Louis
2022-10-11  0:36 ` Lars Ingebrigtsen
2022-10-11 10:40   ` Phil Sainty [this message]
2022-10-11 11:00     ` Lars Ingebrigtsen
2022-10-11 12:11       ` Phil Sainty
2022-10-11 14:17       ` Jean Louis
2022-10-11 19:34         ` Juri Linkov
2022-10-11 19:37           ` Lars Ingebrigtsen
2022-10-11 14:12   ` Jean Louis
2022-10-11 14:14     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a5ef382eb76edafb45c013a9613e830@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=58423@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.