From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Mapping of M-g should be goto-line Date: Fri, 26 Mar 2004 17:49:31 +0000 (GMT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1080331311 30484 80.91.224.253 (26 Mar 2004 20:01:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Mar 2004 20:01:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 26 21:01:48 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6xWW-0000Dp-00 for ; Fri, 26 Mar 2004 21:01:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6xWW-0000iP-00 for ; Fri, 26 Mar 2004 21:01:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6xTt-0007IJ-K1 for emacs-devel@quimby.gnus.org; Fri, 26 Mar 2004 14:59:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6xRD-0006ZF-PW for emacs-devel@gnu.org; Fri, 26 Mar 2004 14:56:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6xPc-000634-VI for emacs-devel@gnu.org; Fri, 26 Mar 2004 14:55:13 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6xOb-0005oF-By for emacs-devel@gnu.org; Fri, 26 Mar 2004 14:53:37 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id RAA01045 for ; Fri, 26 Mar 2004 17:49:32 GMT X-Sender: root@acm.acm Original-To: emacs-devel@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20975 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20975 On Fri, 26 Mar 2004, Per Abrahamsen wrote: >Stefan Monnier writes: >> C-c C-c is currently globally unbound and I suggest we bind it to `compile'. >The would violate the separation of keyspace between major modes and >Emacs. I would support changing the the major mode binding in cc-mode >to compile. It is currently bound to "comment-region", which is a >waste, since comment-region has a global binding (M-;). No it hasn't. M-; is globally bound to `comment-dwim', an almost, but not quite, entirely unlike operation, except when transient-mark minor mode is enabled. In CC Mode, C-c C-c is bound to `comment-region'. `compile' does not belong by default in a language mode's key binding space, because it is not part of manipulating the text of that language. If anything, `compile' should be in the global map, and tailored to each mode where it is useful. In my not so humble opinion, of course. ;-) Surely in this discussion, CC Mode should have priority over the use of this binding because of its name. :-) -- Alan Mackenzie (Munich, Germany) acm@muc.de