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

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

bug#61169: 29.0.60; python-ts-mode interferes with the major-mode of oth


From: xiliuya
Subject: bug#61169: 29.0.60; python-ts-mode interferes with the major-mode of other files.
Date: Mon, 30 Jan 2023 13:31:07 +0800
User-agent: mu4e 1.8.13; emacs 29.0.60

Hello Emacs maintainers,

I apologize in advance for any mistakes since English is not my native language 
and it is the first time that I report a bug.

How to reproduce:
1) mkdir python
2) touch python/a.el
3) touch python/a.py
4) emacs -Q
5) C-x C-f python/a.py
6) M-x python-ts-mode
7) C-x C-f python/a.el

And then the major-mode of the el file became python-ts-mode.


In GNU Emacs 29.0.60 (build 5, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.17.6) of 2023-01-26 built on xiliuya-pc
Repository revision: af28191b04fa3e70caeea83c1c8a6c16a57adece
Repository branch: makepkg
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt --without-gconf
 --with-native-compilation=yes --with-xinput2 --with-pgtk
 --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm
 --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK
PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
WEBP XIM GTK3 ZLIB

-- 
xiliuya :)





reply via email to

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