From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xiliuya via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs 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 Message-ID: <871qncwpga.fsf@aliyun.com> Reply-To: xiliuya Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 29.0.60 To: 61169@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 09:53:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMPuc-0007ut-R6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 09:53:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMPtp-0004HF-54; Mon, 30 Jan 2023 03:52:25 -0500 Original-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 1pMPtV-0004FX-6C for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 03:52:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMPtU-000065-9c for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 03:52:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMPtU-0006PN-4H for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 03:52:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: xiliuya Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 08:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61169 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167506868724530 (code B ref -1); Mon, 30 Jan 2023 08:52:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2023 08:51:27 +0000 Original-Received: from localhost ([127.0.0.1]:46292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMPss-0006NU-Uy for submit@debbugs.gnu.org; Mon, 30 Jan 2023 03:51:27 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMMtc-0006sZ-Px for submit@debbugs.gnu.org; Mon, 30 Jan 2023 00:40:01 -0500 Original-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 1pMMtc-0005W7-J4 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 00:40:00 -0500 Original-Received: from out30-50.freemail.mail.aliyun.com ([115.124.30.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMMta-0005I2-ND for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 00:40:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliyun.com; s=s1024; t=1675057192; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=nv20FLmtBjKOo+jVSXJOSXUePTJ9wywyAd6+yZtM7LY=; b=rbe1oEu0f9M8UQM/GlrrZlHyXoSFvOl4eZ+X8YBczDVwsLRKxoEYQTXna+MHnGGpjbQX5WJjHJoo6fVXG/8mSGvUfBN2vCz8/75Gg68wYZonJLLAOAinmkBEUNxKXd3FxtlTbtYRzOg99ZOcSs6JNY7/J6p7qrHloRfzS6THGgY= X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1060897|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.0178686-0.00125299-0.980878; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018045192; MF=xiliuya@aliyun.com; NM=1; PH=DS; RN=1; RT=1; SR=0; TI=SMTPD_---0VaN-a5._1675057190; Original-Received: from xiliuya-pc(mailfrom:xiliuya@aliyun.com fp:SMTPD_---0VaN-a5._1675057190) by smtp.aliyun-inc.com; Mon, 30 Jan 2023 13:39:50 +0800 Received-SPF: pass client-ip=115.124.30.50; envelope-from=xiliuya@aliyun.com; helo=out30-50.freemail.mail.aliyun.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 30 Jan 2023 03:51:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254399 Archived-At: 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 :)