From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode Date: Thu, 14 Nov 2024 11:24:32 +0200 Message-ID: <697529d6-0591-4a80-b640-7ddce7dc246b@gutov.dev> References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38504"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org To: Eli Zaretskii , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 10:25:43 2024 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 1tBW6f-0009ou-IW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 10:25:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBW67-000777-As; Thu, 14 Nov 2024 04:25:07 -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 1tBW62-00076Q-OS for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 04:25:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBW62-0002oL-6X for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 04:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=f7+FjaUFRNfQ/AN5UAgrrijNbUMhkJJws0mHy+Ptqr4=; b=WjYCTI/gBO8Wkb6kjojR2o4wdOyB6mw/glEwprkFjU+YWop4vi5uKCkzVBCb4/5FVSAEC5q7L3/OC+dwW7DSpcDRufAuWcX/4nP2F6jRi8N2w5Z+P5qDmxX7d7L7gvhRYSMhsbv0F2F5Qe5RLCpQY65QI9432++/co3vn/8NWhm4cQDHcEMA1/TJD1U+Rm+SRj69tapy1eX4aWaKmfhPbqOC3JySh5ZGsoPWJdEllovd5hUT3hCp8qZ0HutzHMMnF/hZpvQgNu1trQB06cnfSExJZgeNQgxFWOLLAVrK7ppvtA++rYdi8haNsNr2QtHBmMEdeJxUMs3+fXwOK5CC3g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBW62-0003fL-0P for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 04:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74339 X-GNU-PR-Package: emacs Original-Received: via spool by 74339-submit@debbugs.gnu.org id=B74339.173157628514051 (code B ref 74339); Thu, 14 Nov 2024 09:25:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 14 Nov 2024 09:24:45 +0000 Original-Received: from localhost ([127.0.0.1]:45040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBW5l-0003eY-4R for submit@debbugs.gnu.org; Thu, 14 Nov 2024 04:24:45 -0500 Original-Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]:41837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBW5j-0003eL-Lg for 74339@debbugs.gnu.org; Thu, 14 Nov 2024 04:24:44 -0500 Original-Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id 5CB0525400E0; Thu, 14 Nov 2024 04:24:38 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Thu, 14 Nov 2024 04:24:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1731576278; x=1731662678; bh=f7+FjaUFRNfQ/AN5UAgrrijNbUMhkJJws0mHy+Ptqr4=; b= YH5EAZ6iOUr33cHrRmyNy9jh7lk/ya67/3O/AX4bFJaYKtTMq4Dfs5ywgG1UMoQP wC5hS0POSeBQE84gtI8mIh059CK8K/rw+yCE7j43jf/3cz6aGfqDvPG3i5XezXG6 tKGngRj1YB1qUfqFaQoOH1vEjJ0+/+3E0kTVVTRS4CjsqU/dgOXuCtJ4ugOgVyz5 enL9GSicbC8RAdaF1808BJKModGZeH3tU/4dk8go8NWILk9nv02yZPTHmw5GKEVw Zy174qeIIeJ5k8t9HcQ6v/lIJlztoMTrxGSzIAKV+58Q31G7So1U0NHgj8Af62/1 Tqz+HQfoI60hs/AuHYBqgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1731576278; x= 1731662678; bh=f7+FjaUFRNfQ/AN5UAgrrijNbUMhkJJws0mHy+Ptqr4=; b=N 7I0ym0P9SJetww/wY8m4f0ythoeRQA+HZ9pMPBZtJOImW8J+r9aCaJDSEXsSAB41 DbfaOfn+xqUn0WXpzlU1tho0sDT68ufCqLYyMMT9oS49zVnEtn4wJK1+F5EIppdh hSZv4mZ721319nK+anqvJI0phQN/bKf9taZZhXsQMwLSJs3kMzps2hEyfztMg8HM Uhc+OCPIKTShaUz+vZIaimBZyl2hYreaQbQ+RmNS7tPhibCYlQ9Br3NvPWbkLWj/ cPsJW7D5WjORlet3ShpjDUldyuBJ+olAjke0L7DYWgaSIwf7XogHq7upxir9ppKn RiD3gK9kEEk0jmoU2R23Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvddvgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeen ucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvg hvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedt vddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohep gedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpd hrtghpthhtoheprggtmhesmhhutgdruggvpdhrtghpthhtohepmhhonhhnihgvrhesihhr ohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepjeegfeefleesuggvsggsuhhgsh drghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Nov 2024 04:24:35 -0500 (EST) Content-Language: en-US In-Reply-To: <86h68al2qz.fsf@gnu.org> 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:295319 Archived-At: On 14/11/2024 08:59, Eli Zaretskii wrote: >> Can I take it that you will respect the choice of users who wish to >> remain on CC Mode as much as those who wish the new tree-sitter modes? > Of course! That's what happens by default if the user didn't load > c-ts-mode, and (under my suggested idea of a change) will happen if > the user loads cc-mode after loading c-ts-mode. IOW, the last mode > loaded will "win". JFYI, 'M-x js-ts-mode' loads cc-mode. >> And if a user has made no such choice, normal-mode will forcibly change >> the major modes of their buffers, whether they like it or not. > No, it won't. This could happen only if the user loads c-ts-mode > in-between, which means the user prefers c-ts-mode. Without that, > normal-mode will always revert to c-mode in the default Emacs > configuration. I'm personally skeptical that loading a package (or invoking a mode) indicates a strong user preference, but ok, let's call it that.