[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: |
Chong Yidong |
Subject: |
Re: bidi-display-reordering is now non-nil by default |
Date: |
Thu, 18 Aug 2011 18:44:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> What's wrong with using the `display' property with a special value,
> as I suggested a few mails ago? It _is_ a character property, isn't
> it?
I'll have to think more about it, but I am not sure it's a good idea.
The display property is already used for a lot of other unrelated
purposes, like variable-width spaces. So if you want to mark out a bidi
segment on a stretch of text that already has other display properties
present, you'd currently have to do some nasty merging of display specs.
Searching for the bidi display spec would be similarly annoying. It
would be much nicer to have a separate text property specifically for
the purpose of marking out a bidi segment.
>> I don't recall the last time I ran into a problem with deferred
>> font-lock. I seriously doubt this is a real issue.
>
> ??? Set jit-lock-defer-time to something like 2, then visit xdisp.c,
> scroll, and watch the fun.
Then don't do that.
Obviously, there is a trade-off: exploiting font-lock means more
"magically correct" segmenting; using a hack (like marking chars
special) means less dependence on the font-lock machinery. I don't
think the latter is worth it.
- Re: bidi-display-reordering is now non-nil by default, (continued)
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/16
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/16
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/16
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/17
- Re: bidi-display-reordering is now non-nil by default, Juri Linkov, 2011/08/17
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/17
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/17
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default,
Chong Yidong <=
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/19
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Eli Zaretskii, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Andreas Schwab, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Eli Zaretskii, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Ehud Karni, 2011/08/25
- Re: bidi reordering in program source buffers, Eli Zaretskii, 2011/08/25
- Re: bidi reordering in program source buffers, Ehud Karni, 2011/08/25
- Re: bidi reordering in program source buffers, Eli Zaretskii, 2011/08/25