From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default Emacs keybindings (was: Re: Menu suggestion) Date: 27 Apr 2004 10:04:02 -0400 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 1083076081 1460 80.91.224.253 (27 Apr 2004 14:28:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 14:28:01 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 27 16:27:49 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 1BITYq-0001DR-00 for ; Tue, 27 Apr 2004 16:27:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BITYq-0007hF-00 for ; Tue, 27 Apr 2004 16:27:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BITQL-0001UV-5J for emacs-devel@quimby.gnus.org; Tue, 27 Apr 2004 10:19:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BITD7-0005ps-3y for emacs-devel@gnu.org; Tue, 27 Apr 2004 10:05:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BITCT-0005hS-ED for emacs-devel@gnu.org; Tue, 27 Apr 2004 10:05:13 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BITBv-0005bY-KE; Tue, 27 Apr 2004 10:04:07 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id EE32D20F4F; Tue, 27 Apr 2004 10:04:02 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 753CF8BDC1; Tue, 27 Apr 2004 10:04:02 -0400 (EDT) Original-To: David Kastrup In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-0.001, requis 5, BAYES_44 -0.00) 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:22241 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22241 > Also when explicitly marking a region with the mouse (dragging mouse-1 > or clicking mouse-3), temporary transient mark mode should be enabled: Funny you should mention that: I thought about it two days ago and was about to propose it. > it is a safe bet that if the user marks out a _region_ for a command, > that he wants the command to be applied to the region instead of just > operating at point. _If_ the command has special behavior for active > regions. Obviously I completely agree. >> 1) Type the C-c C-e very quickly (the quicklyness is configurable). >> 2) Type C-c C-c quickly, followed by C-e >> 3) Type S-C-c C-e CUA-mode is a really neat mode, but I think it will have to stay as a "compatibility tool" at least for the forseeable future. Too many of its features have as sole purpose to work around the presence of old-style bindings. Great for CUA-mode's purpose, but not so convincing for a default mode of operation. What I'd like to see is a move to discourage the use of hardcoded "C-c", "C-x" and such in bindings setup by packages. Instead we should provide ctl-x-prefix and major-mode-prefix as aliases for C-x and C-c and make packages use those. Then we can hope to later change the bindings (either by default or just in CUA-mode) in a more robust way. Stefan