From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 03 12:39:03 2024 Received: (at submit) by debbugs.gnu.org; 3 Jan 2024 17:39:03 +0000 Received: from localhost ([127.0.0.1]:53146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL5Cm-0004Df-66 for submit@debbugs.gnu.org; Wed, 03 Jan 2024 12:39:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKs1M-00053I-IZ for submit@debbugs.gnu.org; Tue, 02 Jan 2024 22:34:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKs1E-00066i-7M for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 22:34:12 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKs1B-0005NK-DA for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 22:34:11 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 3D9035C00D5 for ; Tue, 2 Jan 2024 22:34:05 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute7.internal (MEProxy); Tue, 02 Jan 2024 22:34:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tossed.org; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1704252845; x=1704339245; bh=lbhkKK0Em6NZlJRrpSPuOEOZmsP3rNBy ZRGW5b4LzCU=; b=hE3j+z8pidhLtO7MMLIcan6ZmX0gFzkq6+fQo8FFElOH8C9d zaauBIyXoCNJIIaEaRqx+xWQvDQciyHI/F2I780f2QsA9Pt4v5SbCwdg6q2xVUaX J/t7nqf0IErBydSYszCY2ieBe7TTpCubz6vRbc+EXk3h8WdNkqZmDPw5Tvf0Bt54 4/8blxzrqdIJ0RkSYnQLdNkGeVaQgayzMDpdjelnV2ks0yo27gVysVoKmACysqG0 Tbct51jus0wAhZG8VnAhV+/tX6BrQaEe73hp9SzFKqgHSU6CLWaPnH0UY0WOYyuK xwP0ntZHgsQ9sBGBgMlMAMa2CQDNHCsOY3J1PA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1704252845; x=1704339245; bh=lbhkKK0Em6NZlJRrpSPuOEOZmsP3rNByZRG W5b4LzCU=; b=Lo2yioRzy0APdOSZ5n2Ti6+LOtPYn9tbsKMb+2V3H8nx28B68eM l7zZvFKioqn7am8P5f0M6bl6ctcecHF5RVP4mtQY8xCln1sYN9TjIKA6rWKPzLby akaRAn3VEtNqSKRolosDtMvijXoTrzGLLAQdMZWsJYXKM7sebvD7mNmkPB9tiEt9 P1x7/kmUGSp5UJLU5OpGl4MgtcKVdSlAq0ge6ATAbsMJSUFfTX2KZrMqTno2mjw+ WO5vHe7jC9h87snuk2aFJQ4jXdhv4uRYEJkUEG0S6j/zjjH9YjC+AHgYgyej4ZbH besEihvHVSSxSlR/IKHbHYmDYifGUyTVt1A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeggedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erreejnecuhfhrohhmpefoihgthhgrvghlucfnrggssgoruceomhhikhgvsehtohhsshgv ugdrohhrgheqnecuggftrfgrthhtvghrnhepteetvdeuvefhgfffhfeujeffffeigeevhf efkeekvdeivdffhfehjeffgeekheffnecuffhomhgrihhnpehgnhhurdhorhhgpdhgihht hhhusghushgvrhgtohhnthgvnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhikhgvsehtohhsshgvugdrohhrgh X-ME-Proxy: Feedback-ID: i646446d0:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D8B4B1700096; Tue, 2 Jan 2024 22:34:04 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 MIME-Version: 1.0 Message-Id: <9debef41-5898-4982-b009-a5114117f748@app.fastmail.com> Date: Tue, 02 Jan 2024 19:33:44 -0800 From: =?UTF-8?Q?Michael_Labb=C3=A9?= To: bug-gnu-emacs@gnu.org Subject: 29.1; tree-sitter-hl-mode doesn't honor the :extend font face in single line comments Content-Type: multipart/alternative; boundary=4d3ebdf693ea4622b53c5bcca034a531 Received-SPF: pass client-ip=66.111.4.27; envelope-from=mike@tossed.org; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: 0.6 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 03 Jan 2024 12:38:54 -0500 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: -0.4 (/) --4d3ebdf693ea4622b53c5bcca034a531 Content-Type: text/plain == BEGIN DESCRIPTION == In many, if not all supported languages, tree-sitter-hl-mode's font locking does not honor the `:extend` attribute of a face. The [:extend face attribute](https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html) is used to send a highlight past the newline character in a line. The easiest way to see this is to produce a `//` comment in a mode that supports it, such as c-mode. Set the `font-lock-comment-face` and `tree-sitter-hl-face:comment` `:background` to a color other than the default background. Then, observe as comments stop at the newline instead of the end of the frame. To reproduce this issue: 1. launch emacs 29.1 with `emacs -q --load repro.el` (code is below). 2. Create a blank c file, ensuring c-mode is set. Add a `//` comment to any line and hit enter. 3. Observe the comment terminates at the newline (before the right side of the frame). 4. Type `M-x` `tree-sitter-hl-mode`. Observe the comment goes to the right side of the frame. ## Languages this bug exists in ## Not a complete list, but: - c - c++ - javascript - rust (via rustic) - bash - python - ruby # repro.el # ``` ;; ;; repro.el (custom-set-faces '(font-lock-comment-face ((t (:background "darkblue" :foreground "yellow" :extend t))))) (custom-set-faces '(tree-sitter-hl-face:comment ((t (:inherit font-lock-comment-face))))) ;; comments look like this ;; ;; tree-sitter ;; (defvar bootstrap-version) (setq straight-repository-branch "master") (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 6)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (require 'package) (use-package tree-sitter :straight t :config (global-tree-sitter-mode) :hook ((python-mode rustic-mode c-mode cc-mode go-mode typescript-mode javascript-mode) . tree-sitter-hl-mode) ) (use-package tree-sitter-langs :straight t :ensure t :after tree-sitter ) (require 'tree-sitter-hl) ``` In GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-12-10 built on lcy02-amd64-098 Repository revision: 28fb02492c2444c5976eb53fd6f9badfe54f4ea1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Linux Mint 21.2 Configured using: 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3 --without-xaw3d --with-modules --with-cairo --with-native-compilation=aot --with-xinput2 --with-tree-sitter --with-json 'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem/build/emacs/stage/usr/include -O2' 'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem/build/emacs/stage/usr/include' 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib -L/build/emacs/parts/emacs/install/usr/lib -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu -L/build/emacs/stage/usr/lib'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-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 blink-cursor-mode: t buffer-read-only: 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 message mailcap yank-media 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 site-start comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib bytecomp byte-compile rmc iso-transl tooltip cconv 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 seq 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 theme-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 lcms2 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 81329 7534) (symbols 48 7142 0) (strings 32 19747 1922) (string-bytes 1 602929) (vectors 16 16576) (vector-slots 8 333053 16182) (floats 8 27 24) (intervals 56 417 0) (buffers 984 12)) --4d3ebdf693ea4622b53c5bcca034a531 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
=3D=3D BEGIN DE= SCRIPTION =3D=3D

In many, if not all suppor= ted languages, tree-sitter-hl-mode's font locking does not honor the `:e= xtend` attribute of a face.  The [:extend face attribute](https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-= Attributes.html) is used to send a highlight past the newline charac= ter in a line.

The easiest way to see this = is to produce a `//` comment in a mode that supports it, such as c-mode.=   Set the `font-lock-comment-face` and `tree-sitter-hl-face:comment= ` `:background` to a color other than the default background.  Then= , observe as comments stop at the newline instead of the end of the fram= e.

To reproduce this issue:
<= br>
1.  launch emacs 29.1 with `emacs -q --load repro.el`= (code is below). 
2. Create a blank c file, ensuring= c-mode is set. Add a `//` comment to any line and hit enter.
<= div>3. Observe the comment terminates at the newline (before the right s= ide of the frame).
4. Type `M-x` `tree-sitter-hl-mode`.&nb= sp; Observe the comment goes to the right side of the frame.

## Languages this bug exists in ##

<= /div>
Not a complete list, but:
- c
- c+= +
- javascript
- rust (via rustic)
=
- bash
- python
- ruby 
<= div> 
# repro.el #
```
;;=
;; repro.el

(custom-set-face= s
'(font-lock-comment-face ((t (:background "darkblue" :fo= reground "yellow" :extend t)))))

(custom-se= t-faces
'(tree-sitter-hl-face:comment ((t (:inherit font-l= ock-comment-face)))))

;; comments look like= this

;;
;; tree-sitter
;;

(defvar bootstrap-version)
<= /div>
(setq straight-repository-branch "master")
(let = ((bootstrap-file
       (exp= and-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
&nb= sp;     (bootstrap-version 6))
  = (unless (file-exists-p bootstrap-file)
    = (with-current-buffer
      &= nbsp; (url-retrieve-synchronously
         'silent 'inhibit-coo= kies)
      (goto-char (point-max= ))
      (eval-print-last-sexp)))=
  (load bootstrap-file nil 'nomessage))

(require 'package)
(use-package tree-sitt= er
    :straight t
 &nbs= p;  :config
    (global-tree-sitter-mo= de)
    :hook ((python-mode
&= nbsp;           rustic= -mode
        &nbs= p;   c-mode cc-mode
    &nbs= p;       go-mode
  = ;          typescript-mode<= br>
         &nbs= p;  javascript-mode) . tree-sitter-hl-mode)
 &nb= sp;  )
    
(use-pa= ckage tree-sitter-langs
    :straight t
=
    :ensure t
   = :after tree-sitter
    )
(require 'tree-sitter-hl)


<= /div>

```


In GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,<= br>
cairo version 1.16.0) of 2023-12-10 built on lcy02-amd64-0= 98
Repository revision: 28fb02492c2444c5976eb53fd6f9badfe5= 4f4ea1
Repository branch: master
Windowing s= ystem distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Linux Mint 21.2

