--- 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 ---