From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Wells Newsgroups: gmane.emacs.devel Subject: Re: tooltip frame uses (class mono) when processing defface specs Date: Thu, 20 Sep 2007 22:31:27 +0100 Message-ID: <86d4wd9g7k.fsf@macs.hw.ac.uk> References: <863axadi7d.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190323915 15876 80.91.229.12 (20 Sep 2007 21:31:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2007 21:31:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 20 23:31:44 2007 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.50) id 1IYTcX-0007Wv-Eb for ged-emacs-devel@m.gmane.org; Thu, 20 Sep 2007 23:31:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYTcV-0001iS-6h for ged-emacs-devel@m.gmane.org; Thu, 20 Sep 2007 17:31:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYTcP-0001hh-QK for emacs-devel@gnu.org; Thu, 20 Sep 2007 17:31:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYTcP-0001h5-49 for emacs-devel@gnu.org; Thu, 20 Sep 2007 17:31:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYTcO-0001gv-W8 for emacs-devel@gnu.org; Thu, 20 Sep 2007 17:31:29 -0400 Original-Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IYTcO-0004LW-F7 for emacs-devel@gnu.org; Thu, 20 Sep 2007 17:31:28 -0400 Original-Received: from selene.macs.hw.ac.uk ([137.195.27.40]:47640 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.51) id 1IYTcN-0008Ia-Bw for emacs-devel@gnu.org; Thu, 20 Sep 2007 22:31:27 +0100 Original-Received: (nullmailer pid 28685 invoked by uid 1001); Thu, 20 Sep 2007 21:31:27 -0000 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79407 Archived-At: Johan Bockg=C3=A5rd writes: > Joe Wells writes: > > > When processing defface specs, the tooltip frame uses alternatives > > that select the characteristic (class mono). Alternatives that > > select (class color) or (class grayscale) are not used. > > FWIW, (class mono) isn't selected either. > > This uses a yellow face: > > (defface bar > '((((class color)) (:foreground "red")) > (((class mono)) (:foreground "blue")) > (((class grayscale)) (:foreground "green")) > (t (:foreground "yellow"))) > "") > > (x-show-tip (propertize "hello" 'face 'bar)) Eeek! That's much worse than I suspected. I didn't test that because the documentation says every frame must belong to one of the three classes color, grayscale, or mono. It didn't occur to me that tooltip frames would violate that. I think this makes the issue more clearly a bug. --=20 Joe