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#67488: [PATCH] Fix typescript-ts-mode indentation for switch statements Date: Wed, 29 Nov 2023 16:35:06 +0200 Message-ID: <835y1k7hlx.fsf@gnu.org> References: <3420a38f-6ae7-fd20-28d8-e4815c8fa3cc@gutov.dev> <249b56d1-1345-4b59-98c7-3f019564fa82@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36088"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, 67488-done@debbugs.gnu.org To: Yuan Fu , Noah Peart Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 29 15:36:14 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 1r8Lfh-0009Bb-8r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Nov 2023 15:36:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8LfX-0000Rg-9f; Wed, 29 Nov 2023 09:36:03 -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 1r8LfR-0000QY-Ke for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 09:35:57 -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 1r8LfO-0003X6-Vx for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 09:35:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8LfW-0002ne-Dl for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 09:36:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Nov 2023 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67488 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 67488@debbugs.gnu.org, eliz@gnu.org, noah.v.peart@gmail.com Original-Received: via spool by 67488-done@debbugs.gnu.org id=D67488.170126854810738 (code D ref 67488); Wed, 29 Nov 2023 14:36:02 +0000 Original-Received: (at 67488-done) by debbugs.gnu.org; 29 Nov 2023 14:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:49253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8LfH-0002n8-Ph for submit@debbugs.gnu.org; Wed, 29 Nov 2023 09:35:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8LfF-0002mr-IP for 67488-done@debbugs.gnu.org; Wed, 29 Nov 2023 09:35:46 -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 1r8Lf2-0003SV-1s; Wed, 29 Nov 2023 09:35:32 -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=adeOdXUZsbvG+QUtb47a9PuIIh9rSzdpipgYTqIElYw=; b=Yv5XqxumwKDO PCzGFRVbXx8TQiGLJ6gqAIyhITDfL3FPQWMyfuWgryfXGRPES7r8P5vsL3c3hVqCdnbMvfJKkJBCR PEdKSXol9o0lsV8BKk67GzdsjQEX0o93KZC7FqhFzqAoTDFZ7TFUEEp7r1iVvdNvw1bZdzy3yfPpe rtSAmC34VffoMkrfSefaso1+irCzBwS+DuH92r09CkQ0+LK0LMcTO2RrJ/OF3uDMv+h8RB1OKsT3b 5tgyroWR5qy544hyTDM50OUU0G2X24gNZZeNwTVoEWLMxKgmof7mFPcO6BFv5uDWix5N61ydQBNYh DlIhyH/BwFAVDeOOiQIz3g==; In-Reply-To: <249b56d1-1345-4b59-98c7-3f019564fa82@gmail.com> (message from Yuan Fu on Mon, 27 Nov 2023 21:53:49 -0800) 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:275236 Archived-At: > Cc: theo@thornhill.no > Date: Mon, 27 Nov 2023 21:53:49 -0800 > From: Yuan Fu > > > Thanks! Can repro. The fix looks good as well. > > > LGTM. The only thing I'll add is that you can probably use a single > regular expression rather than using the "or" matcher. But that's > largely personal preference. Thanks, installed on the emacs-29 branch and closing the bug.