From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.bugs Subject: bug#10989: --eval block sent to server don't handle errors quite right Date: Sun, 11 Mar 2012 12:07:10 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0444eab78e1b5404baefc2a2 X-Trace: dough.gmane.org 1331438909 13237 80.91.229.3 (11 Mar 2012 04:08:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2012 04:08:29 +0000 (UTC) To: 10989@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 05:08:28 2012 Return-path: Envelope-to: geb-bug-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 1S6a53-0001Au-Nu for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Mar 2012 05:08:25 +0100 Original-Received: from localhost ([::1]:35820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a52-0006sI-Jm for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Mar 2012 23:08:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a4z-0006sD-Fi for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:08:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6a4x-0007AW-JN for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:08:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a4x-0007AQ-DY for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:08:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S6aXh-0007Bl-Oa for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Le Wang Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Mar 2012 04:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10989 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133144063427570 (code B ref -1); Sun, 11 Mar 2012 04:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Mar 2012 04:37:14 +0000 Original-Received: from localhost ([127.0.0.1]:44286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6aWv-0007Ad-Fs for submit@debbugs.gnu.org; Sat, 10 Mar 2012 23:37:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56160) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6aWk-0007AN-4P for submit@debbugs.gnu.org; Sat, 10 Mar 2012 23:37:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6a3x-00077r-Mz for submit@debbugs.gnu.org; Sat, 10 Mar 2012 23:07:18 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:59581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a3x-00077m-H2 for submit@debbugs.gnu.org; Sat, 10 Mar 2012 23:07:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a3v-0006rZ-Pi for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:07:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6a3t-00077J-TO for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:07:15 -0500 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:55333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6a3t-000774-K0 for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2012 23:07:13 -0500 Original-Received: by werj55 with SMTP id j55so2758727wer.0 for ; Sat, 10 Mar 2012 20:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bgmOuX+F79M5X1XDzbzueJbT2vO6v0Pyf9DLCYqyej0=; b=Tw74xN9QefCirQCZZNCOAyG85QIjNQQ9nvQS8o/xhpFum0IYlWVRRjmI15C0+43VjC SmrcWHZRBNcz6ObCGBH3aEzRr+UHJ1YQDXQeFehOLhZKUK28iFjzAbjrBB6yvzIpW5T/ nPQp1c82hSsHP4CeYY9ujiw7CYlbOrrGuhpHdbC6dFqtadfKWJ9jE+3ekk32sZWjQTNL pgvxArkt2W9Zoaa0dg65ea7o3hZucuD2Qm+oQrVmtKvwOS5Jlvgr/xrIddn0TnqmAmTm qWXtOOTkWN8H1P40O+xw77h6RJPaTehcAcwOXcYY68v5e4ifZPYJnm/72qGwKioglwqY ziPQ== Original-Received: by 10.180.103.97 with SMTP id fv1mr16870103wib.17.1331438830885; Sat, 10 Mar 2012 20:07:10 -0800 (PST) Original-Received: by 10.216.29.130 with HTTP; Sat, 10 Mar 2012 20:07:10 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57660 Archived-At: --f46d0444eab78e1b5404baefc2a2 Content-Type: text/plain; charset=ISO-8859-1 To wit: ~ [le-master] % /Applications/Emacs.app/Contents/MacOS/Emacs --daemon -q -eval "(server-start)" Sun 12:00:40 ("/Applications/Emacs.app/Contents/MacOS/Emacs" "-eval" "(server-start)") Starting Emacs daemon. Restarting server ~ [le-master] % emacsclient --eval "(error \"foo\")" Sun 12:03:07 *ERROR*: foo This is okay. ~ [le-master] % emacsclient --eval "(error \"foo\")" Sun 12:05:16 *ERROR*: foo hangs I have to C-c to break out of it So it only handles (signal 'error). -- Le --f46d0444eab78e1b5404baefc2a2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 VG8gd2l0Ojxicj48YnI+PGRpdiBzdHlsZT0ibWFyZ2luLWxlZnQ6NDBweCI+fiBbbGUtbWFzdGVy XTxicj4lIC9BcHBsaWNhdGlvbnMvRW1hY3MuYXBwL0NvbnRlbnRzL01hY09TL0VtYWNzIC0tZGFl bW9uIC1xIC1ldmFsICZxdW90OyhzZXJ2ZXItc3RhcnQpJnF1b3Q7oKCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgoKCgoKCgoKCgoKCgIFN1biAxMjowMDo0MDxicj4oJnF1b3Q7L0FwcGxpY2F0aW9ucy9F bWFjcy5hcHAvQ29udGVudHMvTWFjT1MvRW1hY3MmcXVvdDsgJnF1b3Q7LWV2YWwmcXVvdDsgJnF1 b3Q7KHNlcnZlci1zdGFydCkmcXVvdDspPGJyPgpTdGFydGluZyBFbWFjcyBkYWVtb24uPGJyPlJl c3RhcnRpbmcgc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