GNU bug report logs - #61169
29.0.60; python-ts-mode interferes with the major-mode of other files.

Previous Next

Package: emacs;

Reported by: xiliuya <xiliuya <at> aliyun.com>

Date: Mon, 30 Jan 2023 08:52:03 UTC

Severity: normal

Merged with 61166, 61167, 61170

Found in versions 28.2, 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61169 in the body.
You can then email your comments to 61169 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#61169; Package emacs. (Mon, 30 Jan 2023 08:52:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to xiliuya <xiliuya <at> aliyun.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 30 Jan 2023 08:52:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: xiliuya <xiliuya <at> aliyun.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; python-ts-mode interferes with the major-mode of other files.
Date: Mon, 30 Jan 2023 13:31:07 +0800
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 :)




Merged 61166 61167 61169 61170. Request was from xiliuya <xiliuya <at> aliyun.com> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 10:54:02 GMT) Full text and rfc822 format available.

Merged 61166 61167 61169 61170. Request was from xiliuya <xiliuya <at> outlook.com> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 10:54:02 GMT) Full text and rfc822 format available.

Merged 61166 61167 61168 61169 61170. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 13:05:01 GMT) Full text and rfc822 format available.

Merged 61166 61167 61168 61169 61170. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 13:06:01 GMT) Full text and rfc822 format available.

Merged 61166 61167 61168 61169 61170. Request was from xiliuya <xiliuya <at> aliyun.com> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 14:33:05 GMT) Full text and rfc822 format available.

Merged 61166 61167 61168 61169 61170. Request was from xiliuya <xiliuya <at> aliyun.com> to control <at> debbugs.gnu.org. (Mon, 30 Jan 2023 14:33:05 GMT) Full text and rfc822 format available.

Disconnected #61168 from all other report(s). Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 31 Jan 2023 11:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Feb 2023 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.