From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: display-supports-face-attributes-p bug? Date: Thu, 09 Jun 2005 22:38:30 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118371101 24533 80.91.229.2 (10 Jun 2005 02:38:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Jun 2005 02:38:21 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 10 04:38:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgZPF-0006Dn-Rn for ged-emacs-devel@m.gmane.org; Fri, 10 Jun 2005 04:38:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgZWI-00052i-9R for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 22:45:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DgZVh-0004sL-Ni for emacs-devel@gnu.org; Thu, 09 Jun 2005 22:44:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DgZVe-0004pH-NY for emacs-devel@gnu.org; Thu, 09 Jun 2005 22:44:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgZVe-0004mJ-Ax for emacs-devel@gnu.org; Thu, 09 Jun 2005 22:44:38 -0400 Original-Received: from [64.240.156.239] (helo=ore.jhcloos.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DgZQK-0000kf-Pl; Thu, 09 Jun 2005 22:39:09 -0400 Original-Received: from lugabout.jhcloos.org (host-69-48-12-106.roc.choiceone.net [69.48.12.106]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "lugabout.jhcloos.org", Issuer "ca.jhcloos.com" (verified OK)) by ore.jhcloos.com (Postfix) with ESMTP id 8190C1D05D; Thu, 9 Jun 2005 21:38:38 -0500 (CDT) Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 740874D42FD; Fri, 10 Jun 2005 02:38:31 +0000 (GMT) Original-To: snogglethorpe@gmail.com In-Reply-To: (Miles Bader's message of "Fri, 10 Jun 2005 11:20:37 +0900") X-Hashcash: 1:21:050610:snogglethorpe@gmail.com::ivmJVaCmXber5l3o:000000000000000000000000000000000000006Qhp X-Hashcash: 1:21:050610:miles@gnu.org::hWd8RgJb0aZNcfK/:00007LpE X-Hashcash: 1:21:050610:rms@gnu.org::VloC8QDP6z3SssKi:0000000zwk X-Hashcash: 1:21:050610:eliz@gnu.org::A7rU+TxPfQbcilQe:000004n3p X-Hashcash: 1:21:050610:emacs-devel@gnu.org::wzTQm825/AAzMr9t:0000000000000000000000000000000000000000000Roy Original-Lines: 34 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:38487 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38487 >>>>> "Miles" == Miles Bader writes: Miles> If it's impossible to tell whether there's correct underlining Miles> support, it seems safer to assume there's not -- or at the Miles> least don't _advertise_ that there is. In other words, Miles> probably the right thing to do is still emit Miles> enter/exit-underlining escape codes for underlined faces, but Miles> have `display-supports-face-attribute-p' return nil for the Miles> :underline attribute. Sounds like a most reasonable compromise. Miles> It also seems reasonable to base the default Emacs behavior on Miles> the current state of the most popular platform, in cases where Miles> there's no way of distinguishing. Certainly. I just pointed out that things might change because there is a desire in lkml-land to move the vt100-ish part of the console from kernelspace to userspace, and that will likely result in emulation that is much more like xterm than anything else. And since xterm supports real underlining.... Miles> [Of course if we add a hack to override terminfo, it would also Miles> be good to have a way for the user to override that.] That would be cool. -JimC (I'll probably bow out of this thread now.) -- James H. Cloos, Jr.