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: Thu, 31 Oct 2013 21:40:48 -0400 Message-ID: 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 X-Trace: ger.gmane.org 1383270082 6695 80.91.229.3 (1 Nov 2013 01:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2013 01:41:22 +0000 (UTC) Cc: Bastien , Eli Zaretskii , dancol@dancol.org, sdl.web@gmail.com, emacs-devel@gnu.org To: Jay Finger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 01 02:41:23 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 1Vc3jn-0006FG-7k for ged-emacs-devel@m.gmane.org; Fri, 01 Nov 2013 02:41:23 +0100 Original-Received: from localhost ([::1]:59960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc3jm-0003XC-Ij for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 21:41:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc3jc-0003X3-Mc for emacs-devel@gnu.org; Thu, 31 Oct 2013 21:41:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc3jV-00061i-Cw for emacs-devel@gnu.org; Thu, 31 Oct 2013 21:41:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc3jG-00060D-3i; Thu, 31 Oct 2013 21:40:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36811594" 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; 31 Oct 2013 21:40:48 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B74ED60671; Thu, 31 Oct 2013 21:40:48 -0400 (EDT) In-Reply-To: (Jay Finger's message of "Thu, 31 Oct 2013 11:36:56 -0700") 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:164767 Archived-At: > 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'. I assume you meant C-x SPC instead of M-x SPC (I guess we could technically make M-x SPC do the job, but it would be a majorly ugly hack). C-SPC C-SPC is already taken, so it'd have to be C-SPC C-SPC C-SPC. And C-M-SPC is also already taken (and I don't know about you, but I use it extensively). > Have you also considered, though, making rectangular regions work well at > the elisp level? >From rect.el: ;; FIXME: lots of known problems with the new rectangle support: ;; - no key binding for mark-rectangle. ;; - no access to the `string-rectangle' functionality. ;; - lots of commands handle the region without paying attention to its ;; rectangular shape. So, I guess, in summary, this counts as an additional vote for C-x SPC. It looks like GUD will have to adapt. Stefan