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: arrow keys vs. C-f/b/n/p Date: Sat, 12 Jun 2010 22:58:44 +0300 Message-ID: <83eigcja4r.fsf@gnu.org> References: <87d3w2ncqs.fsf_-_@lola.goethe.zz> <87iq5py7xk.fsf@stupidchicken.com> <83fx0slhxn.fsf@gnu.org> <83pqzwjkn9.fsf@gnu.org> <83mxv0je2b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1276372735 1023 80.91.229.12 (12 Jun 2010 19:58:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Jun 2010 19:58:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 12 21:58:54 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ONWqz-000824-Vh for ged-emacs-devel@m.gmane.org; Sat, 12 Jun 2010 21:58:54 +0200 Original-Received: from localhost ([127.0.0.1]:39275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONWqz-0003aO-Hk for ged-emacs-devel@m.gmane.org; Sat, 12 Jun 2010 15:58:53 -0400 Original-Received: from [140.186.70.92] (port=49982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONWqt-0003aJ-6i for emacs-devel@gnu.org; Sat, 12 Jun 2010 15:58:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONWqs-00087l-0E for emacs-devel@gnu.org; Sat, 12 Jun 2010 15:58:47 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64588) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONWqr-00087Z-L2 for emacs-devel@gnu.org; Sat, 12 Jun 2010 15:58:45 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L3X004003FHD600@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 12 Jun 2010 22:58:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.88.125]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L3X003NB3HV6D30@a-mtaout22.012.net.il>; Sat, 12 Jun 2010 22:58:43 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125843 Archived-At: > From: Lennart Borgman > Date: Sat, 12 Jun 2010 21:34:35 +0200 > Cc: emacs-devel@gnu.org > > > The answer to this is as far as I can see that the visual region in > > this case no longer internally corresponds to a single range, but to > > two noncontinuous ranges in the buffer. If I am correct on this, is > > not this then a difficulty that must be handled to finish the bidi > > support? > > I just tested in etc/HELLO to see how you have handled this. You took > another route than I expected and I think it makes sense. That other route is simply logical-order region, supported by a logical-order cursor motion. > When selecting a region with the two end points in parts with > different directions you instead split the visual region on screen. The important part is that the logical-order region is contiguous. The seeming ``split'' on the screen is just the effect produced by reordering characters for display. > However it has nothing at all to do with the visual movements when > using the arrow keys. That movement can (and in my opinion should) > still be visual. See my question in my other mail: with visual-order movement, the region highlight and other similar features will behave non-sensically.