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: Fri, 28 Nov 2014 14:58:27 +0100 Message-ID: References: <87k32f4loc.fsf@lifelogs.com> 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 1417183164 1596 80.91.229.3 (28 Nov 2014 13:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 13:59:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 28 14:59:18 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 1XuM4q-0007Ad-Hz for ged-emacs-devel@m.gmane.org; Fri, 28 Nov 2014 14:59:16 +0100 Original-Received: from localhost ([::1]:44442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuM4q-0002dl-0i for ged-emacs-devel@m.gmane.org; Fri, 28 Nov 2014 08:59:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuM4X-0002dQ-B0 for emacs-devel@gnu.org; Fri, 28 Nov 2014 08:59:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuM4S-0006W1-72 for emacs-devel@gnu.org; Fri, 28 Nov 2014 08:58:57 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:52448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuM4R-0006Vc-VY for emacs-devel@gnu.org; Fri, 28 Nov 2014 08:58:52 -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 1XuM43-00076F-RY for emacs-devel@gnu.org; Fri, 28 Nov 2014 14:58:27 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXpbA74gxn7mCfGVQr5 ih3zeRPzfd01AAACf0lEQVQ4jVVUwXYbIQyUn8Pd2qAPWEruzqO5ByLuqF39/690tHbTV9l+Cwyj GYHWlJYfLLOLsKlyZnNfZI0Ox9y4uncWdVd2kTQbycRcuAytnDXvyzM7XQBkzIX3rUzVUscUdqbU iHmMKla0dq1ANGNrpDLbIklhHWOUUvZReeu9Ue556MhYq4pBEVC3Uhvp7KzWS8XuMmrdy671KGAg TZc8ANRfdYAEUQWjb3VA9BnBq6hzACiaC3LXMsp31K0RXAaj9v1JAwFncbrSiirKv3wI2K3aFW7G w9YZe1G4CkHVvI3ylwG7kUpRHzKd8me6yjts4Kw06553PT1Fxho7YNey9tAf28NuYLDZaLKP6lvZ t1rHWUKpl5IbvbuwvP5474eG+vs1EsUhttZeW/tqZ+zl3u54hit79bjDnD+gVArjHHcJhstVej66 vunXT0C4lPZ7AEgsJrJxt/yWopK6U9o0GOaGu8Lp43K3gp5AAXBlPZ+Ngs7RbeDZMQyAp6OVlDmj QcCChW4T7ePuaKRb8iMuAD3J2d0WGNDwiyw7lGO38xQLwFxA8umcc/StXyaa3HFRcOsut0iJME8Y GbpdPWSMTdDtUAg6dqKpLS183D8gaTDiK92I4MqOhXHnA5rTczBSAAmrC+yEIwil5SzI0IgMBArM byFHC5tWMMJtAttkefAJpAvqwDPF67hoQg/YGQGA85nII1uiINH9CawLpYsbwUT8wLmGq0XxxUoI pxhh+XoyzpzQgtr3LOwG8Rt9hEcqovv9CV1DFgZuduCsUuxrsYRfALdk6M5ohqgiqNiCisRuYxr+ AOjlmJ8v1+jDyG6SBDe5x4vzXwx6NGv7AwSJwzStgpsjAAAAAElFTkSuQmCC X-Now-Playing: Maps and Diagrams's _Alluvium_: "Gneiss" X-Hashcash: 1:23:141128:emacs-devel@gnu.org::icpjcq3xoJ6VbYGc:0000000000000000000000000000000000000000005hRD In-Reply-To: <87k32f4loc.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 28 Nov 2014 06:19:31 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1XuM43-00076F-RY MailScanner-NULL-Check: 1417787909.87958@pTN+pbU5v4Yg13ifEtjKdA 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:178413 Archived-At: Ted Zlatanov writes: > My uni-confusables package in the GNU ELPA would help detect things like > =D0=B1 (CYRILLIC SMALL LETTER BE) confused with the number 6. The releva= nt > line from confusables.txt is: > > 0431 ; 0036 ; SL # ( =D0=B1 =E2=86=92 6 ) CYRILLIC SMALL LETTER BE =E2=86= =92 DIGIT SIX # > > which maps to (1073 "6") in `uni-confusables-char-table-single'. EWW and > SHR could opportunistically use that table to highlight such characters. Yes, and perhaps use that to do a "are you sure?" if a user tries to visit https://=F0=9D=90=A9=F0=9D=90=9A=F0=9D=90=B2=F0=9D=90=A9=F0=9D=90=9A= =F0=9D=90=A5.com or https://=EF=BD=90=EF=BD=81=EF=BD=99=EF=BD=90=EF=BD=81= =EF=BD=8C=EF=BC=8Ecom.=20=20 But then uni-confusables should perhaps be moved from ELPA to Emacs so that we can use it generally? > I could also add RTL markers and other useful things to uni-confusables > if you think it's the right place, and maybe provide the function for > EWW and SHR and others to use when looking for suspicious characters. Or > I could keep the package to a single purpose. I'm not sure of the right > thing because this feels a little bit like core functionality. Yeah, I think the RTL stuff sounds kinda like a separate issue that's even more fundamental than the confusables, perhaps. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no