[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bidirectional text and URLs
From: |
Richard Stallman |
Subject: |
Re: Bidirectional text and URLs |
Date: |
Tue, 02 Dec 2014 09:45:08 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> A simple (as in "KISS") strategy that should always work is to copy
> the entire physical line around the region.
1. Is that physical line sufficient to determine the bidi context for
the region? I don't know. If you say it is, I believe you.
2. It would be unclear to include the whole line in the message
if the message is about just part of it (such as, a URL).
So what I am looking for is a way to simplify the rest of that line
into something that would create an equivalent bidi context
for the region to be copied.
> 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.
This sounds like the sort of thing I proposed.
Another possible interface would be
'buffer-substring-preserve-bidi-context'.
It would copy a specified part of the buffer, but prefix and suffix it
with whatever is necessary to cause that part to display the same,
bidi-wise, as it did in its original buffer.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use Ekiga or an ordinary phone call.
- Re: Bidirectional text and URLs, (continued)
Re: Bidirectional text and URLs, Richard Stallman, 2014/12/01
Re: Bidirectional text and URLs,
Richard Stallman <=
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/02
Re: Bidirectional text and URLs, Richard Stallman, 2014/12/03
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/03
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/04
Re: Bidirectional text and URLs, Richard Stallman, 2014/12/05
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/05
Re: Bidirectional text and URLs, Richard Stallman, 2014/12/05
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/05
Re: Bidirectional text and URLs, Richard Stallman, 2014/12/06
Re: Bidirectional text and URLs, Eli Zaretskii, 2014/12/06