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: Wed, 30 Oct 2013 00:22:54 -0400 Message-ID: References: <83d2mne7p3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383106998 12828 80.91.229.3 (30 Oct 2013 04:23:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 04:23:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 05:23:22 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 1VbNJR-000797-FB for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 05:23:21 +0100 Original-Received: from localhost ([::1]:50465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNJQ-0003SZ-U0 for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 00:23:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNJH-0003SU-Au for emacs-devel@gnu.org; Wed, 30 Oct 2013 00:23:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbNJA-0007pX-0R for emacs-devel@gnu.org; Wed, 30 Oct 2013 00:23:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:24847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNJ1-0007oo-Su; Wed, 30 Oct 2013 00:22:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GszCNfYYsil4DklqSIIFegmop X-IPAS-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GszCNfYYsil4DklqSIIFegmop X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36648781" 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; 30 Oct 2013 00:22:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 81DF160713; Wed, 30 Oct 2013 00:22:54 -0400 (EDT) In-Reply-To: <83d2mne7p3.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Oct 2013 05:52:40 +0200") 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:164673 Archived-At: > "C-x SPC" is available, AFAIK. Kind of, but it's used for gud-break. > What did you mean that to do when the rectangle crosses bidirectional > text? The same thing that the usual suspects from rect.el do. > Currently, the rectangle is "broken". Similarly when the > rectangle includes characters of different sizes. Indeed, but that's been the case pretty much every since Emacs-21 added support for variable-sized characters. Or even before that in the case of line-wrapping. The new code only highlights the "rectangle", but doesn't attempt to change the definition of that rectangle. > IOW, this "rectangle" works in character cell positions in the logical > order. If this is what you meant, fine (but then it's not really a > rectangle in many use cases). Yes, I just wanted to provide "visual access" to the existing rectangle functionality, since it's been requested many times. > Otherwise, there's a lot of work yet to make it a real rectangle. Indeed. Stefan