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#61503: 29.0.60; js-ts-mode indent incorrect for multiline strings Date: Tue, 14 Feb 2023 20:56:55 +0100 Message-ID: <878rh010mw.fsf@thornhill.no> References: 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="40932"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61503@debbugs.gnu.org To: Geoff Jacobsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 14 20:57:26 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 1pS1Qb-000AKx-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Feb 2023 20:57:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS1QI-0000cp-Et; Tue, 14 Feb 2023 14:57: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 1pS1QF-0000bu-4L for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2023 14:57: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 1pS1QE-0002U8-Ef for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2023 14:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pS1QD-000867-VM for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2023 14:57: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: Tue, 14 Feb 2023 19:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61503 X-GNU-PR-Package: emacs Original-Received: via spool by 61503-submit@debbugs.gnu.org id=B61503.167640462031118 (code B ref 61503); Tue, 14 Feb 2023 19:57:01 +0000 Original-Received: (at 61503) by debbugs.gnu.org; 14 Feb 2023 19:57:00 +0000 Original-Received: from localhost ([127.0.0.1]:57089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS1QC-00085q-3g for submit@debbugs.gnu.org; Tue, 14 Feb 2023 14:57:00 -0500 Original-Received: from out-191.mta0.migadu.com ([91.218.175.191]:24020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pS1Q9-00085h-CX for 61503@debbugs.gnu.org; Tue, 14 Feb 2023 14:56:58 -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=1676404616; 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=1dC2v1ukASKRs1677FcEeu5YiBx6E651NjB/qxr1+SM=; b=G1qNsxNRJ/YSEKvh2IcsqGutgZmA8/QOlU/o0RBOsPhPBlPFgYC3kpcKbguQANYcXtU+fm OgyFcoBSICuFpQllNRobrS0MldK4M6D6bkB+8O55b0AghsnGJEeLiZhMt78n20/cKlfols Kc72vBHRuQfCR/mEqmJxwP16Mt6J6nZf1TUvT4cszrU1b7rstzLpDiBt1u3Pyo6GjkiTqV XMJvTrrWMvF5BbADrgjgQvcQyULOosS3swbDZP3puKqpUFdkGuklX9aZZfyLM+lx9huJ1s 8sDtHf9EbPbUONqYd8Tfn6/0YwNzx3WViNlSjW9wpnElVA0xDeT51CjMyH3WZQ== In-Reply-To: (Geoff Jacobsen's message of "Tue, 14 Feb 2023 19:30:42 +1300") 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:255627 Archived-At: Geoff Jacobsen writes: > When a multiline (backquote) string is defined in a buffer, with > major-mode js-ts-mode, the indent function incorrectly indents the > contents of the string. It should not alter the contents of the string. > > Example: > > const a = { > b: `1 > 2 > 3 > `}; > > is incorrectly changed to: > > const a = { > b: `1 > 2 > 3 > `}; Hi! Thanks for your report! It should be fixed now on latest emacs-29 branch :-) Theo