From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Rectangular regions Date: Tue, 29 Oct 2013 20:29:27 -0700 Message-ID: <52707D17.6010801@dancol.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383103775 15977 80.91.229.3 (30 Oct 2013 03:29:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 03:29:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 04:29:41 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VbMTU-0004T3-KH for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 04:29:40 +0100 Original-Received: from localhost ([::1]:50361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbMTU-0005Xs-13 for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 23:29:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbMTR-0005Xn-5e for emacs-devel@gnu.org; Tue, 29 Oct 2013 23:29:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbMTQ-0001bm-7F for emacs-devel@gnu.org; Tue, 29 Oct 2013 23:29:37 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:51215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbMTP-0001bi-TT for emacs-devel@gnu.org; Tue, 29 Oct 2013 23:29:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=LYO+Oyl7LHPxGaOQ1T4YQTSC9PZQpQyU3wCcaUHDoEQ=; b=JgviIp8szrRWbU57jlgZk7/+dOrvCmead6PBFvFbFwf5KO1IZC2AETMqTAqKuY4bQ2+1xb2t8jCGJMkuZGT+xZ7BEBdzqCUKKXV1J6QfSh1VIbX377vv8bCaTh8fttDYQ7jDcqkFKFm31JZetNOfGHngOMxL9SvAdLYvA9vLp/XkbrG9Mh3ohUMViKVfclgULy2f44K3ZZhH5oWSHHRcr939QTQWaOECmqgCOnmehWuOpaGEVwbvLi8k6khSqwb+cusHEn38LA/L3U0zzcrZLVECH/l4tJdK/eR5e6EnXAlYxc/K1a/H4nmEtjKCy9G8M/DxgTmBcVPReFwxSIkcSA==; Original-Received: from [2620:0:1cfe:26:a119:fe95:def0:8588] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VbMTN-0002We-9R; Tue, 29 Oct 2013 20:29:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164670 Archived-At: On 10/29/2013 08:22 PM, Leo Liu wrote: > On 2013-10-30 09:59 +0800, Stefan Monnier wrote: >> Maybe we could also push the design a bit further and provide shorter >> key-bindings in "rectangular region mode" (no, it's not a mode >> currently) to access string-rectangle and open-rectangle, but for now, >> the main issue is how to quickly start selecting a rectangle. >> I.e. a good key binding for rectangle-mark. > > Maybe steal M-SPC from just-one-space since it is similar to C-SPC and > works well in gui and tty. We could fold just-one-space into > delete-horizontal-space somehow. Good idea. I completely agree. I don't think I've ever deliberately used just-one-space; I always go for delete-horizontal-space or delete-indentation to cover just-one-space's job. If we do end up using M-SPC, though, it'll be important to remind users that they can also run the command as ESC SPC (which is convenient enough): many popular window managers steal M-SPC for bringing up a window menu.