From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Bidirectional text and URLs Date: Mon, 01 Dec 2014 21:30:03 +0100 Organization: Organization?!? Message-ID: <87r3wjjepg.fsf@fencepost.gnu.org> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417465845 8859 80.91.229.3 (1 Dec 2014 20:30:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 20:30:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 21:30:38 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 1XvXcD-0005Nt-Cc for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 21:30:37 +0100 Original-Received: from localhost ([::1]:33741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvXcC-0001GA-FD for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 15:30:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvXby-0001F9-Px for emacs-devel@gnu.org; Mon, 01 Dec 2014 15:30:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvXbt-0007Ig-0p for emacs-devel@gnu.org; Mon, 01 Dec 2014 15:30:22 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvXbs-0007IM-RI for emacs-devel@gnu.org; Mon, 01 Dec 2014 15:30:16 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XvXbr-0005G3-3M for emacs-devel@gnu.org; Mon, 01 Dec 2014 21:30:15 +0100 Original-Received: from x2f51fe3.dyn.telefonica.de ([2.245.31.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Dec 2014 21:30:15 +0100 Original-Received: from dak by x2f51fe3.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Dec 2014 21:30:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f51fe3.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:UlYD0WCxUQ96ahGmRBgXThKgeI0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:178649 Archived-At: Eli Zaretskii writes: >> Date: Mon, 01 Dec 2014 21:34:46 +0200 >> From: Eli Zaretskii >> Cc: larsi@gnus.org, emacs-devel@gnu.org >> >> 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