From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Bidirectional text and URLs Date: Sat, 29 Nov 2014 18:54:43 +0100 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417283729 24148 80.91.229.3 (29 Nov 2014 17:55:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 17:55:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 29 18:55:22 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 1XumEq-0007cp-T3 for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2014 18:55:21 +0100 Original-Received: from localhost ([::1]:48382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumEq-0008L4-EH for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2014 12:55:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumEh-0008Ks-NH for emacs-devel@gnu.org; Sat, 29 Nov 2014 12:55:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XumEb-0004F8-HG for emacs-devel@gnu.org; Sat, 29 Nov 2014 12:55:11 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:54959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumEb-0004BN-Af for emacs-devel@gnu.org; Sat, 29 Nov 2014 12:55:05 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XumEF-0004aL-TK for emacs-devel@gnu.org; Sat, 29 Nov 2014 18:54:43 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUiAAApAQCIVTUuAwD+ //orAQA5DQAsAgD+/vwwBQAmAACCMAF3KQDy8e////+9r6MSdZGnAAABQElEQVQ4jcWQMWuDQBiG v67ZbhAhU3HI0vGG4/bMBQfxHxwUuhSHwz1DFl0OEm7TtX+hmTM0/oAsmqWDi1Lcg/00tqbSUiyB vJz3wfvwfu8hlKisKAd6mwPeeZbPh2QB4dDqIvCz/zvIR4Ordoxfde3yZVFmWVrkzSyLtAeHdH88 pmmAH54zEOK9yJqHLMP7YP/v8vJy4IId41d9JvIgPdRfqizLApw47jYvA8HQ+AskkCS7ze6blWyF 0AK09FdCiMekEVoPXDdagaattOJUo8e1aoEGRVVLmKc66zzBKZOSehxPDxRlvqLSaYHkmp4Ylktp Sunahis96XLVZWAtnxyDuMQmrunjvrXH1amcOTZxCMowMMiYh41Nx8zazqzXOILJcxSRmMTT2GQe JqraqupbGGiiof3P7711E08xZ/ofLCeBZoZtnjEAAAAASUVORK5CYII= X-Now-Playing: Bob Hund's _10 =?iso-8859-1?Q?=E5r_bak=E5t?= & 100 =?iso-8859-1?Q?=E5r_fram=E5t?= (2)_: "Jag rear ut min =?iso-8859-1?Q?sj?= =?iso-8859-1?Q?=E4l=22?= X-Hashcash: 1:23:141129:emacs-devel@gnu.org::TSoZ80G0Rnh5ruON:000000000000000000000000000000000000000000HDNK In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 29 Nov 2014 18:49:21 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1XumEF-0004aL-TK MailScanner-NULL-Check: 1417888484.06779@2XQJ8UrYHhNFn/7Pg2x/UA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:178468 Archived-At: Lars Magne Ingebrigtsen writes: > So... would a possible solution here be as simple as removing all > right-to-left indicators in mail and web modes if those right-to-left > indicators apply to URLs? Or even simpler: The URL-finding functions would explicitly place left-to-right markers over the bits of the URL that have left-to-right characters if there are any RTL markers in the buffer. This would make all the bits that say "http://example.com" etc be left-to-right, and if there are bits in the URL later that contains, say, Hebrew, those would still be displayed correctly. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no