From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Handling invisible text in bidirectional display Date: Sat, 16 Jan 2010 22:37:39 +0200 Message-ID: <83vdf1bxbg.fsf@gnu.org> References: <83y6jyat25.fsf@gnu.org> <87eilpzwrs.fsf@lola.goethe.zz> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263674275 13383 80.91.229.12 (16 Jan 2010 20:37:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2010 20:37:55 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Sat Jan 16 21:37:48 2010 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWFOR-0001Jg-2H for gnu-emacs-bidi@m.gmane.org; Sat, 16 Jan 2010 21:37:11 +0100 Original-Received: from localhost ([127.0.0.1]:34072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWFOR-0006ek-Ok for gnu-emacs-bidi@m.gmane.org; Sat, 16 Jan 2010 15:37:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWFOL-0006eL-MJ for emacs-bidi@gnu.org; Sat, 16 Jan 2010 15:37:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWFOG-0006bN-7d for emacs-bidi@gnu.org; Sat, 16 Jan 2010 15:37:04 -0500 Original-Received: from [199.232.76.173] (port=57195 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWFOG-0006bF-3b; Sat, 16 Jan 2010 15:37:00 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWFOE-00020Z-Bt; Sat, 16 Jan 2010 15:36:58 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KWC00J00X6I8S00@a-mtaout22.012.net.il>; Sat, 16 Jan 2010 22:36:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.130.198]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KWC00FIXX9J0YB0@a-mtaout22.012.net.il>; Sat, 16 Jan 2010 22:36:57 +0200 (IST) In-reply-to: <87eilpzwrs.fsf@lola.goethe.zz> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:440 gmane.emacs.devel:120122 Archived-At: > From: David Kastrup > Date: Sat, 16 Jan 2010 20:15:35 +0100 > Cc: emacs-bidi@gnu.org > > Eli Zaretskii writes: > > > This is another design decision I needed to make -- how to handle > > invisible text in the display engine modified to support bidirectional > > text. > > I think a reasonable model is to display the text as if the invisible > characters are not there. I think the resulting change of the visual order will surprise the users. It also complicates implementation, which for me is an important downside. > Invisibility has other consequences except display, like what cursor > positions it allows. For now, I have only implemented strictly logical cursor motion. That is, when the next character in the logical (a.k.a. reading) order is far away on display, C-f causes the cursor jumps to that place, then subsequent C-f's cause it move to the left. With this cursor motion, invisible text in a bidi buffer behaves exactly like it does in Emacs 23.