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:53:29 +0200 Message-ID: <83tyulbwl2.fsf@gnu.org> References: <83y6jyat25.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263675180 16043 80.91.229.12 (16 Jan 2010 20:53:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2010 20:53:00 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Sat Jan 16 21:52:53 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 1NWFdc-0007oB-QR for gnu-emacs-bidi@m.gmane.org; Sat, 16 Jan 2010 21:52:53 +0100 Original-Received: from localhost ([127.0.0.1]:53171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWFdd-0005Pz-QX for gnu-emacs-bidi@m.gmane.org; Sat, 16 Jan 2010 15:52:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWFdb-0005Oi-B4 for emacs-bidi@gnu.org; Sat, 16 Jan 2010 15:52:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWFdX-0005K4-Pc for emacs-bidi@gnu.org; Sat, 16 Jan 2010 15:52:51 -0500 Original-Received: from [199.232.76.173] (port=50531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWFdX-0005Jy-Mm; Sat, 16 Jan 2010 15:52:47 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52142) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWFdX-0004KS-6G; Sat, 16 Jan 2010 15:52:47 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KWC00J00XXVS600@a-mtaout22.012.net.il>; Sat, 16 Jan 2010 22:52:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.130.198]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KWC00I4NXZXCC40@a-mtaout22.012.net.il>; Sat, 16 Jan 2010 22:52:46 +0200 (IST) In-reply-to: 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:441 gmane.emacs.devel:120123 Archived-At: > From: Stefan Monnier > Date: Sat, 16 Jan 2010 14:56:10 -0500 > Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org > > > This is another design decision I needed to make -- how to handle > > invisible text in the display engine modified to support bidirectional > > text. > > Great to hear you progress on bidi support! I never stopped. Progress is slow, but steady. Things that work so far: . Display of bidirectional text, including line truncation and continuation . Scrolling . Cursor positioning according to point . Text insertion and deletion . Left-to-right and right-to-left paragraphs, including dynamically determined paragraph direction . Horizontal cursor motion . Text properties and overlays that affect faces All this works only on a text terminal for now. I know very little about the GUI display back-ends we support, so others will have to come on board and make the necessary changes there, when the time comes. > > Therefore, I decided to modify the code which skips invisible > > characters, such that it will skip them in the visual order, until it > > finds the first character that is outside the region covered by the > > invisible property. Note that the ``first'' visible character could > > be before or after the invisible region, in the logical order. > > It's consistent with the current behavior, so it's probably no worse > than trying to preserve the current implementation. Thanks for the feedback.