From: Mickey Petersen <mickey@masteringemacs.org>
To: 59720@debbugs.gnu.org
Subject: bug#59720: 30.0.50; python-ts-mode: match/case is not fontified properly
Date: Wed, 30 Nov 2022 10:03:33 +0000 [thread overview]
Message-ID: <87lens21xn.fsf@masteringemacs.org> (raw)
1. Visit a python file. It will use the regular python mode.
2. Write:
def foo():
match foo:
case 10:
pass
3. It is highlighted correctly: match and case are fontified with `font-lock-keyword-face'.
4. Type M-x python-ts-mode.
5. Highlighting is now off for match/case. Text properties for the `m' character are:
Character code properties: customize what to show
name: LATIN SMALL LETTER M
general-category: Ll (Letter, Lowercase)
decomposition: (109) ('m')
uppercase: 77 (M)
titlecase: 77 (M)
There are text properties here:
fontified t
In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0) of 2022-11-29 built on mickey-work
Repository revision: 7939184f8e0370e7a3397d492812c6d202c2a193
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
Important settings:
value of $LC_MONETARY: en_GB.UTF-8
value of $LC_NUMERIC: en_GB.UTF-8
value of $LC_TIME: en_GB.UTF-8
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: EL
Memory information:
((conses 16 1470611 151650)
(symbols 48 83975 12)
(strings 32 412115 14879)
(string-bytes 1 12040593)
(vectors 16 146926)
(vector-slots 8 3669783 89353)
(floats 8 829 511)
(intervals 56 18032 4083)
(buffers 992 58))
next reply other threads:[~2022-11-30 10:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 10:03 Mickey Petersen [this message]
2022-11-30 15:16 ` bug#59720: 30.0.50; python-ts-mode: match/case is not fontified properly Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-02 3:40 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lens21xn.fsf@masteringemacs.org \
--to=mickey@masteringemacs.org \
--cc=59720@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.