unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Does the command loop even look at the return values of commands executed?
Date: Thu, 26 Aug 2021 15:51:06 +0300	[thread overview]
Message-ID: <83a6l4tlmt.fsf@gnu.org> (raw)
In-Reply-To: <87lf4ovki3.fsf@mbork.pl> (message from Marcin Borkowski on Thu,  26 Aug 2021 07:32:36 +0200)

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Thu, 26 Aug 2021 07:32:36 +0200
> 
> I am pretty sure that the command loop discards anything returned by
> a command invoked via a keybinding or M-x, but I couldn't find anything
> about it in the Elisp reference.  Is that true?  Is it documented
> anywhere?

Yes, we ignore the value returned by commands.  No, it isn't
documented, AFAICT.



  reply	other threads:[~2021-08-26 12:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26  5:32 Does the command loop even look at the return values of commands executed? Marcin Borkowski
2021-08-26 12:51 ` Eli Zaretskii [this message]
2021-08-26 16:52   ` [External] : " Drew Adams
2021-08-27  7:59     ` Stephen Berman
2021-08-27  8:12       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-27  9:40         ` Stephen Berman
2021-08-27  9:47           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-27 11:38         ` Eli Zaretskii
2021-08-27 16:12       ` Drew Adams
2021-08-26 20:00   ` Marcin Borkowski

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=83a6l4tlmt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.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.
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).