From: Jean Louis <bugs@gnu.support>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 58423@debbugs.gnu.org
Subject: bug#58423: 29.0.50; Weird behavior of string-edit
Date: Tue, 11 Oct 2022 17:12:40 +0300 [thread overview]
Message-ID: <Y0V52JCUI4aiZeqp@protected.localdomain> (raw)
In-Reply-To: <87v8orjix3.fsf@gnus.org>
* Lars Ingebrigtsen <larsi@gnus.org> [2022-10-11 03:36]:
> Jean Louis <bugs@gnu.support> writes:
>
> > I don't think that this is right return value from:
> >
> > (string-edit "" "" 'ignore)
> >
> > to be this:
> >
> > #("Type C-c C-c when you’ve finished editing" 5 12 (font-lock-face help-key-binding face help-key-binding))
>
> That function isn't defined as having any particular return value, so
> that's as good a value as any.
>
> Closing.
I can just say "WOW" on that.
I understand that the fallback function is called and I like the
approach.
But from functions I expect return values.
If there is success than I would expect TRUE or something.
Best would be not to have special function to handle that, but to have
return value. See my function in previous email.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2022-10-11 14:12 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
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y0V52JCUI4aiZeqp@protected.localdomain \
--to=bugs@gnu.support \
--cc=58423@debbugs.gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).