Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(kill-emacs 0) exiting with 1

6 views
Skip to first unread message

Sam Halliday

unread,
Mar 2, 2015, 9:49:23 AM3/2/15
to
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

Sam Halliday

unread,
Mar 2, 2015, 10:11:51 AM3/2/15
to
(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
0 new messages