From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Rectangular regions Date: Fri, 01 Nov 2013 10:01:45 +0200 Message-ID: <837gcsczyu.fsf@gnu.org> References: <52707D17.6010801@dancol.org> <8338niefba.fsf@gnu.org> <87a9hq8h7p.fsf@bzg.ath.cx> <5272B1C9.4000003@dancol.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383292943 21841 80.91.229.3 (1 Nov 2013 08:02:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2013 08:02:23 +0000 (UTC) Cc: bzg@gnu.org, dancol@dancol.org, sdl.web@gmail.com, jay.finger@pobox.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 01 09:02:26 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 1Vc9gX-0000lQ-N4 for ged-emacs-devel@m.gmane.org; Fri, 01 Nov 2013 09:02:25 +0100 Original-Received: from localhost ([::1]:60706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc9gX-0002W3-Bj for ged-emacs-devel@m.gmane.org; Fri, 01 Nov 2013 04:02:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc9gQ-0002Vx-Kr for emacs-devel@gnu.org; Fri, 01 Nov 2013 04:02:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc9gM-0002b8-0h for emacs-devel@gnu.org; Fri, 01 Nov 2013 04:02:18 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:52847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc9gG-0002Ta-Ll; Fri, 01 Nov 2013 04:02:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVK00600R9DF900@a-mtaout20.012.net.il>; Fri, 01 Nov 2013 10:02:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVK006PHRNCFU10@a-mtaout20.012.net.il>; Fri, 01 Nov 2013 10:02:06 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:164781 Archived-At: > From: Stefan Monnier > Date: Thu, 31 Oct 2013 21:50:25 -0400 > Cc: Bastien , Eli Zaretskii , sdl.web@gmail.com, > jay.finger@pobox.com, emacs-devel@gnu.org > > We'll need to take a closer look at the various uses of the region > and see what primitives would be useful. Indeed. I'm not sure we fully understand the pertinent use cases of yanking such regions into various contexts, let alone other operations on region. I would like to believe that counting words is not the most important one of them. > > 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. > > I'm in no hurry to go down that path. Lots of potholes on the way, and > from where I stand, there doesn't seem to be much gold at the end of > that road. Agreed. Not before we are confident we have the rectangular region features right in the unidirectional case.