From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: C-x C-c does nothing on frames created with "nowait" flag Date: Sun, 11 Jan 2009 09:54:28 -0500 Message-ID: References: <87r63a430u.fsf@unicorn.lan> <18793.51608.806961.200196@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231685698 5891 80.91.229.12 (11 Jan 2009 14:54:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2009 14:54:58 +0000 (UTC) Cc: Bo Lin , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 11 15:56:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LM1jJ-00025U-QL for ged-emacs-devel@m.gmane.org; Sun, 11 Jan 2009 15:55:58 +0100 Original-Received: from localhost ([127.0.0.1]:59370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM1i3-000742-Oz for ged-emacs-devel@m.gmane.org; Sun, 11 Jan 2009 09:54:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LM1hy-00073X-U4 for emacs-devel@gnu.org; Sun, 11 Jan 2009 09:54:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LM1hx-00072r-Bj for emacs-devel@gnu.org; Sun, 11 Jan 2009 09:54:34 -0500 Original-Received: from [199.232.76.173] (port=48951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM1hx-00072l-6b for emacs-devel@gnu.org; Sun, 11 Jan 2009 09:54:33 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:50385 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LM1hw-0001NH-HM for emacs-devel@gnu.org; Sun, 11 Jan 2009 09:54:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0IAFKXaUnO+LIy/2dsb2JhbACBbCvOKoVvgWw X-IronPort-AV: E=Sophos;i="4.37,248,1231131600"; d="scan'208";a="32141145" Original-Received: from 206-248-178-50.dsl.teksavvy.com (HELO ceviche.home) ([206.248.178.50]) by ironport2-out.teksavvy.com with ESMTP; 11 Jan 2009 09:54:28 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 10F26B424B; Sun, 11 Jan 2009 09:54:28 -0500 (EST) In-Reply-To: <18793.51608.806961.200196@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Sun, 11 Jan 2009 11:27:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107783 Archived-At: > --- lisp/files.el.~1.1030.~ > +++ lisp/files.el > @@ -5733,9 +5733,14 @@ > (interactive "P") > (let ((proc (frame-parameter (selected-frame) 'client)) > (frame (selected-frame))) > - (if (null proc) > - (save-buffers-kill-emacs) > - (server-save-buffers-kill-terminal proc arg)))) > + (cond > + ((null proc) > + (save-buffers-kill-emacs)) > + ((processp proc) > + (server-save-buffers-kill-terminal proc arg)) > + (t > + (save-some-buffers arg t) > + (delete-frame))))) Any idea why this patch hasn't been installed yet? Stefan