From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8942: 23.3; emacsclient doesn't exit when called Emacs function is quited. Date: Mon, 04 Jul 2011 10:32:24 -0400 Message-ID: References: <87d3hzpqcj.dlv@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309790014 13444 80.91.229.12 (4 Jul 2011 14:33:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 14:33:34 +0000 (UTC) Cc: Remi Vanicat , 8942@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 16:33:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdkDI-0004KO-9p for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 16:33:28 +0200 Original-Received: from localhost ([::1]:48003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdkDH-0008HG-43 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 10:33:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdkCv-0008GW-KT for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdkCu-0007uW-4p for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:33:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdkCt-0007u9-Ko for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdkCs-0002DB-Ph; Mon, 04 Jul 2011 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2011 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8942 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8942-submit@debbugs.gnu.org id=B8942.13097899538459 (code B ref 8942); Mon, 04 Jul 2011 14:33:02 +0000 Original-Received: (at 8942) by debbugs.gnu.org; 4 Jul 2011 14:32:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdkCP-0002CO-41 for submit@debbugs.gnu.org; Mon, 04 Jul 2011 10:32:33 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdkCN-0002CC-8l for 8942@debbugs.gnu.org; Mon, 04 Jul 2011 10:32:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAI3NEU5FxIxr/2dsb2JhbABTp3x4iHrBEoY2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,472,1304308800"; d="scan'208";a="120368214" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Jul 2011 10:32:25 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C0A0E59173; Mon, 4 Jul 2011 10:32:24 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 4 Jul 2011 11:33:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Jul 2011 10:33:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:47946 Archived-At: >> When using emacsclient -e option, and the called function is quited >> using C-g, emacsclient doesn't return, and stay stuck. to reproduce: > Certainly, not returning -error to emacsclient and closing the > connection seems like a bug. If the server doesn't close the connection, that's indeed a bug. > Stefan, you added the `with-local-quit' stuff to `server-execute'. > Shouldn't that function call (server-return-error proc err) when the > user quits? Returning a -error would be fine, yes. Stefan