emacs-devel
[Top][All Lists]
Advanced

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

Re: improving bidi documents display


From: Eli Zaretskii
Subject: Re: improving bidi documents display
Date: Wed, 02 Mar 2011 20:39:43 +0200

> From: Miles Bader <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
>  address@hidden
> Date: Wed, 02 Mar 2011 16:06:10 +0900
> 
> Eli Zaretskii <address@hidden> writes:
> >> Adding/changing text properties marks the buffer as "modified."
> >> 
> >> One can avoid that effect by using the `with-silent-modifications' macro.
> >
> > Yes, but then copying the text copies the properties with it, which is
> > not what you want in this case, in general.
> 
> Sure, but that's a general issue in Emacs, so there are already
> mechanisms in place to help deal with it
> (e.g. yank-excluded-properties).

This one's different, believe me: no other text property changes the
_order_ of characters on display in creative ways.  It could easily
render the text illegible, under just the right circumstances.  Other
text properties are either non-intrusive, or are almost immediately
fixed by JIT Lock, or are simply rare enough to not get in our way.
This one, if used to implement partial reordering of buffer text, will
be ubiquitous in any buffer with program sources that include bidi
comments and strings, i.e. we will see it _a_lot_.



reply via email to

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