From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11102: 24.0.94; C-x C-c from a client frame sometimes kills the whole Emacs process Date: Sat, 14 Apr 2012 16:34:32 +0300 Message-ID: <83iph21lp3.fsf@gnu.org> References: <87obreaups.fsf@gnu.org> <83wr62yocw.fsf@gnu.org> <83mx6f3der.fsf@gnu.org> <87zkaeud3l.fsf@gnu.org> <87sjg6uba4.fsf@gnu.org> <831unq3hc9.fsf@gnu.org> <87d37aafss.fsf@gnu.org> <83r4vq1x2e.fsf@gnu.org> <878vhyfvr0.fsf@gnu.org> <83lily1r3c.fsf@gnu.org> <87zkaebgek.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1334410665 12069 80.91.229.3 (14 Apr 2012 13:37:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 13:37:45 +0000 (UTC) Cc: lekktu@gmail.com, 11102@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 15:37:43 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 1SJ3Ad-0003XT-IR for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 15:37:43 +0200 Original-Received: from localhost ([::1]:46954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJ3Ac-0005n8-Vf for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 09:37:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJ3AZ-0005mj-TL for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 09:37:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SJ3AY-0005mI-5h for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 09:37:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SJ3AY-0005mD-21 for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 09:37:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SJ3Bt-0005bz-Je for bug-gnu-emacs@gnu.org; Sat, 14 Apr 2012 09:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Apr 2012 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11102 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11102-submit@debbugs.gnu.org id=B11102.133441072221545 (code B ref 11102); Sat, 14 Apr 2012 13:39:01 +0000 Original-Received: (at 11102) by debbugs.gnu.org; 14 Apr 2012 13:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:58217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SJ3BZ-0005bQ-Om for submit@debbugs.gnu.org; Sat, 14 Apr 2012 09:38:42 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46615) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SJ3BX-0005bI-5p for 11102@debbugs.gnu.org; Sat, 14 Apr 2012 09:38:40 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2H00I001IDPD00@a-mtaout21.012.net.il> for 11102@debbugs.gnu.org; Sat, 14 Apr 2012 16:36:33 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.57.204]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2H00I3D1SSMK80@a-mtaout21.012.net.il>; Sat, 14 Apr 2012 16:36:29 +0300 (IDT) In-reply-to: <87zkaebgek.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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:59062 Archived-At: > From: Chong Yidong > Cc: lekktu@gmail.com, 11102@debbugs.gnu.org > Date: Sat, 14 Apr 2012 21:18:43 +0800 > > Eli Zaretskii writes: > > >> The issue which Dani and Juanma were talking about is a separate one: > >> for a graphical Emacs on Windows, "emacsclient -c -n foo.txt" ought to > >> create a new frame with a `client' parameter, so that C-x C-c exits > >> Emacs instead of closing just that frame. > > > > Now I'm completely confused: didn't you say that "C-x C-c" should > > _not_ exit Emacs in this case? > > Sorry, I miswrote. Indeed, C-x C-c should _not_ exit Emacs in that > case. I'm relieved ;-) > > Why does it make sense to have "-c -n" behave differently from > > "-t -n"? > > The "-t -n" case is an abberation; emacsclient could even signal an > error for that, because it is saying "open on this text terminal, but > don't wait", which is nonsensical. The current behavior, of opening on > another text terminal, is a fudge---and one that doesn't work for the > Emacs daemon. For that reason, the discrepancy you point out is not > important. Maybe it's just me, but the "aberration" sounds good to me, and, again, makes "-c -n" and "-t -n" behave very similar, except for the effect of "C-x C-c". I would suggest to make them similar in that respect as well, so as to cause a bit less mental disorder to users than we do now. If we do leave the different "C-x C-c" behavior, we need to clearly document that in the manual, I think.