How to determine what face is associated with a bit of text?
seanm at seanm.ca
Mon Apr 7 17:51:00 EDT 2008
On Tue, 08 Apr 2008 05:18:04 +0900
"Stephen J. Turnbull" <stephen at xemacs.org> wrote:
> I have a more general facility I call introspector, which pops up a
> tooltip describing practically anything you could want to know about
> buffer point, and is bound to a keystroke (by default C-h =).
> Extension to a mouse binding like Jeff's is trivial, just bind
> `introspect-cursor-position' instead of d-f-a-m-p in the above.
> (Extensions like a hovering tooltip that follows mouse are conceivable
> but not high priority unless somebody asks for them with a plausible
> use case.) It's packaged as an XEmacs package, just drop it in your
> system site-packages or in ~/.xemacs/xemacs-packages or
> ~/.xemacs/site-packages, and add `(require 'introspector)' to your
> init file. (This last requirement will become unnecessary in the
> future, but to create a default keybinding is invasive.)
I just tried this, very nice. Why isn't this a stock package?
More information about the XEmacs-Beta