From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: highlighting non-ASCII characters Date: Tue, 30 Mar 2010 08:15:19 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vdcegdco.fsf@lifelogs.com> References: <6932BBFEB09A4BA09156ED7F598569CE@us.oracle.com> <87pr2uv8e1.fsf@lifelogs.com> <87aatyuj9s.fsf@lifelogs.com> <87pr2rj89j.fsf@lifelogs.com> <87ljdeke5k.fsf@lifelogs.com> <87eij3ht2c.fsf@lifelogs.com> <87aatqj0ti.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269954998 17200 80.91.229.12 (30 Mar 2010 13:16:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 13:16:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 30 15:16:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NwbJ1-0002QK-Qv for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 15:16:32 +0200 Original-Received: from localhost ([127.0.0.1]:44460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwbJ1-0008RG-09 for ged-emacs-devel@m.gmane.org; Tue, 30 Mar 2010 09:16:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwbIC-0008Gp-LI for emacs-devel@gnu.org; Tue, 30 Mar 2010 09:15:40 -0400 Original-Received: from [140.186.70.92] (port=49321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwbI9-0008Em-0h for emacs-devel@gnu.org; Tue, 30 Mar 2010 09:15:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwbI4-0005yo-U8 for emacs-devel@gnu.org; Tue, 30 Mar 2010 09:15:36 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:33613) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwbI4-0005y6-KG for emacs-devel@gnu.org; Tue, 30 Mar 2010 09:15:32 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NwbI2-0001ke-QL for emacs-devel@gnu.org; Tue, 30 Mar 2010 15:15:30 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Mar 2010 15:15:30 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Mar 2010 15:15:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:pyW+lSYVe15ncvRAVu1hjGosKJQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122906 Archived-At: On Mon, 29 Mar 2010 14:32:33 -0700 "Drew Adams" wrote: DA> The point was that besides multiple kinds of curly-quote characters that are DA> true homoglyphs (dunno if such exist; I'm assuming they do), There are definitely some funky quotes in Unicode so let's assume so. DA> it can also be useful to highlight a character (e.g. curly quote) DA> that is similar to but not identical to another character DA> (e.g. straight quote). OK, but can you say how it's useful in a specific example? In SQL, Perl, Java, Lisp, and TeX editing I would not need the *glyphs* highlighted because the mode would detect the mismatch, e.g. in Perl $result = `run command here[wrong backward quote here]; # comment here would highlight "comment here" as part of the command. IOW they are syntactically significant so a mismatch is not likely to go unnoticed anyway by the regular font-lock and the parser. In regular text it's legitimate to have any combination of quote marks so I don't see the benefit of looking for suspicious combinations. In domain names quote marks of any kind are suspicious :) Ted