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: highlighting non-ASCII characters Date: Tue, 23 Mar 2010 22:47:37 -0400 Message-ID: References: <87sk7vllgj.fsf@mail.jurta.org> <87hbo81onq.fsf@lifelogs.com> <87k4t4zb5l.fsf@lifelogs.com> <87r5ncxp4z.fsf@lifelogs.com> <87hbo8tf4i.fsf@turtle.gmx.de> <87hbo8xis5.fsf@lifelogs.com> <87aau0t7uy.fsf@turtle.gmx.de> <87sk7svyam.fsf@lifelogs.com> <87vdcngws4.fsf@mail.jurta.org> <8739zryv6l.fsf_-_@lifelogs.com> <6932BBFEB09A4BA09156ED7F598569CE@us.oracle.com> <87pr2uv8e1.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 1269398901 14686 80.91.229.12 (24 Mar 2010 02:48:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2010 02:48:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 24 03:48:11 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 1NuGdU-0003ue-9i for ged-emacs-devel@m.gmane.org; Wed, 24 Mar 2010 03:48:00 +0100 Original-Received: from localhost ([127.0.0.1]:39216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuGdT-00076y-I9 for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 22:47:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuGdP-00076N-6d for emacs-devel@gnu.org; Tue, 23 Mar 2010 22:47:55 -0400 Original-Received: from [140.186.70.92] (port=55490 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuGdN-00075f-1j for emacs-devel@gnu.org; Tue, 23 Mar 2010 22:47:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuGdL-000662-O8 for emacs-devel@gnu.org; Tue, 23 Mar 2010 22:47:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:37774 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuGdL-00065n-Lu for emacs-devel@gnu.org; Tue, 23 Mar 2010 22:47:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHoaqUvO+IPa/2dsb2JhbACbJnS+UYJXgiYEixk X-IronPort-AV: E=Sophos;i="4.51,298,1267419600"; d="scan'208";a="58935419" Original-Received: from 206-248-131-218.dsl.teksavvy.com (HELO ceviche.home) ([206.248.131.218]) by ironport2-out.pppoe.ca with ESMTP; 23 Mar 2010 22:47:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3E051660BF; Tue, 23 Mar 2010 22:47:37 -0400 (EDT) In-Reply-To: <87pr2uv8e1.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 23 Mar 2010 20:03:02 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:122587 Archived-At: > show-nonascii-characters: t, 'majority-paragraph, majority-line, > 'minority-line, 'minority-paragraph, > 'suspicious, a function, or nil (default) The name is wrong, I think: I'd probably want to highlight ASCII chars that are out of place, just as with non-ASCII chars. Also, I'm not sure if proportion compared to total text (or line) is a good metric to decide whether it's suspicious. I don't have much better to suggest, tho. Stefan