From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Bidirectional text and URLs Date: Wed, 03 Dec 2014 03:39:03 -0500 Message-ID: References: <87a93cngwv.fsf@uwakimon.sk.tsukuba.ac.jp> <837fyfml31.fsf@gnu.org> <874mtio7wh.fsf@uwakimon.sk.tsukuba.ac.jp> <83r3wml8kq.fsf@gnu.org> <83zjb9an0q.fsf@gnu.org> <831toka82r.fsf@gnu.org> <83oaro8km7.fsf@gnu.org> <83k32b6u5l.fsf@gnu.org> <83h9xf6rzs.fsf@gnu.org> <83wq6a5c1q.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1417596014 12037 80.91.229.3 (3 Dec 2014 08:40:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2014 08:40:14 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 03 09:40:07 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xw5Tj-0003Cd-Dw for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 09:40:07 +0100 Original-Received: from localhost ([::1]:40367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5Tj-00031k-1u for ged-emacs-devel@m.gmane.org; Wed, 03 Dec 2014 03:40:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5Sm-0001mS-LO for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:39:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xw5Si-0001oc-9P for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:39:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xw5Si-0001oV-6h for emacs-devel@gnu.org; Wed, 03 Dec 2014 03:39:04 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xw5Sh-0000jc-1U; Wed, 03 Dec 2014 03:39:03 -0500 In-reply-to: <83wq6a5c1q.fsf@gnu.org> (message from Eli Zaretskii on Tue, 02 Dec 2014 17:03:29 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178718 Archived-At: [[[ 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 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.