Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Chris Green <cmg@snort.org>
Subject: Re: face at point
Date: Sun, 17 Nov 2002 15:03:41 -0500	[thread overview]
Message-ID: <m34rag0xr6.fsf@radon.sourcefire.com> (raw)
In-Reply-To: <m2isyzegeh.fsf@mother.paradise.lost>

John Hunter <jdhunter@nitace.bsd.uchicago.edu> writes:
>
> Ie, how do I find out what face is responsible for a given segment of
> text in a given mode?
>

A long time ago, I found this is dejanews or reading one of the emacs
groups.  Put it in your .emacs, put your cusor where you care about,
and it will tell you want you want :)


;; Useful Function
(defun describe-face-at-point ()
  "Give the name of the faces at point."
  (interactive)
  (message (prin1-to-string (extent-face (extent-at (point) 
						    (current-buffer) 
						    'face)))))
-- 
Chris Green <cmg@sourcefire.com>
You now have 14 minutes to reach minimum safe distance.


       reply	other threads:[~2002-11-17 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2isyzegeh.fsf@mother.paradise.lost>
2002-11-17 20:03 ` Chris Green [this message]
     [not found] ` <87heejgs65.fsf@millingtons.org>
     [not found]   ` <m3vg2xpyfv.fsf@mandala.local>
     [not found]     ` <87adk94t98.fsf@millingtons.org>
2002-11-19 19:35       ` Jhair Tocancipa Triana
2002-11-22 14:27         ` Kester Clegg

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=m34rag0xr6.fsf@radon.sourcefire.com \
    --to=cmg@snort.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).