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: Rectangular regions Date: Tue, 29 Oct 2013 21:59:20 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383098376 21963 80.91.229.3 (30 Oct 2013 01:59:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 01:59:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 02:59:40 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 1VbL4M-00084C-Ch for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 02:59:38 +0100 Original-Received: from localhost ([::1]:50139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbL4M-0005vX-3Q for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 21:59:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbL4C-0005tq-SY for emacs-devel@gnu.org; Tue, 29 Oct 2013 21:59:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbL45-0006dP-FL for emacs-devel@gnu.org; Tue, 29 Oct 2013 21:59:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:15936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbL45-0006ck-B7 for emacs-devel@gnu.org; Tue, 29 Oct 2013 21:59:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoGABK/CFFsoXfp/2dsb2JhbABEtyKHbBdzgntyJhgNiEigC5EUkA6NYYMpA6R6gV6DEw X-IPAS-Result: AsoGABK/CFFsoXfp/2dsb2JhbABEtyKHbBdzgntyJhgNiEigC5EUkA6NYYMpA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36641504" 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 21:59:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3CD99608DB; Tue, 29 Oct 2013 21:59:20 -0400 (EDT) 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:164666 Archived-At: I've installed earlier today a patch which adds basic support for rectangular regions. The entry point currently is `M-x rectangle-mark'. Besides making commands aware of rectangular regions (currently only things like C-w, M-w, C-y, and M-y pay attention to the shape of the region), I have one main UI issues: provide a key binding for rectangle-mark. 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. A related issue is to find a mouse-binding for it. Stefan