From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: CUA mode's C-RET binding [was: position on changing defaults?] Date: Mon, 10 Mar 2008 00:36:15 +0100 Message-ID: <87lk4r5v2o.fsf@kfs-lx.rd.rdm> 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> <003001c8823a$d7cd5010$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205105802 29867 80.91.229.12 (9 Mar 2008 23:36:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 23:36:42 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 00:37:08 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 1JYV4g-0006Vx-Il for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 00:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYV48-0000V7-HO for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 19:36:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYV44-0000Ul-G7 for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:36:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYV43-0000UO-OL for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:36:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYV43-0000UL-ME for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:36:23 -0400 Original-Received: from pfepb.post.tele.dk ([195.41.46.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYV3z-00010S-Hk; Sun, 09 Mar 2008 19:36:19 -0400 Original-Received: from kfs-lx.rd.rdm.cua.dk (unknown [80.165.4.121]) by pfepb.post.tele.dk (Postfix) with SMTP id 54E17F84030; Mon, 10 Mar 2008 00:36:16 +0100 (CET) In-Reply-To: <003001c8823a$d7cd5010$0600a8c0@us.oracle.com> (Drew Adams's message of "Sun\, 9 Mar 2008 15\:11\:00 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:91953 Archived-At: "Drew Adams" writes: >> > 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. This has nothing to do with CUA as such - it's about finding a sensible and convenient binding for setting the rectangle mark. Since C-SPC sets the region mark, and the SPC key is "one dimensional", I think that C-RET is a good analogy with the RET key's typical "two dimensional" form. And when I chose C-RET, it wasn't used by any other installed package (not as far as I could see). If we could move "just-one-space" to some other key, using M-SPC to set the rectangle mark would be an alternative "logical" binding for setting the rectangle-mark. A third possibility would be S-SPC, but that may not work in -nw. > 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. I guess that no matter what global key is chosen for "set-rectanle-mark", it will conflict with some other mode... > Again, this is only a minor annoyance, but if fixed it might let more people > use CUA mode in more contexts. Sorry, but if I can decide, I'll not change it :-) -- Kim F. Storm http://www.cua.dk