help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

describe all faces at point?


From: Sam Steingold
Subject: describe all faces at point?
Date: Fri, 23 Sep 2022 10:50:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

Hi,
When I do `M-x describe-face`, the default face is, according to the doc,
> "the faces of the character after point"

However, looking at the `*Fancy Diary Entries*` buffer, I see many
different colors, and `M-x describe-face` offers the `diary-button` as
the default for _some_ characters that have _different_ colors (and the
`sample` in the `*Help*` buffer for one of them does _not_ match its
appearance).

Moreover, `(get-char-property (point) 'face)` returns `diary-button` for
both of those characters and `(face-at-point nil t)` returns
`(diary-button)` for them too.

So, how come two characters in the same buffer have different colors but
the same faces?

(see also https://emacs.stackexchange.com/q/73791/795)
-- 
Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113
https://lastingimpactpsychology.com https://steingoldpsychology.com
https://fairforall.org https://www.peaceandtolerance.org/
Who is General Failure and why is he reading my hard disk?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]