emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#6472: closed (bidi: bar cursor in rtl text on wr


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6472: closed (bidi: bar cursor in rtl text on wrong side of current char.)
Date: Sat, 27 Nov 2010 11:48:01 +0000

Your message dated Sat, 27 Nov 2010 13:54:59 +0200
with message-id <address@hidden>
and subject line Re: bug#6472: bidi: bar cursor in rtl text on wrong side of 
current    char.
has caused the GNU bug report #6472,
regarding bidi: bar cursor in rtl text on wrong side of current char.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6472: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6472
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: bidi: bar cursor in rtl text on wrong side of current char. Date: Sun, 20 Jun 2010 00:14:53 +0100 User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4
I use [1] to use a bar cursor in emacs.

I think the bar cursor is on the wrong side in rtl spans, to the left of the rtl character the point is "on" rather than the right, so it doesn't correspond to the insertion location of the next rtl character typed.


[1]

(setq default-cursor-type '(bar . 2))
(defadvice overwrite-mode (after overwrite-mode)
  (if overwrite-mode
      (setq cursor-type 'box)
    (setq cursor-type '(bar . 2))))
(ad-activate 'overwrite-mode)



--- End Message ---
--- Begin Message --- Subject: Re: bug#6472: bidi: bar cursor in rtl text on wrong side of current char. Date: Sat, 27 Nov 2010 13:54:59 +0200
> Date: Sun, 20 Jun 2010 18:21:57 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > Date: Sun, 20 Jun 2010 00:14:53 +0100
> > From: David De La Harpe Golden <address@hidden>
> > 
> > I use [1] to use a bar cursor in emacs.
> > 
> > I think the bar cursor is on the wrong side in rtl spans, to the left of 
> > the rtl character the point is "on" rather than the right, so it doesn't 
> > correspond to the insertion location of the next rtl character typed.
> 
> You are right.  I added this to my todo.  Volunteers are welcome to
> beat me to it; the resolved bidi type and level of each character is
> already available in the glyph structure.

Fixed in revno 101129 (in August, but it seems I forgot to close the
bug).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]