From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode Date: Thu, 14 Nov 2024 14:45:21 -0500 Message-ID: References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <697529d6-0591-4a80-b640-7ddce7dc246b@gutov.dev> <86a5e1kbg5.fsf@gnu.org> <864j49k4xg.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dmitry@gutov.dev, 74339@debbugs.gnu.org, acm@muc.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 20:46:21 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 1tBfnI-0006EB-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 20:46:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBfn3-00041T-Vv; Thu, 14 Nov 2024 14:46:06 -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 1tBfn1-00041B-Bc for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:46:03 -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 1tBfn1-0007RG-38 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:46:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=iiDCQdpzFdRO1dFO3uWgnldtCPxfybtXbGbZz2G5ieM=; b=Kj5pC9MBLQsdHJxEJYh6KHP6loNwFC5gtsBnJVyb0b7aQ50h0HdH8wxuAIMWk8CuY2VNa2ia6xSmEaVkQEJDTRj2SlgI2fEO7q50Wzd5lOhZgmS068REj88cxGWoPhXgO9bxfc1i2XD6/oLaW+FGXK9Z2/N9k58IhE1WNU2BA38XPrxblen1wonpFY5IrSR/56oL0vV5AY5YXNw//47Uri7dRqsbW76h+CpoU640IC7JxMAwZG8oy3RYAp8SzZzyGa7bD1PFD4pIJUhbfjRGZWqRXmkxxDLY+UF5J/SVzb3WlJ8SvKeozfGw8jZvWPpOcw4JhHcJcOZ0ZDvNFampOw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBfmz-00006K-V6 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 19:46: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.1731613531336 (code B ref 74339); Thu, 14 Nov 2024 19:46:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 14 Nov 2024 19:45:31 +0000 Original-Received: from localhost ([127.0.0.1]:47264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBfmV-00005K-DH for submit@debbugs.gnu.org; Thu, 14 Nov 2024 14:45:31 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBfmT-000052-OO for 74339@debbugs.gnu.org; Thu, 14 Nov 2024 14:45:30 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 500A8444BA1; Thu, 14 Nov 2024 14:45:24 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1731613523; bh=xiPvpT7W8DAA8YvoiyEDRQ3UbNUEW1scLwj7W5ebklk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WAX0jxmEL6eqMDyYS9ChAtUPfR8SPnd91ZcX0H5suNpC4d6Fx+d4GkEHWcMXrqQiy Sz2SFmALJUDc3FLeuE6a5xruKYZVd2o4Fi54JDpTm2++7djzAj1BitVPJUXjllGvpK WFc5hnXgNuaXAykSPdiav1+AyaOnqQRkyPuJvshqDf2Ax3XZWp0OJEFDN8jJPEgPaK AYdKTt78JwO2uYSDFmoQubyFd0WceWFzrb3cCjDB8mCwW59GCtz3Qmh3JHL96Rvuoq byVsyepg677Y3vvcjogX3x1CEIRZVt8cEgsKnDPMu9pSduIavlecira5sGL4MIhsNT N3Be5UdU2LTxA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5E373444BA2; Thu, 14 Nov 2024 14:45:23 -0500 (EST) Original-Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3BDB21206CB; Thu, 14 Nov 2024 14:45:23 -0500 (EST) In-Reply-To: <864j49k4xg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2024 21:10:03 +0200") 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:295362 Archived-At: >> AFAIC, "the way for users to express their preference" is by customizing >> `major-mode-remap-alist` > This is not a user-friendly method, IMNSHO. Customizing > major-mode-remap-alist requires too much knowledge of Lisp. How hard > is it to imagine someone who puts wrongly-formatted elements into the > alist, like sub-lists instead of cons cells? We can provide nicer UIs of course. > In another discussion, I proposed to have simpler user option(s) that > would allow users to express this preference, such that, say, > auto-mode-alist would activate this or that mode given such a > variable. As long as it applies to the other ways to specify modes, rather than being specifically for `auto-mode-alist`... Stefan