From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.help
Subject: Re: Weird behavior of kill-emacs
Date: Wed, 18 Feb 2015 21:04:48 +0000
Message-ID:
References:
<83wq3f3tu1.fsf@gnu.org>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1424293519 32154 80.91.229.3 (18 Feb 2015 21:05:19 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 18 Feb 2015 21:05:19 +0000 (UTC)
To: Eli Zaretskii , help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 22:05:14 2015
Return-path:
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by plane.gmane.org with esmtp (Exim 4.69)
(envelope-from )
id 1YOBo1-00019U-Q1
for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2015 22:05:13 +0100
Original-Received: from localhost ([::1]:53060 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1YOBo0-0003vD-MU
for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2015 16:05:12 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57435)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1YOBnm-0003tJ-Vk
for help-gnu-emacs@gnu.org; Wed, 18 Feb 2015 16:05:02 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1YOBni-0004PJ-4v
for help-gnu-emacs@gnu.org; Wed, 18 Feb 2015 16:04:58 -0500
Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:38563)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1YOBne-0004N8-7W; Wed, 18 Feb 2015 16:04:50 -0500
Original-Received: by lbiz11 with SMTP id z11so3740812lbi.5;
Wed, 18 Feb 2015 13:04:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:references:from:date:message-id:subject:to
:content-type; bh=dvEKqrmXK8TAxq6E9VDYvkyat/goybNiTxyESzTmYQI=;
b=LU8k/3xL/LBmKB+eCOOtr1F4AVE5oAO1yfqspA92dq0Q3vfz2Isc0okUMbySR2bVDL
7VdGgVS1a/FQn93sLKRQXNJUWK1ttp4pBwoCfU9wjLdkNUOY/JA3f33uHzpGi218HsM/
bjs49BDwFxtcSRmWPS96iyEVr1Qtwz3AZtui0EDr72h0sahqhEOMxvRRpY8fecqtUcNd
mNTHN0ki04Q7Z5b6yU7HXxV8gF3+GQIU+XrmpFouE2Q8aJbGanMWAD5Wo/I5APm4qroK
2dP1DTO8BOnO8P5USFSP5NJr65emT4ToVyz2yKJcqIkupy4r/2A8ZiwT9Bm/GPwrv1Bg
7viA==
X-Received: by 10.112.202.227 with SMTP id kl3mr1061915lbc.81.1424293489492;
Wed, 18 Feb 2015 13:04:49 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
[fuzzy]
X-Received-From: 209.85.217.172
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:102800
Archived-At:
Eli Zaretskii schrieb am Wed Feb 18 2015 at 8:43:08 PM:
> > From: Philipp Stephani
> > Date: Wed, 18 Feb 2015 18:58:13 +0000
> >
> > $ emacs -Q -batch -eval '(progn (read) (kill-emacs 37))' < /dev/null ;
> echo
> > $?
> > Lisp expression: Error reading from stdin
> > 0
> >
> > So Emacs silently succeeds if it hit EOF of stdin, no matter what the
> exit
> > code passed to kill-emacs was!
>
> I stand corrected: kill-emacs _is_ called.
>
> Please report this as a bug.
>
Thanks, filed
http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-02/msg00623.html.