From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.bidi Subject: Re: Handling invisible text in bidirectional display Date: Sat, 16 Jan 2010 14:56:10 -0500 Message-ID: References: <83y6jyat25.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263671795 6686 80.91.229.12 (16 Jan 2010 19:56:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2010 19:56:35 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 16 20:56:27 2010 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.50) id 1NWEl0-0000n9-OC for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2010 20:56:27 +0100 Original-Received: from localhost ([127.0.0.1]:47754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWEl1-0004mM-NL for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2010 14:56:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWEkw-0004m8-64 for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:56:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWEkr-0004it-Ny for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:56:21 -0500 Original-Received: from [199.232.76.173] (port=44538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWEkm-0004ey-Q1; Sat, 16 Jan 2010 14:56:12 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:49999 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWEkl-0005eI-Cz; Sat, 16 Jan 2010 14:56:11 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEACGpUUvO+LMp/2dsb2JhbACBRNVShDIEij8 X-IronPort-AV: E=Sophos;i="4.49,287,1262581200"; d="scan'208";a="53899198" Original-Received: from 206-248-179-41.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.41]) by ironport2-out.pppoe.ca with ESMTP; 16 Jan 2010 14:56:10 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 952E0806E; Sat, 16 Jan 2010 14:56:10 -0500 (EST) In-Reply-To: <83y6jyat25.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Jan 2010 18:54:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:120118 gmane.emacs.bidi:438 Archived-At: > 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! > 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. Stefan