emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61796: closed (30.0.50; tree-sitter + python: string fontification d


From: GNU bug Tracking System
Subject: bug#61796: closed (30.0.50; tree-sitter + python: string fontification does not handle nested strings)
Date: Sun, 26 Feb 2023 01:14:02 +0000

Your message dated Sun, 26 Feb 2023 03:13:13 +0200
with message-id <a2066245-da4d-b813-cd95-7e043f5f90b0@yandex.ru>
and subject line Re: bug#61796: 30.0.50; tree-sitter + python: string 
fontification does not handle nested strings
has caused the debbugs.gnu.org bug report #61796,
regarding 30.0.50; tree-sitter + python: string fontification does not handle 
nested strings
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61796: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61796
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; tree-sitter + python: string fontification does not handle nested strings Date: Sat, 25 Feb 2023 22:30:23 +0000
I think the query and/or the way fontification is applied is causing a
problem when you nested double quotes inside single quotes:

# not right
A = 'before "inside" after'

# right
B = "before 'inside' after"



In GNU Emacs 30.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version
 3.24.20, cairo version 1.16.0) of 2023-02-23 built on mickey-work
Repository revision: fad3665069740e002fcb7f9313f9eeec81ad9a0c
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --with-native-compilation --with-json --with-mailutils
 --without-compress-install --with-imagemagick CC=gcc-10'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#61796: 30.0.50; tree-sitter + python: string fontification does not handle nested strings Date: Sun, 26 Feb 2023 03:13:13 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1
Hi! Thanks for the report.

On 26/02/2023 00:30, Mickey Petersen wrote:
I think the query and/or the way fontification is applied is causing a
problem when you nested double quotes inside single quotes:

# not right
A = 'before "inside" after'

# right
B = "before 'inside' after"

Should be fixed in emacs-29 with commit 3cae0e3d96a.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]