From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bidirectional text and URLs Date: Mon, 01 Dec 2014 17:58:45 +0200 Message-ID: <83bnnn8iq2.fsf@gnu.org> References: <87zjbbdt0u.fsf@igel.home> <833892aq3m.fsf@gnu.org> <83egskaf6c.fsf@gnu.org> <419C54B5-68C4-4880-B826-33AD30112EAE@gmail.com> <83h9xg81xu.fsf@gnu.org> <4B2AE6F8-34AD-46B5-BFE4-B3A72A2EA75D@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1417449553 22191 80.91.229.3 (1 Dec 2014 15:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 15:59:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 16:59: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 1XvTNR-0001zR-QP for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 16:59:05 +0100 Original-Received: from localhost ([::1]:60683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTNR-00085K-IU for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 10:59:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTN9-000832-1J for emacs-devel@gnu.org; Mon, 01 Dec 2014 10:58:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvTN3-0004BN-41 for emacs-devel@gnu.org; Mon, 01 Dec 2014 10:58:46 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:56560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTN2-0004B5-Rg for emacs-devel@gnu.org; Mon, 01 Dec 2014 10:58:41 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NFW00E00ULTFT00@mtaout29.012.net.il> for emacs-devel@gnu.org; Mon, 01 Dec 2014 17:56:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFW006XKUY66G80@mtaout29.012.net.il>; Mon, 01 Dec 2014 17:56:31 +0200 (IST) In-reply-to: <4B2AE6F8-34AD-46B5-BFE4-B3A72A2EA75D@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:178585 Archived-At: > From: chad > Date: Mon, 1 Dec 2014 00:01:43 -0800 >=20 > > Yes, but this would only be a sign of trouble if the rest of buff= er > > text is strictly left to right. And even then, there are legitim= ate > > URLs that have RTL characters, e.g. in Google queries. >=20 > This is a great point. Does this happen often enough that it would > be troublesome to add a warning or prompt about it? What happens often enough? Google queries with RTL text? For me, all the time. Here's a random example: https://www.google.co.il/search?q=3D=D7=96=D7=90=D7=A4+=D7=94=D7= =A9=D7=95=D7=95=D7=90=D7=AA+=D7=9E=D7=97=D7=99=D7=A8=D7=99=D7=9D&ie= =3Dutf-8&oe=3Dutf-8&aq=3Dt&rls=3Dorg.mozilla:en-US:official&client= =3Dfirefox-a&channel=3Dsb&gfe_rd=3Dcr&ei=3Dg498VJeSJ8Sg8wfD5IDwBQ Note that copy-pasting this from the Firefox's address bar actually pastes this instead: https://www.google.co.il/search?q=3D%D7%96%D7%90%D7%A4+%D7%94%D7%A9= %D7%95%D7%95%D7%90%D7%AA+%D7%9E%D7%97%D7%99%D7%A8%D7%99%D7%9D&ie=3Dut= f-8&oe=3Dutf-8&aq=3Dt&rls=3Dorg.mozilla:en-US:official&client=3Dfiref= ox-a&channel=3Dsb&gfe_rd=3Dcr&ei=3Dg498VJeSJ8Sg8wfD5IDwBQ which might be something we could consider (I suggested that earlier as one of the possible ways to fight the malicious directional overrides).