From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Rectangular regions Date: Tue, 29 Oct 2013 22:59:52 -0400 Message-ID: References: <87fvrja4hm.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383101998 22693 80.91.229.3 (30 Oct 2013 02:59:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 02:59:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 04:00:01 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 1VbM0n-0004sj-8Y for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 04:00:01 +0100 Original-Received: from localhost ([::1]:50274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbM0m-0006OL-Pe for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 23:00:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbM0j-0006OG-Iu for emacs-devel@gnu.org; Tue, 29 Oct 2013 22:59:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbM0g-0001Bn-GZ for emacs-devel@gnu.org; Tue, 29 Oct 2013 22:59:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:4308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbM0g-0001Bj-C3 for emacs-devel@gnu.org; Tue, 29 Oct 2013 22:59:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GsR+QDpEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GsR+QDpEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36646721" Original-Received: from 108-161-119-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.119.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Oct 2013 22:59:52 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6719E608DB; Tue, 29 Oct 2013 22:59:52 -0400 (EDT) In-Reply-To: <87fvrja4hm.fsf@yandex.ru> (Dmitry Gutov's message of "Wed, 30 Oct 2013 06:15:33 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:164668 Archived-At: >> 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. > C-RET? cua-mode uses this binding by default for a similar feature (see > `cua-rectangle-mark-key'). Hmm... not available on most (all?) ttys (they send the same byte-sequence for RET and for C-RET). Also, it's not terribly intuitive/mnemonic (neither the "C-" part, nor the "RET" part). Maybe M-+ or M-#? Not great either, but at least their glyph has a kind of "rectangle-related shape"? Stefan