GNU bug report logs - #59666
29.0.50; Eshell: comparisons such as {> 3 2} do not work in Eshell context

Previous Next

Package: emacs;

Reported by: Milan Zimmermann <milan.zimmermann <at> gmail.com>

Date: Tue, 29 Nov 2022 00:17:02 UTC

Severity: normal

Found in version 29.0.50

Done: Milan Zimmermann <milan.zimmermann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Milan Zimmermann <milan.zimmermann <at> gmail.com>
Cc: 59666 <at> debbugs.gnu.org
Subject: Re: 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
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.)




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

Previous Next


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