[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (kill-emacs 0) exiting with 1
From: |
Sam Halliday |
Subject: |
Re: (kill-emacs 0) exiting with 1 |
Date: |
Mon, 2 Mar 2015 07:11:50 -0800 (PST) |
User-agent: |
G2/1.0 |
(sorry top-post)
I just checked this with emacs 24.3 and I'm almost certain its a regression.
Darn.
I'll file a bug report unless anybody has an explanation for the below
`(kill-emacs 0) != 0` behaviour
On Monday, 2 March 2015 14:49:23 UTC, Sam Halliday wrote:
> Hi all,
>
> This may be related to this recent bugfix
>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-02/msg00623.html
>
> I'm using emacs 24.4 built manually on an Ubuntu Precise machine (to match
> Travis CI).
>
> When running this code
>
> https://github.com/ensime/ensime-emacs/blob/master/ensime-test.el#L399
>
> which is being called as (kill-emacs 0), we are getting an exit code of 1,
> e.g. in this build
>
> https://travis-ci.org/ensime/ensime-emacs/builds/52743121
>
> (go to the bottom of the console output)
>
> Is this a regression introduced with the bugfix?
>
> Given that the shell script is `exec`-ing into emacs, which then ends with
> `(kill-emacs 0)`, I am confused how anything else could interfere with the
> exit status of the build script that we're running.
>
> Best regards,
> Sam