all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: finding the face of a popup
Date: Thu, 30 Aug 2007 08:26:50 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICMEDFDPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <878x7tig1j.fsf@lion.rapttech.com.au>

> > I believe that the description of a face given by placing point
> > over a field and typing C-u C-x = should tell you
> > the face of a popup that is triggered when the mouse is over that
> > field.
>
> I think the problem with that is that you are mixing up two different
> levels of the application. The popup/tooltip is a function of the mouse
> location. The  C-u C-x = describes what is around point and the
> tool tip is not really around point

1. See library facemenu+.el, which enhances standard library facemenu.el in
various ways.

In particular, it uses the mouse pointer position when Text Properties >
Describe Properties is accessed from the mouse popup menu ('C-mouse-2').

So, instead of using `C-x =', you can just point the mouse where you want,
use `C-mouse-2' to bring up the Text Properties menu, and choose menu item
Describe Properties. You'll see a description of the text properties at the
mouse pointer position (not the text cursor position).

http://www.emacswiki.org/cgi-bin/wiki/FaceMenuPlus#TextPropertiesMenu


2. However, this won't help with the problem raised by the OP, because Emacs
never lets the mouse pointer point to a tooltip: as soon as you move the
mouse toward the tooltip, the tooltip disappears. That's TRT.

I really think that there is no great solution to this, which I also don't
think is a big problem. If you know that a tooltip is called a "tooltip"
(and many users do nowadays), then you can use `apropos', as suggested. If
you don't know that, then you can use `list-faces-display', as suggested,
and check each face that looks like what is used for tooltips - there are
probably not 36 such faces.

  parent reply	other threads:[~2007-08-30 15:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-27 18:53 finding the face of a popup Allan Gottlieb
2007-08-27 19:14 ` John Paul Wallington
2007-08-27 19:50   ` Allan Gottlieb
     [not found]   ` <mailman.5416.1188244253.32220.help-gnu-emacs@gnu.org>
     [not found]     ` <87lkbwhur5.fsf@lion.rapttech.com.au>
     [not found]       ` <mailman.5457.1188311130.32220.help-gnu-emacs@gnu.org>
2007-08-29  8:55         ` Tim X
2007-08-29 14:22           ` Allan Gottlieb
2007-08-29 15:26             ` Peter Dyballa
2007-08-29 16:30               ` Allan Gottlieb
2007-08-29 18:29                 ` Peter Dyballa
2007-08-29 21:28                   ` Allan Gottlieb
     [not found]           ` <mailman.5504.1188397377.32220.help-gnu-emacs@gnu.org>
2007-08-30  8:26             ` Tim X
2007-08-30 11:57               ` Allan Gottlieb
2007-08-30 15:26               ` Drew Adams [this message]
     [not found]               ` <mailman.61.1188475058.18990.help-gnu-emacs@gnu.org>
2007-08-31  5:04                 ` Tim X
2007-08-31 22:38                   ` Allan Gottlieb

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=DNEMKBNJBGPAOPIJOOICMEDFDPAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@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.