GNU bug report logs - #31552
27.0.50; Document that Emacs in batch mode exits with exit status -1 on error

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Tue, 22 May 2018 13:42:01 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 31552 <at> debbugs.gnu.org
Subject: Re: bug#31552: 27.0.50;
 Document that Emacs in batch mode exits with exit status -1 on error
Date: Tue, 22 May 2018 20:16:58 +0300
> From: Philipp <p.stephani2 <at> gmail.com>
> Date: Tue, 22 May 2018 15:41:25 +0200
> 
> I haven't found any documentation in the Lisp reference manual that the
> exit status of an Emacs process exiting due to a nonlocal exit is -1 by
> default (adjusted to 255 by Bash).  This should be documented, for users
> that run Emacs in batch mode.

I'm not sure I understand what you are describing.  Can you show a
reproducer?

Thanks.




This bug report was last modified 5 years and 283 days ago.

Previous Next


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