[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face at point
From: |
Miles Bader |
Subject: |
Re: face at point |
Date: |
15 Nov 2002 13:24:53 +0900 |
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?
(defun what-face (pos)
(interactive "d")
(let ((face (or (get-char-property (point) 'read-face-name)
(get-char-property (point) 'face))))
(if face (message "Face: %s" face) (message "No face at %d" pos))))
-Miles
--
97% of everything is grunge
- face at point, John Hunter, 2002/11/14
- Re: face at point, Jesper Harder, 2002/11/14
- Re: face at point, John Hunter, 2002/11/14
- Re: face at point, Jesper Harder, 2002/11/14
- Re: face at point, Oliver Scholz, 2002/11/15
- Re: face at point, Jesper Harder, 2002/11/15
- Re: face at point, Jesper Harder, 2002/11/15
- Re: face at point, Oliver Scholz, 2002/11/15
- Re: face at point, Kai Großjohann, 2002/11/16
Re: face at point,
Miles Bader <=
Message not available
Message not available
Re: face at point, Tim Cross, 2002/11/17
- Re: face at point, Miles Bader, 2002/11/17
- Re: face at point, Tim Cross, 2002/11/18
- Re: face at point, Miles Bader, 2002/11/18
- Message not available
- Re: face at point, Fredrik Staxeng, 2002/11/18
- Re: face at point, Oliver Scholz, 2002/11/18
- Re: face at point, Fredrik Staxeng, 2002/11/18
- Re: face at point, Eli Zaretskii, 2002/11/18