emacs-devel
[Top][All Lists]
Advanced

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

Re: Bidirectional text and URLs


From: Eli Zaretskii
Subject: Re: Bidirectional text and URLs
Date: Mon, 01 Dec 2014 22:21:27 +0200

> Date: Mon, 01 Dec 2014 21:34:46 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> The first one sounds pretty complicated.  I need to think about its
> feasibility.

A simple (as in "KISS") strategy that should always work is to copy
the entire physical line around the region.  The disadvantage is, of
course, that it could be very long in some rare cases.  Optimizing
that would probably require replacing runs of certain types of
characters with a single representative character of the same type,
and keeping all the directional controls.

We could also replace strong directional characters L/R/AL with the
corresponding mark (LRM/RLM/ALM), which are displayed as (thin)
spaces, and so will be almost invisible, keeping an illusion of
copying just the region of text and nothing else.

Is this good enough?



reply via email to

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