C= onfigured using:
'configure --prefix=3D/snap/emacs/current= /usr --with-x-toolkit=3Dgtk3
--without-xaw3d --with-module= s --with-cairo
--with-native-compilation=3Daot --with-xinp= ut2 --with-tree-sitter
--with-json
'CFLAGS=3D= -isystem/build/emacs/parts/emacs/install/usr/include
-isys= tem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
-isystem/build/emacs/stage/usr/include -O2'
'CPPFLA= GS=3D-isystem/build/emacs/parts/emacs/install/usr/include
= -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
-isystem/build/emacs/stage/usr/include'
'LDFLA= GS=3D-L/build/emacs/parts/emacs/install/lib
-L/build/emacs= /parts/emacs/install/usr/lib
-L/build/emacs/parts/emacs/in= stall/lib/x86_64-linux-gnu
-L/build/emacs/parts/emacs/inst= all/usr/lib/x86_64-linux-gnu
-L/build/emacs/stage/usr/lib'= '

Configured features:
ACL CA= IRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES=
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND= SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 = XDBE XIM XINPUT2 XPM
GTK3 ZLIB

Important settings:
  value of $LANG: en_CA.UTF-8
  locale-coding-system: utf-8-unix

<= /div>
Major mode: Fundamental

Minor mod= es in effect:
  tooltip-mode: t
  = global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode:= t
  tool-bar-mode: t
  menu-bar-m= ode: t
  file-name-shadow-mode: t
 = ; global-font-lock-mode: t
  blink-cursor-mode: t
