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

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

bug#6472: bidi: bar cursor in rtl text on wrong side of current char.


From: David De La Harpe Golden
Subject: bug#6472: 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)





reply via email to

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