From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: "C-c C-c" binding for "submission" in server edit buffers Date: Wed, 15 Apr 2009 09:25:25 +0900 Message-ID: References: <87eivvxryg.fsf@catnip.gol.com> <87iql79jmm.fsf@cyd.mit.edu> <87ws9mx4la.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239755150 31581 80.91.229.12 (15 Apr 2009 00:25:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2009 00:25:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 15 02:27: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 1Ltsy5-0000vS-IA for ged-emacs-devel@m.gmane.org; Wed, 15 Apr 2009 02:27:09 +0200 Original-Received: from localhost ([127.0.0.1]:41262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltswg-0005rO-P4 for ged-emacs-devel@m.gmane.org; Tue, 14 Apr 2009 20:25:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltswc-0005r6-1T for emacs-devel@gnu.org; Tue, 14 Apr 2009 20:25:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtswW-0005qa-VG for emacs-devel@gnu.org; Tue, 14 Apr 2009 20:25:37 -0400 Original-Received: from [199.232.76.173] (port=53442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtswW-0005qX-QH for emacs-devel@gnu.org; Tue, 14 Apr 2009 20:25:32 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:33886) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtswV-0001Og-55; Tue, 14 Apr 2009 20:25:31 -0400 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n3F0POCp019209; Wed, 15 Apr 2009 09:25:26 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Wed, 15 Apr 2009 09:25:26 +0900 Original-Received: from dhlpc061 ([10.114.114.58] [10.114.114.58]) by relay11.aps.necel.com with ESMTP; Wed, 15 Apr 2009 09:25:25 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 11F6952E200; Wed, 15 Apr 2009 09:25:26 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Lennart Borgman's message of "Wed, 15 Apr 2009 00:41:46 +0200") Original-Lines: 22 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) 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:110287 Archived-At: Lennart Borgman writes: >> There are keybindings already (C-x #, C-x C-c for emacsclient -t); >> mainly my point is that for certain circumstances, C-c C-c is far more >> natural. >> >> So my desire is to make it simple to use C-c C-c in those circumstances. > > Thanks Miles, yes I understand what you want, but to me "C-x k" would > be much more natural. Hmm, I'd think "C-x k" might be a natural binding for a "negative" exit ... but AFAIK, there's no way of communicating such a thing back to emacsclient (so it could, for instance, exit with a non-zero status). Actually the default binding of "C-x k" already does more or less the right thing for what you want, though it prompts for confirmation first. -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.