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-c C-c" binding for "submission" in server edit buffers Date: Tue, 14 Apr 2009 14:26:41 -0400 Message-ID: <87iql79jmm.fsf@cyd.mit.edu> References: <87eivvxryg.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239733515 32677 80.91.229.12 (14 Apr 2009 18:25:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 18:25:15 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 14 20:26:34 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 1LtnL7-0001PU-QO for ged-emacs-devel@m.gmane.org; Tue, 14 Apr 2009 20:26:34 +0200 Original-Received: from localhost ([127.0.0.1]:51680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtnJj-0001KX-7M for ged-emacs-devel@m.gmane.org; Tue, 14 Apr 2009 14:25:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtnJf-0001KF-4G for emacs-devel@gnu.org; Tue, 14 Apr 2009 14:25:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtnJZ-0001J5-LC for emacs-devel@gnu.org; Tue, 14 Apr 2009 14:25:01 -0400 Original-Received: from [199.232.76.173] (port=53517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtnJZ-0001J0-Fk for emacs-devel@gnu.org; Tue, 14 Apr 2009 14:24:57 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:45227) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtnJX-0004tz-SO; Tue, 14 Apr 2009 14:24:55 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id E357357E246; Tue, 14 Apr 2009 14:26:41 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Tue, 14 Apr 2009 13:00:23 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (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:110275 Archived-At: Stefan Monnier writes: > Maybe a global binding rather than a minor-mode binding would be less > problematic (since minor-mode bindings take precedence over major-mode > bindings). I think it would be very confusing to bind C-c C-c to server-edit globally. That keybinding is used in so many places that adapting it for server-edit is simply impractical, because then it may not be clear to the user what C-c C-c does in a given context. For instance, suppose you use emacsclient to edit a ChangeLog file. In change-log-mode, C-c C-c is bound to change-log-goto-source. That conflicts with using C-c C-c to finish the edit.