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#61170: 29.0.60; python-ts-mode interferes with the major-mode of other files. Date: Mon, 30 Jan 2023 22:16:56 +0800 Message-ID: <87h6w8hzov.fsf@aliyun.com> References: <87wn54v9yi.fsf@aliyun.com> <83cz6w5g4e.fsf@gnu.org> Reply-To: xiliuya Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 29.0.60 Cc: 61170@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 15:33:59 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 1pMVEN-0001Fb-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 15:33:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMVDo-0003RQ-9o; Mon, 30 Jan 2023 09:33:24 -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 1pMVDV-0003L8-2l for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 09:33:12 -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 1pMVDU-0004MB-PQ for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 09:33:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMVDU-0002ZM-M9 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 09:33: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 14:33:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61170 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: 61170@debbugs.gnu.org, bug-gnu-emacs@gnu.org Original-Received: via spool by 61170-submit@debbugs.gnu.org id=B61170.16750891629793 (code B ref 61170); Mon, 30 Jan 2023 14:33:04 +0000 Original-Received: (at 61170) by debbugs.gnu.org; 30 Jan 2023 14:32:42 +0000 Original-Received: from localhost ([127.0.0.1]:46782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVD7-0002Xm-1J for submit@debbugs.gnu.org; Mon, 30 Jan 2023 09:32:41 -0500 Original-Received: from out30-3.freemail.mail.aliyun.com ([115.124.30.3]:43872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMV1E-0002FN-2I for 61170@debbugs.gnu.org; Mon, 30 Jan 2023 09:20:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliyun.com; s=s1024; t=1675088415; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=KMbn+++k6QT+iB0agWpHzwugBTEMY0pGA93Ni4Iq66A=; b=WJEzPZGsZvswkRoNK+OWbXbQ/fJyEZNUG4tkU/A5Yjp39lTZSlXyDOTWMnACplKgHes66ODSV7rwXc7K6bYYMfSu15e6aXjZV7wYzs3kGIAXf9jqBNNMcw40zNEecfKg8MBWsBBTEXdRFT300l6utOrlGcgXqS4Op7A2QTJqzBY= X-Alimail-AntiSpam: AC=CONTINUE; BC=0.2162175|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.0727498-0.00114943-0.926101; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018046050; MF=xiliuya@aliyun.com; NM=1; PH=DS; RN=3; RT=3; SR=0; TI=SMTPD_---0VaT6zck_1675088411; Original-Received: from xiliuya-pc(mailfrom:xiliuya@aliyun.com fp:SMTPD_---0VaT6zck_1675088411) by smtp.aliyun-inc.com; Mon, 30 Jan 2023 22:20:12 +0800 In-reply-to: <83cz6w5g4e.fsf@gnu.org> X-Mailman-Approved-At: Mon, 30 Jan 2023 09:32:36 -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:254432 Archived-At: Eli Zaretskii writes: >> Date: Mon, 30 Jan 2023 13:57:40 +0800 >> From: xiliuya via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Hello Emacs maintainers, >>=20 >> 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. >>=20 >> 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 >>=20 >> And then the major-mode of the el file became python-ts-mode. > > Your build is too old: > >> 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 > ^^^^^^^^^^ > I think this problem was fixed 2 days ago, so please update from Git > and try again. You=E2=80=99re right. The update solved the problem. Thank you very much fo= r your help. --=20 xiliuya :)