=
  buffer-read-only: t
  line-number-m= ode: t
  indent-tabs-mode: t
  tra= nsient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compres= sion-mode: t

Load-path shadows:
None found.

Features:
(sha= dow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg= rfc6068
epg-config gnus-util text-property-search time-da= te mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailab= brev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-dr= ums mm-util mail-prsvr mail-utils site-start comp
comp-cst= r warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode
cl-loaddefs cl-lib bytecomp byte-compile rmc iso-transl tooltip cc= onv
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 ta= bulated-list replace newcomment
text-mode lisp-mode prog-m= ode register page tab-bar menu-bar rfn-eshadow
isearch eas= ymenu timer select scroll-bar mouse jit-lock font-lock syntax
<= div>font-core term/tty-colors frame minibuffer nadvice seq simple cl-gen= eric
indonesian philippine cham georgian utf-8-lang misc-l= ang vietnamese
tibetan thai tai-viet lao korean japanese e= ucjp-ms cp51932 hebrew greek
romanian slovak czech europea= n ethiopic indian cyrillic chinese
composite emoji-zwj cha= rscript charprop case-table epa-hook
jka-cmpr-hook help ab= brev obarray oclosure cl-preloaded button loaddefs
theme-l= oaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keym= ap
hashtable-print-readable backquote threads dbusbind ino= tify lcms2
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 81329 75= 34)
(symbols 48 7142 0)
(strings 32 19747 19= 22)
(string-bytes 1 602929)
(vectors 16 1657= 6)
(vector-slots 8 333053 16182)
(floats 8 2= 7 24)
(intervals 56 417 0)
(buffers 984 12))=

