|
| From: | Stefan Monnier |
| Subject: | Re: bidi-display-reordering is now non-nil by default |
| Date: | Mon, 22 Aug 2011 15:37:30 -0400 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> + (put-text-property (point)
>> + (progn
>> + (insert (bidi-string-mark-left-to-right
>> str))
>> + (point))
>> 'mouse-face 'highlight)
The mouse-face property is used to delimit the text, but the above code
ends up marking not just STR but STR+LRM, which is not desirable
(e.g. choose-completion will end up choosing STR+LRM rather than jus STR).
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |