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#3442: 23.0.94; "C-x 5 1" (delete-other-frames) kills daemon Date: Thu, 04 Jun 2009 23:20:00 -0400 Message-ID: References: <87ab4s871w.fsf@iki.fi> <200906050125.n551P9ot018376@godzilla.ics.uci.edu> Reply-To: Eli Zaretskii , 3442@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1244173073 25476 80.91.229.12 (5 Jun 2009 03:37:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 03:37:53 +0000 (UTC) Cc: tlikonen@iki.fi To: Dan Nicolaescu , 3442@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 05:37:49 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MCQFX-0001M4-Ll for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2009 05:37:48 +0200 Original-Received: from localhost ([127.0.0.1]:54531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCQFW-0000hz-LX for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jun 2009 23:37:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCQFI-0000bT-2j for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 23:37:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCQFC-0000YK-7H for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 23:37:30 -0400 Original-Received: from [199.232.76.173] (port=53492 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCQFC-0000YG-48 for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 23:37:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46768) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCQFB-0002gI-20 for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 23:37:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n553bItp011407; Thu, 4 Jun 2009 20:37:19 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n553P4W1009514; Thu, 4 Jun 2009 20:25:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Jun 2009 03:25:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3442 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3442-submit@emacsbugs.donarmstrong.com id=B3442.12441720078934 (code B ref 3442); Fri, 05 Jun 2009 03:25:04 +0000 Original-Received: (at 3442) by emacsbugs.donarmstrong.com; 5 Jun 2009 03:20:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n553K1Tx008800 for <3442@emacsbugs.donarmstrong.com>; Thu, 4 Jun 2009 20:20:03 -0700 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MCPyK-0000ed-Mj; Thu, 04 Jun 2009 23:20:00 -0400 In-reply-to: <200906050125.n551P9ot018376@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Thu, 4 Jun 2009 18:25:09 -0700 (PDT)) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 04 Jun 2009 23:37:30 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28501 Archived-At: > Date: Thu, 4 Jun 2009 18:25:09 -0700 (PDT) > From: Dan Nicolaescu > Cc: Teemu Likonen , 3442@emacsbugs.donarmstrong.com > Reply-To: Dan Nicolaescu , 3442@emacsbugs.donarmstrong.com > > Stefan Monnier writes: > > > I've installed a patch that makes C-x 5 1 only delete frames on the same > > terminal, which should fix this issue. > > That's a behavior change, isn't it? > Maybe people use C-x 5 1 to remove the rest of the frames on all > terminals... (I personally have never used C-x 5 1) > > If we don't want to change the C-x 5 1 behavior, we can just avoid > deleting the daaemon special frame, i.e.: > > > + (unless (or (eq (frame-parameter frame 'minibuffer) 'only) > + ;; Take care not to delete the special frame that > + ;; the daemon uses. > + (and is-daemon (eq frame terminal-frame))) > > where is-daemon is let bound to (daemonp) FWIW, I like Dan's suggestion better, especially since we are late in the pretest, and shouldn't install changes that change well established behavior.