From unknown Sun Aug 17 01:55:14 2025 X-Loop: help-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 Resent-From: dalanicolai Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 57087@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166007133513736 (code B ref -1); Tue, 09 Aug 2022 18:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2022 18:55:35 +0000 Received: from localhost ([127.0.0.1]:45028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUO7-0003ZU-74 for submit@debbugs.gnu.org; Tue, 09 Aug 2022 14:55:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:41634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLUO4-0003ZL-Sq for submit@debbugs.gnu.org; Tue, 09 Aug 2022 14:55:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUO2-0003wo-8l for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 14:55:32 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:40953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUNy-0002op-Bh for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 14:55:29 -0400 Received: by mail-wr1-x431.google.com with SMTP id l22so15314066wrz.7 for ; Tue, 09 Aug 2022 11:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=/fwF3KJ0SN32YyaZ/Tv7Lk357GQ3QNqnDK5LvhumuFk=; b=qWUJad+gwcnWkq6jCCHMyCXpM+H4Ju3QXinCoUhc+2Q7DS0/xwYA0hRwr6LT1C5pCv QJhF/2uSqffgSx5eG7wogNgKVnH9v63sFmlCAAIzUIpDITJp51nGX2kuXQVpwz8lFQK/ AqINSWtvKJdjwVJfJk8+chTmlyng0j3p3ImxK5z0U6hrXA7HuX6ZST+QjwxPU+B1TIYm PDl4p097OjMvUxJtcBAPO2RA3Qb1vtXuZfBEYUGE5JO601ix/iO6OWp2spf3fQjBMhov byDji5d4GktGjUgzPyMl4gz/XvUjlETqZCfeLfleJXU3M3Phyga4CTtU/m2s4O+WlDCy dz1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=/fwF3KJ0SN32YyaZ/Tv7Lk357GQ3QNqnDK5LvhumuFk=; b=lxYfR/W1eLku5nkc0/l8iNRTQMU0F1EUQQKKkrm5edNFJJbNmJH+gQqXLOmEbfD+Sh zR+UtscZis1bPzB3YT9OLvXsivrr4m9E9ncOUCQCypZ6qfxUECIMgzxv72sXXJOA65EH QZ6YYGzGuAIwvnIHmvsHH14VlmPKUmbB08s2zBHUTQoSgzjpyZHOj8285uInb9oNl7jD wP4J05KUUusSs/qIJUMjr1EjFEhbft8C//vBKdSxyMAkikaSqo+UMJE3Q7nWPjSkHUSq Xhjv9XKCNgh8Ot64jn6Y7qW+o7c5Jwo4U4YkYSxo41bncvYGddjAx3o7St7UK4v3Ov+a 0BDQ== X-Gm-Message-State: ACgBeo12vJz7BTBc4fQspb9rg2GL93hjPoHQKV1QTczFBQ3u4zX0uej8 M8qoS8ivjAR3YtqJH2KqohXJ2wHyWgXCCOtgemlRFZOdmXB4Jw== X-Google-Smtp-Source: AA6agR5Dgj01izeSTkfaP07CnMV7zdcTYpZJan/91ficPplrTU4SRe31W6eNdjX+f85D6Cai9g8gGU8pIk2cwUN+3dY= X-Received: by 2002:a5d:6d0d:0:b0:222:ca8c:b76f with SMTP id e13-20020a5d6d0d000000b00222ca8cb76fmr6874521wrq.686.1660071324427; Tue, 09 Aug 2022 11:55:24 -0700 (PDT) MIME-Version: 1.0 From: dalanicolai Date: Tue, 9 Aug 2022 20:55:13 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000009827ed05e5d379ce" Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=dalanicolai@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000009827ed05e5d379ce Content-Type: text/plain; charset="UTF-8" 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. When edebugging `face-at-point`, even though `hl-line-mode` is active, the function returns only the char its face (and not `hl-line`). In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-06-12 built on fedora Repository revision: c1829b307cffce046bec6fcbdff03dbab9f4b562 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Fedora Linux 36 (Workstation Edition) Configured using: 'configure --with-modules --with-cairo --with-native-compilation --with-json' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: hl-line-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug comp comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils hl-line vc-git diff-mode easy-mmode vc-dispatcher cl-loaddefs cl-lib seq gv subr-x byte-opt bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 89094 14677) (symbols 48 7738 0) (strings 32 21901 915) (string-bytes 1 769799) (vectors 16 16342) (vector-slots 8 317353 20223) (floats 8 30 95) (intervals 56 499 5) (buffers 992 15)) --0000000000009827ed05e5d379ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Open some elisp (.el) buffer, place the cursor on some fon= tified 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 doc= string says it should
return multiple faces.

When edebugging `fac= e-at-point`, even though `hl-line-mode` is active,
the function returns = only the char its face (and not `hl-line`).

In GNU Emacs 29.0.50 (bu= ild 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
= =C2=A0of 2022-06-12 built on fedora
Repository revision: c1829b307cffce0= 46bec6fcbdff03dbab9f4b562
Repository branch: master
Windowing system = distributor 'The X.Org Foundation', version 11.0.12014000
System= Description: Fedora Linux 36 (Workstation Edition)

Configured using= :
=C2=A0'configure --with-modules --with-cairo --with-native-compila= tion
=C2=A0--with-json'

Configured features:
ACL CAIRO DBU= S FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX L= IBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND= SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM
XINPUT2 XPM GTK3 = ZLIB

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
= =C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf= -8-unix

Major mode: ELisp/d

Minor modes in effect:
=C2=A0 = hl-line-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-inden= t-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2= =A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-fo= nt-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t<= br>=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 trans= ient-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encrypt= ion-mode: t
=C2=A0 auto-compression-mode: t

Load-path shadows:None found.

Features:
(shadow sort mail-extr emacsbug comp comp-= cstr warnings rx cl-seq
cl-macs cl-extra help-mode message mailcap yank-= media rmc puny dired
dired-loaddefs rfc822 mml mml-sec password-cache ep= a derived epg rfc6068
epg-config gnus-util text-property-search time-dat= e mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils = mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-u= tils hl-line vc-git
diff-mode easy-mmode vc-dispatcher cl-loaddefs cl-li= b seq gv subr-x
byte-opt bytecomp byte-compile cconv iso-transl tooltip = eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-= mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset = image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp= -mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easym= enu
timer select scroll-bar mouse jit-lock font-lock syntax font-coreterm/tty-colors frame minibuffer nadvice simple cl-generic indonesian
p= hilippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai= -viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak = czech european ethiopic indian cyrillic chinese composite
emoji-zwj char= script charprop case-table epa-hook jka-cmpr-hook help
abbrev obarray oc= losure cl-preloaded button loaddefs faces cus-face
macroexp files window= text-properties overlay sha1 md5 base64 format env
code-pages mule cust= om widget keymap hashtable-print-readable backquote
threads dbusbind ino= tify dynamic-setting system-font-setting
font-render-setting cairo move-= toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-co= mpile emacs)

Memory information:
((conses 16 89094 14677)
=C2= =A0(symbols 48 7738 0)
=C2=A0(strings 32 21901 915)
=C2=A0(string-byt= es 1 769799)
=C2=A0(vectors 16 16342)
=C2=A0(vector-slots 8 317353 20= 223)
=C2=A0(floats 8 30 95)
=C2=A0(intervals 56 499 5)
=C2=A0(buff= ers 992 15))


--0000000000009827ed05e5d379ce-- From unknown Sun Aug 17 01:55:14 2025 X-Loop: help-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 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 X-GNU-PR-Keywords: To: dalanicolai Cc: 57087@debbugs.gnu.org Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.166007286924663 (code B ref 57087); Tue, 09 Aug 2022 19:22:01 +0000 Received: (at 57087) by debbugs.gnu.org; 9 Aug 2022 19:21:09 +0000 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 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 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==; 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 Date: Tue, 09 Aug 2022 22:20:48 +0300 Message-Id: <83sfm5rzov.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from dalanicolai on Tue, 9 Aug 2022 20:55:13 +0200) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From unknown Sun Aug 17 01:55:14 2025 X-Loop: help-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 Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 19:36: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 To: Eli Zaretskii Cc: 57087@debbugs.gnu.org, dalanicolai Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.16600737542000 (code B ref 57087); Tue, 09 Aug 2022 19:36:02 +0000 Received: (at 57087) by debbugs.gnu.org; 9 Aug 2022 19:35:54 +0000 Received: from localhost ([127.0.0.1]:45122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLV18-0000WB-1g for submit@debbugs.gnu.org; Tue, 09 Aug 2022 15:35:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLV0r-0000VU-Tj for 57087@debbugs.gnu.org; Tue, 09 Aug 2022 15:35:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TtprMdGyDTG3OV4yK5doLYPhXb1xc/XVZ56UnueXsXU=; b=hov+zdDXqYtN9pDHXorXOnAOIX rTs0Dv9/THPvUxEm0p/HVSdJWghqwkl2ws0EcSl7CXIgsNQ38waQ/LaNozcXafCcci2wCXS4bOzLC Z/5rA7MAt9yY3vqS58Ixb8zku7tVanPW+I0UjmhOqR6Rpyoq0OGJgRYcqZRM5+tWDELw=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oLV0j-00078W-Au; Tue, 09 Aug 2022 21:35:31 +0200 From: Lars Ingebrigtsen In-Reply-To: <83sfm5rzov.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Aug 2022 22:20:48 +0300") References: <83sfm5rzov.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWajlz8/PzZ2M/C uaBAQSr///9ospQpAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YICRMHIsXwnH4AAAGrSURBVDjLdZIL koMgEER7ZQ6wshdI8AIoHGBqnfufaXsQ0aSyVMWMPrrnA/iaPy88/wNp+4yQn3NM6QP4neNSPqgw zZEKB/E9eSxNEZfnG5jn9iWWcCMPeOo1cXfMCON7rBjxggGecc5Xgw8z7ZHKdOv826wnqcYQ6wky FQcQE7NLwZedWfleuMewnHVIyxHXuLYYpUsW7tJ1XtKDTwfd14syLcu2QL6+3Up78T8OUp4IptqA TmdRpkvh2mAO+JvSUZTpJmwf0oDyHZyuy/eEUlLpQFRMw1bBZ9ZEcgBrfzu4FEU5yk3OHGa0hkAU nv4FtNh7ryL7DZi2mMnY4VBoB0eBrPdSZL1k57qscCRSeQH8EGjCLvcBToO9KiTcFCdQEWQWVt+t oNVr8hG6HcxOrZsAue8eCo7Lh3nUxj0XYA7jtNB0dL43pZwV/Fblu9Xh0M5PVL1cGbUz2jX7AXQF A4+zMgWvidaXPsxqmApCzs1jgN1dFdkHwDs1AMtr10a4AcW39LYnpkFV77OELGEAP72WVN2r7C8N jhPUgg7a8BVnP35rGtBx6APZH0vtuUMFU9m/AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA4LTA5 VDE5OjA3OjM0KzAwOjAwdJBvPgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOC0wOVQxOTowNzoz NCswMDowMAXN14IAAAAASUVORK5CYII= X-Now-Playing: Hood's _Outside Closer_: "Still Rain Fell" Date: Tue, 09 Aug 2022 21:35:25 +0200 Message-ID: <87a68dtdky.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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: --- face-at-point is a byte-compiled Lisp function in faces.el. (face-at-point &optional THING MULTIPLE) Return the face of the character after point. If it has more than one face, return the first one. If THING is non-nil try first to get a face name from the buffer. IF MULTIPLE is non-nil, return a list of all faces. Return nil if there is no face. --- 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. From unknown Sun Aug 17 01:55:14 2025 X-Loop: help-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 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 To: Lars Ingebrigtsen Cc: 57087@debbugs.gnu.org, dalanicolai@gmail.com Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.16600985318652 (code B ref 57087); Wed, 10 Aug 2022 02:29:02 +0000 Received: (at 57087) by debbugs.gnu.org; 10 Aug 2022 02:28:51 +0000 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 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 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==; 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 Date: Wed, 10 Aug 2022 05:28:33 +0300 Message-Id: <83lerwsuge.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87a68dtdky.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Aug 2022 21:35:25 +0200) References: <83sfm5rzov.fsf@gnu.org> <87a68dtdky.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sun Aug 17 01:55:14 2025 X-Loop: help-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 Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2022 13:56: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 To: Eli Zaretskii Cc: 57087@debbugs.gnu.org, dalanicolai@gmail.com Received: via spool by 57087-submit@debbugs.gnu.org id=B57087.166031255230270 (code B ref 57087); Fri, 12 Aug 2022 13:56:02 +0000 Received: (at 57087) by debbugs.gnu.org; 12 Aug 2022 13:55:52 +0000 Received: from localhost ([127.0.0.1]:57772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMV8h-0007rg-Ku for submit@debbugs.gnu.org; Fri, 12 Aug 2022 09:55:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMV8f-0007iV-6S for 57087@debbugs.gnu.org; Fri, 12 Aug 2022 09:55:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SWNna/p2wwU5zF2yfDDtT9YeFjN9N7tBqQ7nnJIJ2WI=; b=poO6b6yzDd8QTGE8hmiYJv1MyT bpUO8jQDE8XkPEm5cdf8D7j6IbNhggPcepDtjqGvZBOmCsWKQvixYDyw/O5KgEt20BZE0bFayTnrv fd2PR3fRywI60Xe4UTBR0x8DMisAOJpyFj1gIW2oRz+eZgHhd8CCpMibKu4ET5sej9oI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oMV8V-0005aM-NA; Fri, 12 Aug 2022 15:55:41 +0200 From: Lars Ingebrigtsen In-Reply-To: <83lerwsuge.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Aug 2022 05:28:33 +0300") References: <83sfm5rzov.fsf@gnu.org> <87a68dtdky.fsf@gnus.org> <83lerwsuge.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVnUFUvICeQdnHI sqnu2c3////L8581AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YIDA0dJcrfjU4AAAGJSURBVDjLfZKL bcMwDEQppgOQnkChPUAgaYCg8v4z9SjabtKqJZAP9HT8nEhEQsTGbLXW9kkROeNrxUFvdffoBbiu hZjotk+iAGwz0JGpzcCeSebgcYJeW40IYLTsLwA9tStVnxbPtEwBBp0XB0jNC7xFzJEweeekKiLw zD3a/IS8rZo1QthsmOSTywUEOgL5CHAqht1JxWyLGuCVcJ3SQKrWRg3dvLlDEI+2taFw7iBzJgOg sl22u4Izk7louW9uLtEewBgawhjyAjxVRqeCFuh2bwE8FboEIJ+D6wMnzwvEIA5KflPgSJKnksQB 0gkw4ZKg0QOMriIVWnNvcov38Mnv+h1yAnhVXsGSoyvFTynjaoAbHe16jVrSpbDRp/g77SXz9Yha wr0DEK85RPI4Ujn4ZPi6WoraNF6I1E3EHd+bYmZrsXaB6cLpdBP7X4r9H4VbMkq349NPsP0A9d/i TxkPNQFnqgmYpoLZlNa1ZIVZ5lbUbIyd8P3SX+GbrYnG5vh/lBOhM9IXU2e7LX3c0uYAAAAldEVY dGRhdGU6Y3JlYXRlADIwMjItMDgtMTJUMTM6Mjk6MzcrMDA6MDDk/3oJAAAAJXRFWHRkYXRlOm1v ZGlmeQAyMDIyLTA4LTEyVDEzOjI5OjM3KzAwOjAwlaLCtQAAAABJRU5ErkJggg== X-Now-Playing: Two Nice Girls's _Chloe Liked Olivia_: "Noona's Revenge" Date: Fri, 12 Aug 2022 15:55:35 +0200 Message-ID: <87zgg9pnvs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > 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 informatio [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > 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. Yup. And `thing' is an unfortunate argument name, since people might interpret that as the face property should be gotten from that thing (as with get-text-property and friends with `object'). >> 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. Yes, I think perhaps adding a new function like that might make more sense, because `face-at-point' seems like a very DWIM-ish function with unclear semantics (like preferring the `read-face-name' over `face' property, etc). So I've now just explained this in the doc string. I think the function is basically fine as is -- it works well as a prompt default function. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 09:56:02 2022 Received: (at control) by debbugs.gnu.org; 12 Aug 2022 13:56:02 +0000 Received: from localhost ([127.0.0.1]:58490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMV8s-00083a-3o for submit@debbugs.gnu.org; Fri, 12 Aug 2022 09:56:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMV8q-0007zl-Vh for control@debbugs.gnu.org; Fri, 12 Aug 2022 09:56:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6MpTlzixRhDYlqMuqGAEeNqJeoUfcirDTBzq87RFtoU=; b=ZCIcY9Qy4wYzfTPTnlHDZwcEzt 68se0dQT/sATd81KxVThX3G89r3/o7oeNdEwLx/6/cG2aZmqLHu3T8hifceLABWOmZAjlyvvw3BI9 6zy70VLwOa9GJpzjWHwsrz3i5ZQN8C3r9yMpA5XA6ITQzKjTt2ypU+hTZgzEXsGV1JHE=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oMV8j-0005aZ-2i for control@debbugs.gnu.org; Fri, 12 Aug 2022 15:55:55 +0200 Date: Fri, 12 Aug 2022 15:55:50 +0200 Message-Id: <87y1vtpnvd.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57087 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 57087 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 57087 29.1 quit