From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: C-x C-c does nothing on frames created with "nowait" flag Date: Sun, 11 Jan 2009 08:25:51 -0500 Message-ID: <87hc46rn34.fsf@cyd.mit.edu> 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 1231680391 21990 80.91.229.12 (11 Jan 2009 13:26:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2009 13:26:31 +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 14:27:42 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 1LM0Lt-0004Hf-Id for ged-emacs-devel@m.gmane.org; Sun, 11 Jan 2009 14:27:41 +0100 Original-Received: from localhost ([127.0.0.1]:52395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM0Kd-0002Ya-6g for ged-emacs-devel@m.gmane.org; Sun, 11 Jan 2009 08:26:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LM0Jy-0001tO-J8 for emacs-devel@gnu.org; Sun, 11 Jan 2009 08:25:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LM0Jv-0001oR-Hi for emacs-devel@gnu.org; Sun, 11 Jan 2009 08:25:41 -0500 Original-Received: from [199.232.76.173] (port=45084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LM0Jv-0001o7-7b for emacs-devel@gnu.org; Sun, 11 Jan 2009 08:25:39 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:35385) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LM0Ju-0001NO-UG for emacs-devel@gnu.org; Sun, 11 Jan 2009 08:25:39 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 626B357E18A; Sun, 11 Jan 2009 08:25:51 -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:107780 Archived-At: Ulrich Mueller writes: > ... or save buffers and delete the frame (also sent the following > patch already): Or, we could treat a `nowait' frame as though it were an ordinary (non-client) frame on the server: *** trunk/lisp/files.el.~1.1031.~ 2009-01-11 08:23:10.000000000 -0500 --- trunk/lisp/files.el 2009-01-11 08:24:54.000000000 -0500 *************** *** 5733,5741 **** (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)))) ;; We use /: as a prefix to "quote" a file name --- 5733,5741 ---- (interactive "P") (let ((proc (frame-parameter (selected-frame) 'client)) (frame (selected-frame))) ! (if (processp proc) ! (server-save-buffers-kill-terminal proc arg) ! (save-buffers-kill-emacs arg)))) ;; We use /: as a prefix to "quote" a file name