From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: CUA mode's C-RET binding [was: position on changing defaults?] Date: Sun, 9 Mar 2008 15:11:00 -0800 Message-ID: <003001c8823a$d7cd5010$0600a8c0@us.oracle.com> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu><87hcfkdhqk.fsf@stupidchicken.com> <87pru8enjx.fsf@kfs-lx.rd.rdm> <871w6l3u8f.fsf@kfs-lx.rd.rdm> <871w6j7cga.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205104342 26406 80.91.229.12 (9 Mar 2008 23:12:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 23:12:22 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "'Kim F. Storm'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 00:12:49 2008 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 1JYUhF-0000bn-2D for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 00:12:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYUgg-0001iW-SK for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 19:12:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYUgc-0001ee-HI for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:12:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYUgb-0001d8-OR for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:12:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYUgb-0001cr-Kw for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:12:09 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYUgY-0005RZ-0j; Sun, 09 Mar 2008 19:12:06 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m29NBpUG020844; Sun, 9 Mar 2008 17:11:51 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m29NBogt029641; Sun, 9 Mar 2008 17:11:50 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3605790281205104268; Sun, 09 Mar 2008 16:11:08 -0700 Original-Received: from dradamslap1 (/141.144.112.116) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 09 Mar 2008 16:11:08 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AciCNh3OMI/7pHLTRoStRpWFhgmXIAAAPZLQ In-Reply-To: <871w6j7cga.fsf@kfs-lx.rd.rdm> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:91950 Archived-At: > > Unless you explicitly hit C-RET, you'll never notice it's there. ... > Of course, if we promote the C-RET method of marking a > rectangle as the default method, manual needs changes. BTW, any chance that we could change the default binding of `cua-set-rectangle-mark' to something else, besides C-RET? I don't see anything in the Common User Access definition about C-RET, so I'm guessing it's not part of that standard anyway. The current binding presents a problem for Icicles and some other modes. here are messages about a nxml-mode conflict, for example: http://osdir.com/ml/emacs.nxml.general/2006-01/msg00052.html, http://www.mail-archive.com/emacs-devel@gnu.org/msg03655.html. Since CUA mode is a global minor mode, and minor-mode bindings take precedence over local bindings, the minibuffer binding of C-RET in Icicles is overridden by `cua-set-rectangle-mark'. C-RET is used in Icicles in a way that is analogous to RET. Is there a similar reason for CUA mode's use of C-RET? If not, how about changing it? The conflict with Icicles is just an example. It's no biggee for Icicles users (don't use CUA mode or rebind keys as needed). But if other things are equal, we might look for a better binding for `cua-set-rectangle-mark'. It's nice to keep RET + modifier keys for something a bit similar to what RET does. Again, this is only a minor annoyance, but if fixed it might let more people use CUA mode in more contexts.