unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jim Porter <jporterbugs@gmail.com>
To: Milan Zimmermann <milan.zimmermann@gmail.com>
Cc: 59666@debbugs.gnu.org
Subject: bug#59666: 29.0.50; Eshell: comparisons such as {> 3 2} do not work in Eshell context
Date: Sat, 3 Dec 2022 11:31:00 -0800	[thread overview]
Message-ID: <5f8cf571-52d0-9d54-1296-69c5abd2e097@gmail.com> (raw)
In-Reply-To: <CAEc2VK1dz6Omy9EMnRV3sQVSLeMRse5Pqa78==f+mXDLS7ADkw@mail.gmail.com>

On 12/1/2022 11:33 PM, Milan Zimmermann wrote:
> 1. use ~if {function-call}~  (only?) to check EXIT STATUS of the 
> EXTERNAL function (program) call.

One final note is that this should also work for Eshell commands (ones 
defined as "defun eshell/FOO"), since those are specially-written to 
conform to Eshell's command behavior. (That is, if they want to report 
an error, they set the exit status.)





      reply	other threads:[~2022-12-03 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29  0:15 bug#59666: 29.0.50; Eshell: comparisons such as {> 3 2} do not work in Eshell context Milan Zimmermann
2022-11-29  2:03 ` Jim Porter
2022-12-02  1:38 ` Milan Zimmermann
2022-12-02  1:53   ` Jim Porter
2022-12-02  7:33     ` Milan Zimmermann
2022-12-03 19:31       ` Jim Porter [this message]

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=5f8cf571-52d0-9d54-1296-69c5abd2e097@gmail.com \
    --to=jporterbugs@gmail.com \
    --cc=59666@debbugs.gnu.org \
    --cc=milan.zimmermann@gmail.com \
    /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).