[Top][All Lists]

[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: Wed, 03 Dec 2014 03:39:03 -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. ]]]

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

  > How is this different (you say "another possible interface")?

First I proposed an interface that would return a representation of
the bidi context that affects a certain region.  This representation
would NOT include the text of that region.  It would only represent
the context _around_ that region, not the contents of that region.

Along with that I proposed a function to convert that representation
of context into magic bidi characters that will reproduce that context.

The second proposed interface would copy the text of a region, while
adding to it something to reproduce the bidi effect of its context.

Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.

reply via email to

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