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: Wed, 10 Aug 2022 05:28:33 +0300 Message-ID: <83lerwsuge.fsf@gnu.org> References: <83sfm5rzov.fsf@gnu.org> <87a68dtdky.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57087@debbugs.gnu.org, dalanicolai@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 10 04:29:13 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 1oLbT6-000A42-Og for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 04:29:12 +0200 Original-Received: from localhost ([::1]:33990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLbT5-000813-PV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 22:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLbSw-00080k-Rh for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 22:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLbSw-0001ET-J5 for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 22:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLbSw-0002G9-Ex for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 22:29: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: Wed, 10 Aug 2022 02:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.16600985318652 (code B ref 57087); Wed, 10 Aug 2022 02:29:02 +0000 Original-Received: (at 57087) by debbugs.gnu.org; 10 Aug 2022 02:28:51 +0000 Original-Received: from localhost ([127.0.0.1]:45604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLbSk-0002FU-Pv for submit@debbugs.gnu.org; Tue, 09 Aug 2022 22:28:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLbSi-0002FE-SK for 57087@debbugs.gnu.org; Tue, 09 Aug 2022 22:28:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLbSd-0001C6-C1; Tue, 09 Aug 2022 22:28:43 -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=y+XEAXhnLtXjDgB5grSkIr76xc6+nAxNodpDPWiQpHk=; b=ZnIcIC36kKko vTDIQyTjJBETq12d351ihL9/qr1JkzGdTmIUNZ/SIXRBtdd0f0TcrXgQgIjy4mSvD4l7SfLS2F8U7 nF3mX8AxmeArtSehrjaaVjTOAxH1Pcn+vlfApVQuuWOeNHnR9P2ENJ/XmDplEcQVrsNjDM4edZ9wz Y/XuaSFXJ3LoAuCoWDKdgS6N7d6oW0ciWR7RdxKBKRiSLaZ+zLEkx891X4AuiyNHAVfMJEauCAflD goUKdtd7RJ7wxofoqEIZOu0BIvEE1YDHm/ihX4ONopET6et0v0BVgYLBZ9pouduAOn/sNlG3PX0eJ 1rH0c/nmsoKohnV3mg6ZpA==; Original-Received: from [87.69.77.57] (port=1845 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 1oLbSc-00057O-QN; Tue, 09 Aug 2022 22:28:43 -0400 In-Reply-To: <87a68dtdky.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Aug 2022 21:35:25 +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:239236 Archived-At: > From: Lars Ingebrigtsen > Cc: dalanicolai , 57087@debbugs.gnu.org > Date: Tue, 09 Aug 2022 21:35:25 +0200 > > Eli Zaretskii writes: > > > 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. > > Then I think this doc string needs clarification, at least: Yes, probably. However, "return the first one" doesn't tell which one this would be. Also "character has more than one face" is inaccurate, we should say "more than one source of face information" or somesuch. > I think it sounds like it would be more useful if it did indeed return > all the faces at point instead of just the face(s) from either the > overlay or the face(s) from the text property. AFAICT, there's only one user of MULTIPLE, and that is org.el, so we should ask them what they expect. There's always a possibility to add a new function, say faces-at-point.