unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* (kill-emacs 0) exiting with 1
@ 2015-03-02 14:49 Sam Halliday
  2015-03-02 15:11 ` Sam Halliday
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Halliday @ 2015-03-02 14:49 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (kill-emacs 0) exiting with 1
  2015-03-02 14:49 (kill-emacs 0) exiting with 1 Sam Halliday
@ 2015-03-02 15:11 ` Sam Halliday
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Halliday @ 2015-03-02 15:11 UTC (permalink / raw)
  To: help-gnu-emacs

(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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-02 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02 14:49 (kill-emacs 0) exiting with 1 Sam Halliday
2015-03-02 15:11 ` Sam Halliday

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).