From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [Marcus.Brinkmann@ruhr-uni-bochum.de: fonts on terminal?] Date: 11 Sep 2002 13:17:55 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20020911035340.GK474@212.23.136.22> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031718039 20008 127.0.0.1 (11 Sep 2002 04:20:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2002 04:20:39 +0000 (UTC) Cc: rms@gnu.org, eliz@is.elta.co.il, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oyzW-0005Ca-00 for ; Wed, 11 Sep 2002 06:20:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ozaF-0007zu-00 for ; Wed, 11 Sep 2002 06:58:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oyzW-00041M-00; Wed, 11 Sep 2002 00:20:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17oyxu-0003r1-00 for emacs-devel@gnu.org; Wed, 11 Sep 2002 00:18:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17oyxs-0003qp-00 for emacs-devel@gnu.org; Wed, 11 Sep 2002 00:18:57 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oyxr-0003qj-00; Wed, 11 Sep 2002 00:18:55 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g8B4Ij418905; Wed, 11 Sep 2002 13:18:45 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g8B4HvI09174; Wed, 11 Sep 2002 13:18:41 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g8B4Hvh23908; Wed, 11 Sep 2002 13:17:57 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g8B4Hus01374; Wed, 11 Sep 2002 13:17:56 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 1222B3723; Wed, 11 Sep 2002 13:17:56 +0900 (JST) Original-To: Marcus Brinkmann System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <20020911035340.GK474@212.23.136.22> Original-Lines: 28 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7840 Marcus Brinkmann writes: > Yeah, I am sorry, that sentence was never spelled out in its entirety. It > should say: "supporting alternative (italics, bold) faces for font lock mode > in the term bottom handler of emacs", ie the part that translates abstract > descriptions to actual terminal escape sequences to produce the corresponding > face. Right, that part's simple. One problem is that emacs allows faces to have `device dependent' definitions, for cases where the most general definition isn't emulated well. A fair number of emacs' standard faces have `tty-specific' definitions, and some of these might assume that ttys never have italic (bold's probably not a problem, since ttys already sort-of support bold via intensity). I recently added capability-testing support (the `supports' clause) to the face code so any faces that make that assumption about ttys could be changed to directly test for italic support instead. [In general I think the above isn't really a problem, since most `tty-dependent' face definitions actually care about the color depth (though this is another thing that should be changed to use a capability-testing model instead).] -Miles -- 97% of everything is grunge