all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Wells <jbw@macs.hw.ac.uk>
To: emacs-devel@gnu.org
Subject: Re: tooltip frame uses (class mono) when processing defface specs
Date: Thu, 20 Sep 2007 22:31:27 +0100	[thread overview]
Message-ID: <86d4wd9g7k.fsf@macs.hw.ac.uk> (raw)
In-Reply-To: yoijvea5gq6k.fsf@gamma02.me.chalmers.se

Johan Bockgård 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.

-- 
Joe

  reply	other threads:[~2007-09-20 21:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 11:10 tooltip frame uses (class mono) when processing defface specs Joe Wells
2007-09-19 11:23 ` Joe Wells
2007-09-20 16:35 ` Richard Stallman
2007-09-20 17:32   ` Joe Wells
2007-09-20 18:14 ` Johan Bockgård
2007-09-20 21:31   ` Joe Wells [this message]
2007-09-21 22:32   ` Richard Stallman
2007-09-29 16:11   ` Richard Stallman
2007-10-07 13:10   ` Richard Stallman
2007-10-07 16:42     ` John Paul Wallington
2007-10-08 18:10       ` Glenn Morris
2007-10-09  1:14       ` Richard Stallman
2007-10-12  1:26         ` Glenn Morris
2007-10-12 15:59           ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86d4wd9g7k.fsf@macs.hw.ac.uk \
    --to=jbw@macs.hw.ac.uk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.