From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: highlighting non-ASCII characters (was: Translation of http statuscode to text) Date: Tue, 23 Mar 2010 09:50:10 -0700 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269363198 22871 80.91.229.12 (23 Mar 2010 16:53:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 16:53:18 +0000 (UTC) To: "'Ted Zlatanov'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 23 17:53:14 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 1Nu7Lt-0007hd-OJ for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 17:53:14 +0100 Original-Received: from localhost ([127.0.0.1]:54760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu7Lt-0002ve-AD for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 12:53:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu7Kh-0002Yq-7D for emacs-devel@gnu.org; Tue, 23 Mar 2010 12:51:59 -0400 Original-Received: from [140.186.70.92] (port=33014 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu7Kf-0002Xf-9x for emacs-devel@gnu.org; Tue, 23 Mar 2010 12:51:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nu7Kb-0007OG-RM for emacs-devel@gnu.org; Tue, 23 Mar 2010 12:51:57 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:22164) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu7Kb-0007Nw-LK for emacs-devel@gnu.org; Tue, 23 Mar 2010 12:51:53 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2NGpoOt025616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Mar 2010 16:51:52 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2NGpnH8022279; Tue, 23 Mar 2010 16:51:49 GMT Original-Received: from abhmt007.oracle.com by acsmt355.oracle.com with ESMTP id 104147831269363010; Tue, 23 Mar 2010 09:50:10 -0700 Original-Received: from dradamslap1 (/10.175.204.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Mar 2010 09:50:10 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8739zryv6l.fsf_-_@lifelogs.com> Thread-Index: AcrKplYEhNnWQgtrTJysdXcD8yiVjAAALzpg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4BA8F1A6.007B:SCFMA4539814,ss=1,fgs=0 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:122561 Archived-At: > JL> Maybe `escape-glyph' is a relevant face? > > I don't think it applies to non-ASCII by default, at least > for me it doesn't.... Also it would be good if the effect > did not interfere with other faces I agree. `escape-glyph' is designed for a different use. Its intended use is given by its doc string, and it is very precise and clear: "Face for characters displayed as sequences using `^' or `\'. In my case, I customize `escape-glyph' to be something very noticeable (orange background, with blue foreground and 1-pixel blue box). I want to see something like ^G really stand out. I don't want to see non-ascii chars handled the same way. It is a too-common mistake, IMO, to try too hard to reuse existing faces. It complicates use (including customization) of those faces if they end up signifying a collection of disparate things. We should have the reflex, when tempted to reuse a face, to think twice. In general, just say no to such y-a-qu'a impulses. ;-)