From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: CUA mode's C-RET binding Date: Mon, 10 Mar 2008 08:46:50 +0900 Message-ID: <87myp7zcid.fsf@catnip.gol.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> <003001c8823a$d7cd5010$0600a8c0@us.oracle.com> <87lk4r5v2o.fsf@kfs-lx.rd.rdm> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205106451 31379 80.91.229.12 (9 Mar 2008 23:47:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 23:47:31 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, rms@gnu.org, Drew Adams , emacs-devel@gnu.org To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 00:47:58 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 1JYVFE-0000lA-C8 for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 00:47:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYVEf-0002yl-ET for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 19:47:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYVEQ-0002rk-1S for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:47:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYVEO-0002r0-7x for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:47:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYVEO-0002qv-5G for emacs-devel@gnu.org; Sun, 09 Mar 2008 19:47:04 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYVEH-00036j-3Z; Sun, 09 Mar 2008 19:46:57 -0400 Original-Received: from 203-216-96-086.dsl.gol.ne.jp ([203.216.96.86] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1JYVEC-0005EW-Ft; Mon, 10 Mar 2008 08:46:52 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 079C42FF7; Mon, 10 Mar 2008 08:46:50 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87lk4r5v2o.fsf@kfs-lx.rd.rdm> (Kim F. Storm's message of "Mon, 10 Mar 2008 00:36:15 +0100") Original-Lines: 31 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:91955 Archived-At: storm@cua.dk (Kim F. Storm) writes: > 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. > > 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. >From what I've seen, many people use the current just-one-space binding of M-SPC though, and it seems a particularly good and mnenomic binding for that command. > A third possibility would be S-SPC, but that may not work in -nw. Indeed... The thing is, I don't think a "set-rectangle-mark" binding has to be all that lightweight. In my experience, rectangle operations are fairly heavyweight anyway -- you set the mark once and do a bunch of movement (which can take a while) -- so a slightly less convenient binding for the initial mark-setting would probably be fine. I'd suggest "C-x r SPC" for obviousness, but that's taken, as is "C-x r C-SPC" (I have no idea why point-to-register needs _two_ bindings...). -Miles -- Bacchus, n. A convenient deity invented by the ancients as an excuse for getting drunk.