unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sam Steingold <sds@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: describe all faces at point?
Date: Fri, 23 Sep 2022 10:50:41 -0400	[thread overview]
Message-ID: <lz7d1uta9q.fsf@3c22fb11fdab.ant.amazon.com> (raw)

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	other threads:[~2022-09-23 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 14:50 Sam Steingold [this message]
2022-09-23 15:01 ` describe all faces at point? Emanuel Berg
2022-09-23 16:05 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lz7d1uta9q.fsf@3c22fb11fdab.ant.amazon.com \
    --to=sds@gnu.org \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).