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: face for non-ASCII characters (was: Translation of http status code to text) Date: Tue, 23 Mar 2010 09:26:20 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6hjxgfn.fsf_-_@lifelogs.com> References: <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269354686 19784 80.91.229.12 (23 Mar 2010 14:31:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 14:31:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 23 15:31:22 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 1Nu58B-00017F-6K for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 15:30:55 +0100 Original-Received: from localhost ([127.0.0.1]:49932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu58A-0008BI-Jf for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 10:30:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nu57U-0007vr-KM for emacs-devel@gnu.org; Tue, 23 Mar 2010 10:30:12 -0400 Original-Received: from [140.186.70.92] (port=46470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nu57T-0007vQ-B1 for emacs-devel@gnu.org; Tue, 23 Mar 2010 10:30:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nu57R-0002bY-Hj for emacs-devel@gnu.org; Tue, 23 Mar 2010 10:30:11 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52822) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu57R-0002bK-Ah for emacs-devel@gnu.org; Tue, 23 Mar 2010 10:30:09 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nu57K-0000NP-Vw for emacs-devel@gnu.org; Tue, 23 Mar 2010 15:30:02 +0100 Original-Received: from c-98-227-29-141.hsd1.il.comcast.net ([98.227.29.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2010 15:30:02 +0100 Original-Received: from tzz by c-98-227-29-141.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2010 15:30:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-98-227-29-141.hsd1.il.comcast.net 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:mCdvNnzGLSA6AsQMrYIieoqEI3o= 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:122550 Archived-At: On Tue, 23 Mar 2010 14:08:42 +0100 Lennart Borgman wrote: ... LB> (defface markchars-face LB> '((t (:underline "light blue"))) LB> "Face for `markchars-mode' char marking." LB> :group 'markchars) LB> (defconst markchars-keywords LB> `( LB> ("[[:nonascii:]]" LB> (0 (put-text-property (match-beginning 0) (match-end 0) LB> 'face 'markchars-face))) LB> )) This is what I was thinking of, and the effect should be subtle. The light blue underline is pretty good; it would be nice if it could be a choice between a few similarly well-chosen defaults (I'm hardly the one to provide them, though). I would make this an Emacs first-class option rather than an optional library. I think it's really useful. Ted