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: Thu, 31 Oct 2013 12:38:49 -0700 Message-ID: <5272B1C9.4000003@dancol.org> References: <52707D17.6010801@dancol.org> <8338niefba.fsf@gnu.org> <87a9hq8h7p.fsf@bzg.ath.cx> 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 1383248339 31608 80.91.229.3 (31 Oct 2013 19:38:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2013 19:38:59 +0000 (UTC) Cc: Bastien , Eli Zaretskii , sdl.web@gmail.com, emacs-devel@gnu.org To: jay.finger@pobox.com, Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 31 20:39:04 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 1Vby5A-0000lS-H4 for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 20:39:04 +0100 Original-Received: from localhost ([::1]:59012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vby59-0000rz-VD for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 15:39:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vby55-0000qR-VN for emacs-devel@gnu.org; Thu, 31 Oct 2013 15:39:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vby55-00040o-5Q for emacs-devel@gnu.org; Thu, 31 Oct 2013 15:38:59 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:57970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vby53-00040J-Ev; Thu, 31 Oct 2013 15:38:57 -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=YjRfY5I1+i3oMnm2BXA5xu43gfu0iuq7XyMRmPgkjq0=; b=HGzEcX2ccx9yvljc6LS43GwhC0dZxqLaucjLXX/XMYNxLORUSXgav9CBuZkov86Utytcb5cOVQjHTF3aTks57/8JGGeLqpSmN5BOs0y/SoNI6N6HjnNwbt2Wqp3jT7hq0PMri5ynpTkkesJgmapNRrkAgJN6NqXjX9zBsFauDZ+uWd6W9zTIze8oL9tepaxxjPGPX+jqbPgaV6hReWUkhR9USk27nAKkAtxbk6MI+9BvIJUVM5odJeiVkBSV7HAzjiFm6nq5+5AHRtoSMtbEQ2Av/rhq5+orvqUZbF9CdZt7jHP2qiWU0zV510AdE2trWqjUu/kwwmiJZSGZ/VhFxg==; Original-Received: from [2620:0:1cfe:18:406b:9742:b541:f113] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Vby51-0006Vt-RM; Thu, 31 Oct 2013 12:38:55 -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:164753 Archived-At: On 10/31/2013 11:36 AM, Jay Finger wrote: > M-SPC is typically the chord Alt-Space, which activates the window menu > on many systems, both X and Windows, and is consumed by the window > manager before Emacs can get to it. At least that's the case on the > gnome 3.8 system I'm typing this on. And I would not want to disable > the binding for the window-menu as I like it's functionality and have > many years of muscle memory for it. So while M-SPC seems to me an > obvious variation on C-SPC, it should probably not be the primary way to > access this feature. > > I _do_ think that this should be easily accessible. I have fond > memories of rectangular cut/copy/paste being a first class citizen in > the Brief text editor that I haven't used since probably '88. So I > would prefer as simple a chord (or sequence) as possible that still > identifies it as being just a variation on C-SPC. > > So to the extent that there is a vote, I would go for either 'M-x SPC' > or 'C-SPC C-SPC', or 'C-M-SPC'. > > Have you also considered, though, making rectangular regions work well > at the elisp level? For example, so many commands take (point mark) > from (interactive "r") and presume to think that it's a non-rectangular > region. Would it be useful to have a new interactive code that instead > supplies three arguments, (point mark shape) where shape is 'linear or > 'rectangle. Or better yet --- just take an interval list. An interval list would allow us to select a "rectangle" in bidi buffers, the underlying character-range chunks of which would actually be arbitrary and non-contiguous.