emacs-devel
[Top][All Lists]
Advanced

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

Re: Bidirectional text and URLs


From: David Kastrup
Subject: Re: Bidirectional text and URLs
Date: Mon, 01 Dec 2014 21:30:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> 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?

Wouldn't it just be enough to turn off bidi-display-reordering in the
minibuffer when inputting/displaying the URL?

-- 
David Kastrup




reply via email to

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