Subject: bug#9229: closed (Re: bug#9229: 24.0.50; Bidi problem with `cursor' property)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 05 Aug 2011 10:38:03 +0000

Your bug report

#9229: 24.0.50; Bidi problem with `cursor' property

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9229: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9229
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9229: 24.0.50; Bidi problem with `cursor' property
From: Eli Zaretskii <[email-masked]>
To: Johan Bockgוrd <[email-masked]>
Cc: [email-masked]
Date: Fri, 05 Aug 2011 13:34:16 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Johan Bockgård <[email-masked]>
> Cc: [email-masked]
> Date: Thu, 04 Aug 2011 18:45:51 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Any experience with this patch, positive or otherwise?
> 
> It works so far. Thanks.

Committed as revision 105406 on the trunk.  Thanks.

Subject: 24.0.50; Bidi problem with `cursor' property
From: Johan Bockgård <[email-masked]>
To: [email-masked]
Date: Wed, 03 Aug 2011 16:29:52 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

The `cursor' property does not work properly on overlays when
bidi-display-reordering is t and the overlay string is line wrapped.

   emacs -Q

Eval

    (let ((o (make-overlay (point-max) (point-max)))
          (s (make-string (+ 5 (window-width)) ?-)))
      (put-text-property 0 1 'cursor t s)
      (overlay-put o 'after-string s)
      (goto-char (point-max)))

The cursor is expected to be displayed before the overlay, but is
displayed after it.

(This bug makes icomplete-mode very confusing to use.)