From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83sfm5rzov.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34036"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57087@debbugs.gnu.org To: dalanicolai Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 09 21:26:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oLUrz-0008e0-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 21:26:27 +0200 Original-Received: from localhost ([::1]:43472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLUry-00049e-Nq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 15:26:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUni-00077x-GY for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 15:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUni-00074A-7Z for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 15:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLUnh-0006Qw-W8 for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 15:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57087 X-GNU-PR-Package: emacs Original-Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.166007286924663 (code B ref 57087); Tue, 09 Aug 2022 19:22:01 +0000 Original-Received: (at 57087) by debbugs.gnu.org; 9 Aug 2022 19:21:09 +0000 Original-Received: from localhost ([127.0.0.1]:45084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUmq-0006Pj-TW for submit@debbugs.gnu.org; Tue, 09 Aug 2022 15:21:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUmn-0006Op-9V; Tue, 09 Aug 2022 15:21:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUmh-0006wZ-UT; Tue, 09 Aug 2022 15:20:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JUltR0YO5xWcamklMJjpSNjE/YQKdt92bR0+8WePZVc=; b=YIU7ZZadyeT6 ofRttXEeFqnOUz3DMxFluyHe1rnfPtFDzQc9MSiN/rnWDdfcEwyqFmYfQ2eb30D4mS8rDL5uU86Y6 GtoP3heY69U1+TTe69pwozN4dTAuH+YN1MS9PEkSOr0v5dTkra5BCsfx6ncLPheU4ItJCyLp36IFV aahEKTMNR02VZN6WoFU1y75sboXqs5VmGtGXGTVYhW+AvB7oNd91CsMcwVQZRhaUfiPxNby1XiwyK xp9JZTmmySwwsjXr8PhjKk4Eh1XE1GyYLJD4ZSCI93Ibr+cfC4i6ZHbZfokCNylgx0FVhw4OQS+6Y WjMYcnQWfYMxWhQlvtvytw==; Original-Received: from [87.69.77.57] (port=3681 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUmh-0005c2-E3; Tue, 09 Aug 2022 15:20:59 -0400 In-Reply-To: (message from dalanicolai on Tue, 9 Aug 2022 20:55:13 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239215 Archived-At: tags 57087 notabug thanks > From: dalanicolai > 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.