From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59251: 29.0.50; Fix-some-inconsistencies-in-ts-modes Date: Mon, 14 Nov 2022 20:12:29 +0100 Message-ID: <87k03xl59e.fsf@thornhill.no> References: <87k03ya8no.fsf@thornhill.no> <834jv1jrah.fsf@gnu.org> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59251@debbugs.gnu.org, casouri@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 01:38:00 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 1oujxf-0009ZO-Hi for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 01:37:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouijS-0003QY-3M; Mon, 14 Nov 2022 18:19:14 -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 1ouieR-0003Lu-9u for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 18:14:03 -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 1ouetC-000156-98 for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 14:13:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouetB-0002Og-Q0 for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 14:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Nov 2022 19:13:01 +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.16684531609184 (code B ref 59251); Mon, 14 Nov 2022 19:13:01 +0000 Original-Received: (at 59251) by debbugs.gnu.org; 14 Nov 2022 19:12:40 +0000 Original-Received: from localhost ([127.0.0.1]:50874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouesq-0002O4-6k for submit@debbugs.gnu.org; Mon, 14 Nov 2022 14:12:40 -0500 Original-Received: from out0.migadu.com ([94.23.1.103]:53423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouesn-0002Nv-UI for 59251@debbugs.gnu.org; Mon, 14 Nov 2022 14:12:39 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1668453156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nbgHsgX8bhDLOEh4vOtJP/WSeCwqsZc9L81dFE8IyLY=; b=x/qj9iCGWQUZEnwExqod9zbRw1ScS0qiK8+eNFj7MW6DWT/Z6hz4nSxu6QZFnov+inUnsY XmUTUbbB1d1ewx6MVl4y478uzuHbkDPie8z2CDjEbHV8YFkMc+TJ9igLIYHWSMD8QgDBIm Li+LkmQly2Vncp/EtlTelFBp/sNqp7WbY7uolmhKNx60xO8apK9Rklakr0DnZsHGT0kJSL zdwgP5QSmzq/U3JktEZpJI8PP04pmLtLrOHKQqbmRX2+HxfTVN9bH5UK+kv5cKCDpuNWCk 2FPbnA4ksZG6VKkM3+wiSzbpL8lSF+dFwemg5/zECF2DJVJwWg3GfKjHZRh66A== In-Reply-To: <834jv1jrah.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT 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:247868 Archived-At: Eli Zaretskii writes: >> 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. Then I think we should do something like one of the first suggestions I made weeks ago - separate the inits so that as little as possible is shared between them. If we do that, then it would at least make sense to merge css and javascript.