[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face at point
From: |
Michael J Downes |
Subject: |
Re: face at point |
Date: |
15 Nov 2002 06:21:31 -0800 |
Miles Bader <miles@lsi.nec.co.jp> writes:
> (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))))
? I'm curious: How/who/when/why does a property 'read-face-name
ever get set?
The Emacs Lisp reference manual (2.8 for 21.2) has no index entry
for it:
"No `read-face-name' in index"
There is a function for it in faces.el, but the function seems to be for
interactively reading a face name from the user, and I didn't see
anything in the code that would make a text property out of it.
Grepping in share/emacs/21.2/lisp/*.el doesn't seem to turn up anything
more enlightening either.
- 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, 2002/11/14
Message not available
- Re: face at point,
Michael J Downes <=
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
- Message not available
- Re: face at point, Fredrik Staxeng, 2002/11/19