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 18:02:36 +0200 Message-ID: <83a9378ijn.fsf@gnu.org> References: <83zjbbkwnj.fsf@gnu.org> <834mtiaqcv.fsf@gnu.org> <83fvd0afd5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1417449800 26554 80.91.229.3 (1 Dec 2014 16:03:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 16:03:20 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 17:03:11 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 1XvTRA-0004YD-C6 for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 17:02:56 +0100 Original-Received: from localhost ([::1]:60706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTR9-0003Qh-O5 for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2014 11:02:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTQr-0003QQ-HR for emacs-devel@gnu.org; Mon, 01 Dec 2014 11:02:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvTQl-0005v2-H5 for emacs-devel@gnu.org; Mon, 01 Dec 2014 11:02:37 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:43824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvTQl-0005ur-8S; Mon, 01 Dec 2014 11:02:31 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NFW00N00UIWGK00@mtaout24.012.net.il>; Mon, 01 Dec 2014 17:54:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFW00KAMUVB7B40@mtaout24.012.net.il>; Mon, 01 Dec 2014 17:54:47 +0200 (IST) In-reply-to: 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.180 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:178586 Archived-At: > Date: Mon, 01 Dec 2014 05:18:01 -0500 > From: Richard Stallman > CC: larsi@gnus.org, emacs-devel@gnu.org > > > The issue here is that bidirectional display features are being > > (ab)used to trick humans into thinking they will follow a link to some > > place, while in fact the link leads to a very different place. This > > problem would not have existed without humans reading the URLs, and > > without the discrepancy between what those humans perceive visually > > and the actual URL as seen by the program which interprets it. > > That is true. These magic characters have the same effect in URLs > as everywhere else, because Emacs display does not distinguish. > > But URLs are not the places where these magic characters are useful > and meant to be used. Not in the host.domain parts, but URLs can hold more than just that. The query part, the one after the "?", might very well use it. Anyway, if we want to detect the cases that are simple for detection, we can start there; it's probably better than nothing. But we need to have a very specific definition of those cases. Many people in this thread talk in terms of vague concepts, such as "directionality", which sound intuitive, but break down as soon as we need to translate them into requirements for what Emacs should do. Not their fault, of course: the issue is complex and most people don't know the details, or need to. But it does make the discussion more difficult.