Re: Handling invisible text in bidirectional display

Richard Stallman <[email protected]>
Newsgroups gmane.emacs.bidi,gmane.emacs.devel
Message-ID <[email protected]>
Your description of the interaction of invisible with bidi seems right
to me, but I was surprised by your response to this

    > I think a reasonable model is to display the text as if the invisible
    > characters are not there.

    I think the resulting change of the visual order will surprise the
    users.  It also complicates implementation, which for me is an
    important downside.

because I don't see a differnce between "display the text as if the
invisible characters are not there" and what you described (in the
no-ellipsis case).  What you described

    One consequence is that a run of invisible characters can now be split
    into several non-contiguous runs.  For example, this text:

      abcABCxyz

    with c and A covered by an invisible property will be displayed as

      abCBxyz

seems to agree entirely with that description.  Is there something I
have misunderstood?

However, the invisible characters do have some effect when they
generate an ellipsis.  In that case, multiple ellipses as you've
described seems right.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.