--4d3ebdf693ea4622b53c5bcca034a531-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 03 12:51:07 2024 Received: (at 68233) by debbugs.gnu.org; 3 Jan 2024 17:51:07 +0000 Received: from localhost ([127.0.0.1]:53162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL5OU-0007DT-LS for submit@debbugs.gnu.org; Wed, 03 Jan 2024 12:51:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL5OR-0007Cu-Lp for 68233@debbugs.gnu.org; Wed, 03 Jan 2024 12:51:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL5OH-0001Xl-10; Wed, 03 Jan 2024 12:50:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=eo/qXsHqJkwHvImtN6WDZjHpbW4pGfXN7ANWStuxLyM=; b=mQVK6F/pNxOOSISEpgui wUsF3Zf7zGwHkS97h1HFISdDJEFCk4jrbhuWgwuRwE8+1hreyudZ+oX7AMBm1yBYseEZTFRZicYfz +hJWgO43mJhDdAwNGmyZIrBFz8Vcn6agb3JyBOZDEDMOIiuoWQu5LsoLlR5f7kb2F5IGsQ+WDw32/ HnS0Xo1DOFo7TQxjgF+5kEXPdBQcHrIhFm4XHFz9Plrn6LfG7vVhD4IkCyusZ2/VIJo29AD4iEgDw Vy6sUvFFfd2Ht+JauBWvJvPoDp+GJuV7IRzpekabi8Xr5SjkOHy+8RSXsUyGtpFTAJi4XVywWrz9w Cf1nqf1oHxVxkw==; Date: Wed, 03 Jan 2024 19:50:34 +0200 Message-Id: <83mstmxq51.fsf@gnu.org> From: Eli Zaretskii To: Michael =?utf-8?Q?Labb=C3=A9?= In-Reply-To: <9debef41-5898-4982-b009-a5114117f748@app.fastmail.com> (message from Michael =?utf-8?Q?Labb=C3=A9?= on Tue, 02 Jan 2024 19:33:44 -0800) Subject: Re: bug#68233: 29.1; tree-sitter-hl-mode doesn't honor the :extend font face in single line comments References: <9debef41-5898-4982-b009-a5114117f748@app.fastmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68233 Cc: 68233@debbugs.gnu.org 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 (---) > Date: Tue, 02 Jan 2024 19:33:44 -0800 > From: Michael Labbé > > In many, if not all supported languages, tree-sitter-hl-mode's font locking does not honor the `:extend > ` attribute of a face. The [:extend face attribute] > (https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html) is used to send a > highlight past the newline character in a line. I don't think tree-sitter-hl-mode is part of Emacs, is it? If it isn't part of Emacs, would you please report this first to the developers of tree-sitter-hl-mode? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 12:31:03 2024 Received: (at control) by debbugs.gnu.org; 10 Jan 2024 17:31:03 +0000 Received: from localhost ([127.0.0.1]:42773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNcPu-0007HJ-ND for submit@debbugs.gnu.org; Wed, 10 Jan 2024 12:31:03 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:42438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNcPt-000773-48 for control@debbugs.gnu.org; Wed, 10 Jan 2024 12:31:01 -0500 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-557c188f313so5620880a12.1 for ; Wed, 10 Jan 2024 09:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704907857; x=1705512657; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=l1WUernc/VGrmDERVCPIV38R80z5G+kuBdssRjxK1A4=; b=b2/f9SnieIzyLJl4ilScAsYA7QqgiUs2hcJTl30mJUJDzfz1vC7X5zM/F1ymLsUPrf iV3MXP6rXcDiUFNbwC68ZIvDg565iovpElYTXR7zkaJXLyO5DmY/+0yO2hEcuwVyw8q8 3FtELB71USo8AwNZCJrCJBhWcP2th13MDT6ImpvyWJisvMvhbsYYNTQNibiwLyk68DAT PYO4zIKntmOaNcu0Bhyl3OjkwjK6m9FLcvDjIwTzyWy1nszw5wQKHru8Cg3/Vqx9ul1D mcGIXxVvTo708XpcKfsLrKOUnV+by4OV/D3eEa4HXx5zMggQC9U4MYNo+ChzifKD17rP 8Ijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704907857; x=1705512657; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=l1WUernc/VGrmDERVCPIV38R80z5G+kuBdssRjxK1A4=; b=lPQAZAlk+Zb6GyZ2yLVyWuMSukoo3/mF3Q+3MGCB3B+vHBJfnbG1XOtszcdkV89uk2 c/EkgqZR9eMMjfvDMMfLkQOacn+z8GMafMMkNM4RDV8YGu2X0sIayzeUsPPn+VFwxZpl KK9mNS6eDUmYKjV5xSALzvN2FWVcdqizpGGCzYsS5vxstS2MRNlc7aDJEACNeszhDxEy IITr2sifhNClQNjFuZMBu57UdExwDRs3rhM0O+ogoBC6ioN3dgLjaiq8w4RVb1YfZCit GEYpldHKH2dduaow7n60t8hT440uVN/0CJx0Oj8blVNIJuacq5zfzj2Tl9uqPMusrj4N nIJw== X-Gm-Message-State: AOJu0YzstPaqH0XI7pWQKydioFbZtXPCHxbVvc/gv4oW6W5Hlr64rs4K UNY1UyY3kD3LGjfgzG5geeiqUw36zUDjSEc7fWkpVdn7StQB6w== X-Google-Smtp-Source: AGHT+IGADeo7yXHsd5aFLs96Q2kvmZmhfQCqyrwSrGTMV4niPPrGn+U7pPTYFFyXGIFcSr6xq9d5L7XGapOUXkAqPW4= X-Received: by 2002:a50:9b57:0:b0:557:33f1:3ef9 with SMTP id a23-20020a509b57000000b0055733f13ef9mr437104edj.26.1704907856732; Wed, 10 Jan 2024 09:30:56 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 09:30:56 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 10 Jan 2024 09:30:56 -0800 Message-ID: Subject: control message for bug #68233 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) 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: -1.0 (-) severity 68233 minor quit