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: Tue, 02 Dec 2014 09:44:17 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1417531469 9234 80.91.229.3 (2 Dec 2014 14:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2014 14:44:29 +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 Tue Dec 02 15:44:24 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 1Xvogi-0001s1-4U for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2014 15:44:24 +0100 Original-Received: from localhost ([::1]:37187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xvogh-0003VR-Qp for ged-emacs-devel@m.gmane.org; Tue, 02 Dec 2014 09:44:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xvoge-0003VI-3l for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:44:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xvogd-0006fs-9B for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:44:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xvogd-0006fL-6g for emacs-devel@gnu.org; Tue, 02 Dec 2014 09:44:19 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xvogb-0004r0-T6; Tue, 02 Dec 2014 09:44:18 -0500 In-reply-to: <83k32b6u5l.fsf@gnu.org> (message from Eli Zaretskii on Mon, 01 Dec 2014 21:34:46 +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:178689 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. ]]] > The first one sounds pretty complicated. I need to think about its > feasibility. It could require analysis of a very large chunk of > buffer text, at least in theory. Doesn't each paragraph do bidi separately? If so, at most this requires analyzing one paragraph before and after the region. What's more, the UBA specifies how > to reorder text given the contents, but not how to do the reverse. How does this relate to what I proposed? I don't see it so I suspect a misunderstanding. > Anyway, what's more important: you can have 2 without 1. I don't understand what that would mean. > The trick is > to capture the visual order of the text you want to copy (can be done > by looking at the current glyph matrix), and then create a string > whose logical order is identical to the captured visual order, That seems more complicated and less desirable. For the job I have in mind, it is more elegant to COPY the text in question into the message. But one needs to make sure it will display the same in this new context as in the original context. That's what the proposed feature is for. The facility you propose here might be useful too, for other purposes. -- 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.