From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59251: 29.0.50; Fix-some-inconsistencies-in-ts-modes Date: Mon, 14 Nov 2022 20:59:34 +0200 Message-ID: <834jv1jrah.fsf@gnu.org> References: <87k03ya8no.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1996"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59251@debbugs.gnu.org, casouri@gmail.com To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 01:09:12 2022 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 1oujVo-0000ME-Cw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 01:09:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouijR-0003Pb-Lk; Mon, 14 Nov 2022 18:19:13 -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 1ouieS-0002B8-Se for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 18:14:04 -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 1ouege-0002YS-CJ for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 14:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouegc-00025d-Pd for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 14:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Nov 2022 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59251 X-GNU-PR-Package: emacs Original-Received: via spool by 59251-submit@debbugs.gnu.org id=B59251.16684523707968 (code B ref 59251); Mon, 14 Nov 2022 19:00:02 +0000 Original-Received: (at 59251) by debbugs.gnu.org; 14 Nov 2022 18:59:30 +0000 Original-Received: from localhost ([127.0.0.1]:50864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oueg6-00024S-IP for submit@debbugs.gnu.org; Mon, 14 Nov 2022 13:59:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oueg4-00024E-M2 for 59251@debbugs.gnu.org; Mon, 14 Nov 2022 13:59:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouefz-0002Pb-4g; Mon, 14 Nov 2022 13:59:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5AlmNGspRjg8XoGoBEWU5NxGqTJoVwKmEmQSAORNn8M=; b=dpAorUuj4p9i a8T6cR8khoEtMziHjcA1JYNqEggx8/5Ir2fTOK7DnUdLHzDJleCg6XXT64THXZW+nUAGaQIr5AJk+ ul/z+R2jZViIxCTG5A1b2VhzoTxNJh488N8ACbyO7uFxNyqvH3eRBOk8bp1MhXF1SchS0q+MprTcQ PL2nwDTLD+pFrlcagv86acKG+xlORBEiw0DJLDnLn0OcFGjvZkilieJifjGw7SAyJ1hlaTUufJRsG gACXowvwkpd7xVY91z/P7Hl6hNs13m9i0HY/P57SEmtrly8sxLBMRkV28A5gF2Cx5eEPFjLNRsO8d bWaGhZv/t0hMLMfgDkDrrA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouefy-0006oX-IV; Mon, 14 Nov 2022 13:59:22 -0500 In-Reply-To: <87k03ya8no.fsf@thornhill.no> (bug-gnu-emacs@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:247846 Archived-At: > Cc: casouri@gmail.com > Date: Sun, 13 Nov 2022 21:42:19 +0100 > From: Theodor Thornhill via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > BTW, should we do the same thing we did with js-mode - add a js-ts-mode > and don't change the js.el file at all? We could either go the same > route as c-ts-mode, where we define both c and c++ in the same file, or > keep them separate. What do you think? >From my POV, it is best not to introduce new modes if that is possible. That way, we minimize confusion and allow users to adapt more easily. Only where the new mode is radically different from the old one and cannot be easily be an optional addition to the old one, is a completely new mode justified.