From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai 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, 9 Aug 2022 20:55:13 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009827ed05e5d379ce" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15841"; mail-complaints-to="usenet@ciao.gmane.io" To: 57087@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 09 21:06:43 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 1oLUYs-0003x9-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 21:06:42 +0200 Original-Received: from localhost ([::1]:42132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLUYr-0000EW-Dv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 15:06:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLUOk-00050i-5a for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 14:56:14 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLUOY-0002sp-Fy for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 14:56:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLUOY-0003aB-Bw for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 14:56:02 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166007133513736 (code B ref -1); Tue, 09 Aug 2022 18:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Aug 2022 18:55:35 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) 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-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:239206 Archived-At: --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--