unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: dalanicolai <dalanicolai@gmail.com>
Cc: 57087@debbugs.gnu.org
Subject: bug#57087: 29.0.50; (face-at-point nil t) does not return all faces when hl-line-mode is active
Date: Tue, 09 Aug 2022 22:20:48 +0300	[thread overview]
Message-ID: <83sfm5rzov.fsf@gnu.org> (raw)
In-Reply-To: <CACJP=3=D_W66=uyahB1bk481WFVEt=YMMoj9vKN1oWvVv1Oehg@mail.gmail.com> (message from dalanicolai on Tue, 9 Aug 2022 20:55:13 +0200)

tags 57087 notabug
thanks

> From: dalanicolai <dalanicolai@gmail.com>
> Date: Tue, 9 Aug 2022 20:55:13 +0200
> 
> Open some elisp (.el) buffer, place the cursor on some fontified keyword
> (e.g. 'defun') and do `M-: (face-at-point nil t)`. Now activate `(M-x)
> hl-line-mode` and again do `M-: (face-at-point nil t)`. The list shows
> only the `hl-line` face, while the function its docstring says it should
> return multiple faces.

This is a misunderstanding of what the doc string means when it says
"faces".  It doesn't mean that you should see more than one face in
the above situation.

This is not a bug, it's just that your expectations from what
face-at-point can do are incorrect.





  reply	other threads:[~2022-08-09 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 18:55 bug#57087: 29.0.50; (face-at-point nil t) does not return all faces when hl-line-mode is active dalanicolai
2022-08-09 19:20 ` Eli Zaretskii [this message]
2022-08-09 19:35   ` Lars Ingebrigtsen
2022-08-10  2:28     ` Eli Zaretskii
2022-08-12 13:55       ` Lars Ingebrigtsen

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=83sfm5rzov.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=57087@debbugs.gnu.org \
    --cc=dalanicolai@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).