From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bidirectional text and URLs Date: Fri, 28 Nov 2014 09:24:21 -0500 Message-ID: References: <87k32f4loc.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417184700 27005 80.91.229.3 (28 Nov 2014 14:25:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 14:25:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 28 15:24:52 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 1XuMTc-0001qe-7V for ged-emacs-devel@m.gmane.org; Fri, 28 Nov 2014 15:24:52 +0100 Original-Received: from localhost ([::1]:44646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuMTb-0006ka-Cr for ged-emacs-devel@m.gmane.org; Fri, 28 Nov 2014 09:24:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuMTG-0006i1-Hr for emacs-devel@gnu.org; Fri, 28 Nov 2014 09:24:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuMT9-0000yJ-2N for emacs-devel@gnu.org; Fri, 28 Nov 2014 09:24:30 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuMT8-0000y2-Ui for emacs-devel@gnu.org; Fri, 28 Nov 2014 09:24:22 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sASEOLOW004138; Fri, 28 Nov 2014 09:24:21 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6544C670B; Fri, 28 Nov 2014 09:24:21 -0500 (EST) In-Reply-To: <87k32f4loc.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 28 Nov 2014 06:19:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5139=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5139> : inlines <1568> : streams <1350042> : uri <1836480> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:178417 Archived-At: > which maps to (1073 "6") in `uni-confusables-char-table-single'. EWW and > SHR could opportunistically use that table to highlight such characters. I don't think SHR/EWW can really do that for the buffer's main text, since AFAIK it doesn't know whether what it displays is supposed to be a URL or just plain human text (or rather, to do it well it would have to somehow detect a particular mix of characters). OTOH it can&should indeed do something (including a bigfat warning for bidi-ordering codes) when displaying something it knows to be a URL. Stefan