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: Mon, 18 Jan 2010 07:35:06 -0500 Message-ID: References: <83y6jyat25.fsf@gnu.org> <4B5208E3.7050006@gmx.at> <83wrzhbxkf.fsf@gnu.org> <4B52D165.40008@gmx.at> <834omk8sbm.fsf@gnu.org> <4B5417B7.6060201@gmx.at> <4B543A5B.2020206@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263818382 18196 80.91.229.12 (18 Jan 2010 12:39:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2010 12:39:42 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Mon Jan 18 13:39:34 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 1NWqtK-00058z-07 for gnu-emacs-bidi@m.gmane.org; Mon, 18 Jan 2010 13:39:34 +0100 Original-Received: from localhost ([127.0.0.1]:59014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWqtK-00029m-TB for gnu-emacs-bidi@m.gmane.org; Mon, 18 Jan 2010 07:39:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWqp5-00073p-Q1 for emacs-bidi@gnu.org; Mon, 18 Jan 2010 07:35:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWqp1-000717-6Z for emacs-bidi@gnu.org; Mon, 18 Jan 2010 07:35:11 -0500 Original-Received: from [199.232.76.173] (port=52827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWqp0-00070q-Jf; Mon, 18 Jan 2010 07:35:06 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55852) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWqp0-0003L3-CD; Mon, 18 Jan 2010 07:35:06 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NWqp0-00035r-88; Mon, 18 Jan 2010 07:35:06 -0500 In-reply-to: <4B543A5B.2020206@gmx.at> (message from martin rudalics on Mon, 18 Jan 2010 11:39:23 +0100) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:464 gmane.emacs.devel:120199 Archived-At: > Date: Mon, 18 Jan 2010 11:39:23 +0100 > From: martin rudalics > CC: emacs-bidi@gnu.org, emacs-devel@gnu.org > > > Yes, that's right. (In fact, region highlight already works in the > > bidi version, so I just verified that 3 stretches of text are > > highlighted in this case > > Does this work with mouse highlighting too? IIRC display code handles > that specially. So if you draw a corresponding overlay with a > `mouse-face' property there should be three stretches highlighted when > the mouse is over one of these stretches. Hold your horses ;-) I didn't get to the mouse yet; as I wrote elsewhere, all the work till now is being done on a Unix text terminal (which does not support GPM, in case you wondered). But I did test hl-line-mode after setting hl-line-range-function to something that covers a small number of characters on each side of point, and it did work as expected. So I believe that the mouse highlight should work as well.