[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bidi-display-reordering is now non-nil by default
From: |
Štěpán Němec |
Subject: |
Re: bidi-display-reordering is now non-nil by default |
Date: |
Mon, 22 Aug 2011 23:35:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
On Mon, 22 Aug 2011 21:37:30 +0200
Stefan Monnier wrote:
>>> + (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).
OTOH, making choose-completion know better than relying on mouse-face
would also have the side-effect of providing more favourable conditions
for fixing bug#8897. ;-)
--
Štěpán
- Re: bidi-display-reordering is now non-nil by default, (continued)
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/25
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/25
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/26
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/26
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/27
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/27
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/28
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/29
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/25
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/22
- Re: bidi-display-reordering is now non-nil by default,
Štěpán Němec <=
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/22
- Re: bidi-display-reordering is now non-nil by default, Štěpán Němec, 2011/08/23
- use of `mouse-face' to delimit text zones [was: bidi-display-reordering is now non-nil by default], Drew Adams, 2011/08/23
- Re: use of `mouse-face' to delimit text zones [was: bidi-display-reordering is now non-nil by default], Eli Zaretskii, 2011/08/23
- Re: use of `mouse-face' to delimit text zones [was: bidi-display-reordering is now non-nil by default], Stefan Monnier, 2011/08/23
- Re: use of `mouse-face' to delimit text zones, Eli Zaretskii, 2011/08/23
- Re: use of `mouse-face' to delimit text zones, Štěpán Němec, 2011/08/23
- Re: use of `mouse-face' to delimit text zones, Stefan Monnier, 2011/08/23
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/23
- Re: bidi-display-reordering is now non-nil by default, Štěpán Němec, 2011/08/23