From unknown Sat Aug 16 18:21:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67976: java-ts-mode test failure Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2023 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 67976@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170328286226669 (code B ref -1); Fri, 22 Dec 2023 22:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2023 22:07:42 +0000 Received: from localhost ([127.0.0.1]:47998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngD-0006w4-Uo for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngB-0006va-An for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:39 -0500 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 1rGng1-0007b0-1r for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:29 -0500 Received: from out-172.mta1.migadu.com ([95.215.58.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfz-0006T0-BE for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:28 -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=pub.pink; s=key1; t=1703282844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=us77yych6fLQYSIbbfDdPaHnK4P7n4fjUn+qFf1hzDc=; b=T64geoNImcD26VOGh+hAV9FVhn98b+jk8NRkcsRAB+xK61VMAn0LjJ+r2lrdjqxTMyKKJ+ tkyO0n2CUqFbMgedUvWSv/cw+70d8BqGwBtXamaLQddzVmSxljBdHu3TFwJiTsdxn5c0jM zGSriwUa521SPlc8YwO8oKY+E8GdiL8= From: john muhl Date: Fri, 22 Dec 2023 15:09:02 -0600 Message-ID: <87msu1vqlj.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.172; envelope-from=jm@pub.pink; helo=out-172.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Bisect says the first bad commit is 9874561f39e /home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lis= p/progmodes/java-ts-mode.el ert -load /home/build/emacs/test/lisp/progmodes= /java-ts-mode-tests.el -eval '(ert-run-tests-batch-and-exit '\''(not (tag := unstable)))' Running 2 tests (2023-12-22 19:05:47+0000, selector =E2=80=98(not (tag :uns= table))=E2=80=99) Test java-ts-mode-test-indentation backtrace: signal(ert-test-failed (("Mismatch in test \"Statements\", file /hom ert-fail(("Mismatch in test \"Statements\", file /home/build/emacs/t ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/java-ts-mo (closure (t) nil (let* ((fn-0 #'treesit-ready-p) (args-1 (condition- ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name java-ts-mode-test-indentation :docume ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable))=20 ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) command-line-1(("-load" ".emacs" "-load" "/home/build/emacs/lisp/pro command-line() normal-top-level() Test java-ts-mode-test-indentation condition: (ert-test-failed ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/pr= ogmodes/java-ts-mode-resources/indent.erts" #( "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n\= 11for (int i =3D 0; x < foos.size(); i++) {\n return;\n\11}\n = } else {\n\11return;\n }\n" 0 159 (fontified nil)) "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {= \n for (int i =3D 0; x < foos.size(); i++) {\n return;\n }\n} = else {\n return;\n}\n")) FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at emacs/test/= lisp/progmodes/java-ts-mode-tests.el:26 passed 2/2 java-ts-mode-test-movement (0.004179 sec) Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+0000,= 0.134714 sec) 1 unexpected results: FAILED java-ts-mode-test-indentation From unknown Sat Aug 16 18:21:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67976: java-ts-mode test failure Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 05:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: john muhl Cc: Theodor Thornhill , 67976@debbugs.gnu.org Received: via spool by 67976-submit@debbugs.gnu.org id=B67976.17033093308511 (code B ref 67976); Sat, 23 Dec 2023 05:29:01 +0000 Received: (at 67976) by debbugs.gnu.org; 23 Dec 2023 05:28:50 +0000 Received: from localhost ([127.0.0.1]:48314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGuZ7-0002DD-UD for submit@debbugs.gnu.org; Sat, 23 Dec 2023 00:28:50 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:59804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGuZ5-0002D0-D5 for 67976@debbugs.gnu.org; Sat, 23 Dec 2023 00:28:48 -0500 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6d775f9af42so2221953b3a.3 for <67976@debbugs.gnu.org>; Fri, 22 Dec 2023 21:28:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703309316; x=1703914116; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LkfN/kKHoqykv7RjXKSNvn37/YKGzpR9zyAS/NSiHmY=; b=Nh5E7Bl21p2G2EiveW6xtpEJR4iBD5Hske4hxpdjITz/Y6T4qgH7HTpuSynmExTHGF U4yf+7Bfu4rh3Y2OYLp9OLRQ8AkchHLL0FpY2HXKiEy7IEaohqjHKroGINIafH8evz4L kY2UfB26tWT0gyyI0dxtHhppoSd+Wls8l80M0cxRBZkgp9P15sgv3T0WV7giwkb9LCMk gs+MghcVcB2lagO9PMHtmsETBa3QMIJJNbOlnWjMthbGqpNwobnHY4vRlHFSk8e4ox8F OQb5Jgt1owirRBDMkbAQ/AH7YYgNSuf6GwH9l6MNIrI/oOSVs9njzlSZ+csljGOPT7G3 bTig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703309316; x=1703914116; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LkfN/kKHoqykv7RjXKSNvn37/YKGzpR9zyAS/NSiHmY=; b=Q9bxuf3sK71KEsSwhn2VjB/doEEMovJjel866PL5cCi4wcTtQwaEKsENQVPFSreBbc SBx2LVEkDdS6AT7W7jAffFJDq18JkOZGcJnA1XQj6ZtTuvtJ3uO0DUT388Vqt3NrEZ+M 77hPRZXl6O+h0mo9+OnQVBMD8lay0kIUiJpAc583dfvGY6ObIj0RTfsQmAbHo0GWDvJM NVm5VCxk+4B6XQC1lcCtIGHwleUJpyt2VYdeUpoIV5mtDRWnq5GqliP/+Vn0W01ofvoN mlEbMcBbwJyY5oPhsWjgMN8vZwA5/9eHM0KfSL8u9S/irxjgmhpzb81AhQjr8CLarpOy zoow== X-Gm-Message-State: AOJu0YxL7xL/63+Q8IhdHB6vravw3n4nDDdVN1uJJr52l7xglXvurBMP hZ2/VXkV+qoLY7Msm5GEfV0caPSH6Gu7KA== X-Google-Smtp-Source: AGHT+IHwpr1O9ZKEBwgdw/wJ2PnL1Rey56s7Q2xPaUo0/V8FRvHR72HYVStBUrw2TwhBVLi3Ed2epg== X-Received: by 2002:a05:6a21:a58a:b0:195:5ad4:f85f with SMTP id gd10-20020a056a21a58a00b001955ad4f85fmr1026684pzc.50.1703309316481; Fri, 22 Dec 2023 21:28:36 -0800 (PST) Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id hf17-20020a17090aff9100b0028c2b52d132sm539264pjb.13.2023.12.22.21.28.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Dec 2023 21:28:36 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) From: Yuan Fu In-Reply-To: <87msu1vqlj.fsf@pub.pink> Date: Fri, 22 Dec 2023 21:28:25 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87msu1vqlj.fsf@pub.pink> X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Dec 22, 2023, at 1:09 PM, john muhl via Bug reports for GNU Emacs, = the Swiss army knife of text editors wrote: >=20 > Bisect says the first bad commit is 9874561f39e >=20 > /home/build/emacs/src/emacs -batch -load .emacs -load = /home/build/emacs/lisp/progmodes/java-ts-mode.el ert -load = /home/build/emacs/test/lisp/progmodes/java-ts-mode-tests.el -eval = '(ert-run-tests-batch-and-exit '\''(not (tag :unstable)))' > Running 2 tests (2023-12-22 19:05:47+0000, selector =E2=80=98(not (tag = :unstable))=E2=80=99) > Test java-ts-mode-test-indentation backtrace: > signal(ert-test-failed (("Mismatch in test \"Statements\", file /hom > ert-fail(("Mismatch in test \"Statements\", file /home/build/emacs/t > ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s > ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/java-ts-mo > (closure (t) nil (let* ((fn-0 #'treesit-ready-p) (args-1 (condition- > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > ert-run-test(#s(ert-test :name java-ts-mode-test-indentation :docume > ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable))=20= > ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type > ert-run-tests-batch((not (tag :unstable))) > ert-run-tests-batch-and-exit((not (tag :unstable))) > eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) > command-line-1(("-load" ".emacs" "-load" "/home/build/emacs/lisp/pro > command-line() > normal-top-level() > Test java-ts-mode-test-indentation condition: > (ert-test-failed > ("Mismatch in test \"Statements\", file = /home/build/emacs/test/lisp/progmodes/java-ts-mode-resources/indent.erts" > #( > "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) = {\n\11for (int i =3D 0; x < foos.size(); i++) {\n = return;\n\11}\n } else {\n\11return;\n }\n" > 0 159 (fontified nil)) > "if (x) {\n for (var foo : foos) {\n \n }\n} else if = (y) {\n for (int i =3D 0; x < foos.size(); i++) {\n return;\n = }\n} else {\n return;\n}\n")) > FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at = emacs/test/lisp/progmodes/java-ts-mode-tests.el:26 > passed 2/2 java-ts-mode-test-movement (0.004179 sec) >=20 > Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 = 19:05:47+0000, 0.134714 sec) >=20 > 1 unexpected results: > FAILED java-ts-mode-test-indentation >=20 CC=E2=80=99ing Theo here, since I don=E2=80=99t know java-ts-mode very = well. Yuan= From unknown Sat Aug 16 18:21:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67976: java-ts-mode test failure Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2023 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu , john muhl Cc: 67976@debbugs.gnu.org Received: via spool by 67976-submit@debbugs.gnu.org id=B67976.170375054816751 (code B ref 67976); Thu, 28 Dec 2023 08:03:01 +0000 Received: (at 67976) by debbugs.gnu.org; 28 Dec 2023 08:02:28 +0000 Received: from localhost ([127.0.0.1]:38353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIlLX-0004M7-HM for submit@debbugs.gnu.org; Thu, 28 Dec 2023 03:02:27 -0500 Received: from out-187.mta1.migadu.com ([95.215.58.187]:59379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIlLV-0004Lz-Qi for 67976@debbugs.gnu.org; Thu, 28 Dec 2023 03:02:26 -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=1703750545; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sv2qBLnOGU2l/GFE4nL5tJ48ek6gNyjZPNzI6cmg3OU=; b=oqbl2ERHRT10lKFCNqiDn1c+vXw5BRMKwYvR+6A+PKXyaVP7mDptNx+D56CVIBx3ySHinI 1AYgJEmAHAqQ6b5E1vZcbIroeh8I4Rn0umx1FZ9Gca7PpDGNQGtl6wkX4Upw2/Dg4OzJa2 luuPJUguS8ERkSeIrcATiD97CSXJs229AV8ziZAgxw0s+qxEekgDXlJNOGz351LYsiib5V zuWi0Q/pxM2rTh8O+/UmBSx40/i1tffaciGNmKaERqizAOjgUEWtDbMDSg0tnO7bwBgmIp P8ouQwybVybgZuFpRDTqNJTdn+qNz07AxJckLDlDHUIyt0wnpOnaDBJzqx8YjQ== From: Theodor Thornhill In-Reply-To: References: <87msu1vqlj.fsf@pub.pink> Date: Thu, 28 Dec 2023 09:02:19 +0100 Message-ID: <87plyqvjp0.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yuan Fu writes: >> On Dec 22, 2023, at 1:09 PM, john muhl via Bug reports for GNU Emacs, th= e Swiss army knife of text editors wrote: >>=20 >> Bisect says the first bad commit is 9874561f39e >>=20 >> /home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/= lisp/progmodes/java-ts-mode.el ert -load /home/build/emacs/test/lisp/progmo= des/java-ts-mode-tests.el -eval '(ert-run-tests-batch-and-exit '\''(not (ta= g :unstable)))' >> Running 2 tests (2023-12-22 19:05:47+0000, selector =E2=80=98(not (tag := unstable))=E2=80=99) >> Test java-ts-mode-test-indentation backtrace: >> signal(ert-test-failed (("Mismatch in test \"Statements\", file /hom >> ert-fail(("Mismatch in test \"Statements\", file /home/build/emacs/t >> ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s >> ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/java-ts-mo >> (closure (t) nil (let* ((fn-0 #'treesit-ready-p) (args-1 (condition- >> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test >> ert-run-test(#s(ert-test :name java-ts-mode-test-indentation :docume >> ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable))=20 >> ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type >> ert-run-tests-batch((not (tag :unstable))) >> ert-run-tests-batch-and-exit((not (tag :unstable))) >> eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) >> command-line-1(("-load" ".emacs" "-load" "/home/build/emacs/lisp/pro >> command-line() >> normal-top-level() >> Test java-ts-mode-test-indentation condition: >> (ert-test-failed >> ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/= progmodes/java-ts-mode-resources/indent.erts" >> #( >> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\= n\11for (int i =3D 0; x < foos.size(); i++) {\n return;\n\11}\n = } else {\n\11return;\n }\n" >> 0 159 (fontified nil)) >> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y)= {\n for (int i =3D 0; x < foos.size(); i++) {\n return;\n }\n= } else {\n return;\n}\n")) >> FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at emacs/tes= t/lisp/progmodes/java-ts-mode-tests.el:26 >> passed 2/2 java-ts-mode-test-movement (0.004179 sec) >>=20 >> Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+00= 00, 0.134714 sec) >>=20 Thanks, I'll look at it! Theo >> 1 unexpected results: >> FAILED java-ts-mode-test-indentation >>=20 > > CC=E2=80=99ing Theo here, since I don=E2=80=99t know java-ts-mode very we= ll. > > Yuan From unknown Sat Aug 16 18:21:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67976: java-ts-mode test failure Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2023 09:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu Cc: john muhl , 67976@debbugs.gnu.org Received: via spool by 67976-submit@debbugs.gnu.org id=B67976.170375400921668 (code B ref 67976); Thu, 28 Dec 2023 09:01:01 +0000 Received: (at 67976) by debbugs.gnu.org; 28 Dec 2023 09:00:09 +0000 Received: from localhost ([127.0.0.1]:38418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rImFN-0005bv-48 for submit@debbugs.gnu.org; Thu, 28 Dec 2023 04:00:09 -0500 Received: from out-187.mta1.migadu.com ([95.215.58.187]:51813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rImFJ-0005N4-Lw for 67976@debbugs.gnu.org; Thu, 28 Dec 2023 04:00:07 -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=1703754004; 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=gGF3iy/wu4ctwxpXk5Js/yMc8nTrn93BGCMzPCSkfDQ=; b=A31ExKCjPtez27ltJVXpvKYLco7t3g2cLXRqak1mlWqjfrG4iz7BP4Go/AAV/rneU3DQAX 93Aj/FjQ1iBHx5+uHn0Dwd/AUiNMrpW7KTZA0me+sTl1desok2Nt4HBB1upF8CQato8KkX 7hJFABTN+CS8OIu5FQASVGPAGNI69QJWAN1lX7jECNkKz0ZDm7F/Ms/cY03LyI509aCN5B r+AdXNqkA9+DJpVSn61dPUFi2Af9AF4Umd//Y9UdipESh7FkMTBEVdWVTPwre89QGOjX7T NkbPsF5af5sVQ0mVQOWUhxcVvAsKXQ2RbH2OrjxOTJnmYA2hxQekA1R+Gjk3NQ== From: Theodor Thornhill In-Reply-To: <87plyqvjp0.fsf@thornhill.no> (Theodor Thornhill's message of "Thu, 28 Dec 2023 09:02:19 +0100") References: <87msu1vqlj.fsf@pub.pink> <87plyqvjp0.fsf@thornhill.no> Date: Thu, 28 Dec 2023 10:00:00 +0100 Message-ID: <87r0j6aei7.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Theodor Thornhill writes: > Yuan Fu writes: > >>> On Dec 22, 2023, at 1:09 PM, john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: [...] >>> ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/progmodes/java-ts-mode-resources/indent.erts" >>> #( >>> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n\11for (int i = 0; x < foos.size(); i++) {\n return;\n\11}\n } else {\n\11return;\n }\n" >>> 0 159 (fontified nil)) >>> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n for (int i = 0; x < foos.size(); i++) {\n return;\n }\n} else {\n return;\n}\n")) >>> FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at emacs/test/lisp/progmodes/java-ts-mode-tests.el:26 >>> passed 2/2 java-ts-mode-test-movement (0.004179 sec) >>> >>> Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+0000, 0.134714 sec) >>> > > Thanks, I'll look at it! > > Theo > So I understand the bug now, and it seems you're right in that commit being the offender. I'll see if I can rewrite the matchers to skip the assumption that no longer works. It looks a little like a "rewrite" of the indentation, though, so I need some time to do it correctly. Theo From unknown Sat Aug 16 18:21:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67976: java-ts-mode test failure Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Dec 2023 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Theodor Thornhill Cc: Yuan Fu , 67976@debbugs.gnu.org Received: via spool by 67976-submit@debbugs.gnu.org id=B67976.170396466315018 (code B ref 67976); Sat, 30 Dec 2023 19:32:02 +0000 Received: (at 67976) by debbugs.gnu.org; 30 Dec 2023 19:31:03 +0000 Received: from localhost ([127.0.0.1]:45089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJf30-0003tT-8G for submit@debbugs.gnu.org; Sat, 30 Dec 2023 14:31:02 -0500 Received: from out-186.mta1.migadu.com ([2001:41d0:203:375::ba]:45363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJf2x-0003ms-7o for 67976@debbugs.gnu.org; Sat, 30 Dec 2023 14:31:01 -0500 References: <87msu1vqlj.fsf@pub.pink> <87plyqvjp0.fsf@thornhill.no> <87r0j6aei7.fsf@thornhill.no> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1703964656; 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=Tbi+xQ1bjiO0YphM4RaUpMYVVeuuHxpolK5uEotKyvI=; b=q1PVK23B70X6Oro9EtmR4g377dQfSBuhnVLVkZTgFqegQbbv1GNpp1bOhxt+Z0UMvWi8Ya UFz5UyXJwBNJNbEdiyNan2tfNLnCf6WEWpgMcOCJpqci5j5iQSHxwLgqiFey8Re+UN+Jh+ P093S/tOXkK6cuSHUC5CrwA2jLLN8E0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: john muhl Date: Sat, 30 Dec 2023 13:18:39 -0600 In-reply-to: <87r0j6aei7.fsf@thornhill.no> Message-ID: <87jzovtrmb.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Theodor Thornhill writes: > Theodor Thornhill writes: > >> Yuan Fu writes: >> >>>> On Dec 22, 2023, at 1:09 PM, john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > > [...] > >>>> ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/progmodes/java-ts-mode-resources/indent.erts" >>>> #( >>>> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n\11for (int i = 0; x < foos.size(); i++) {\n return;\n\11}\n } else {\n\11return;\n }\n" >>>> 0 159 (fontified nil)) >>>> "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n for (int i = 0; x < foos.size(); i++) {\n return;\n }\n} else {\n return;\n}\n")) >>>> FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at emacs/test/lisp/progmodes/java-ts-mode-tests.el:26 >>>> passed 2/2 java-ts-mode-test-movement (0.004179 sec) >>>> >>>> Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+0000, 0.134714 sec) >>>> >> >> Thanks, I'll look at it! >> >> Theo >> > > So I understand the bug now, and it seems you're right in that commit > being the offender. I'll see if I can rewrite the matchers to skip the > assumption that no longer works. It looks a little like a "rewrite" of > the indentation, though, so I need some time to do it correctly. > > Theo It looks like 9874561f39e got reverted so the tests pass again. From unknown Sat Aug 16 18:21:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: john muhl Subject: bug#67976: closed (Re: bug#67976: java-ts-mode test failure) Message-ID: References: <83jzomu92q.fsf@gnu.org> <87msu1vqlj.fsf@pub.pink> X-Gnu-PR-Message: they-closed 67976 X-Gnu-PR-Package: emacs Reply-To: 67976@debbugs.gnu.org Date: Sat, 06 Jan 2024 09:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1704531902-27726-1" This is a multi-part message in MIME format... ------------=_1704531902-27726-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67976: java-ts-mode test failure which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67976@debbugs.gnu.org. --=20 67976: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67976 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1704531902-27726-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67976-done) by debbugs.gnu.org; 6 Jan 2024 09:04:34 +0000 Received: from localhost ([127.0.0.1]:58544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rM2bZ-0007CN-MJ for submit@debbugs.gnu.org; Sat, 06 Jan 2024 04:04:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rM2bY-0007CA-M9 for 67976-done@debbugs.gnu.org; Sat, 06 Jan 2024 04:04:32 -0500 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 1rM2bO-000613-92; Sat, 06 Jan 2024 04:04:22 -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=YsJgjGI3zsQ6mqpLzli9ywUpzl1tdTi/RqKNwHSDtg8=; b=lwfvDMTILarO pcCUvLpj/tokDl2U05CDTE/IHdb9FKeIat5zPaX/N8NnI2O1jfXKJ4JTiOCQRZ1vb1muh7X/mGeWN PE+tZSaK9vkYVJtEBSDiYx1DuqFuv346s5ZBjGU2RciFBt5UllkMgWWykIABIvx9RdfIMs7/QVhc8 8lNA8QysuS/toLYlG2FjAaIM4o8KIwEFRGI0vCAuFpULJDNNiq4E0C0dFX8X9O4bD9g2KO1AoqDxR +6rh+Ppv9xUHZEFZUpY35Pk65QsNFP3fnvn1p0ykVnHfjb9fUj2HPmrTgsx7RQS3z3dUBWJTBtMUZ RidBfTYC8GPjhcUsYnINFA==; Date: Sat, 06 Jan 2024 11:04:13 +0200 Message-Id: <83jzomu92q.fsf@gnu.org> From: Eli Zaretskii To: john muhl In-Reply-To: <87jzovtrmb.fsf@pub.pink> (bug-gnu-emacs@gnu.org) Subject: Re: bug#67976: java-ts-mode test failure References: <87msu1vqlj.fsf@pub.pink> <87plyqvjp0.fsf@thornhill.no> <87r0j6aei7.fsf@thornhill.no> <87jzovtrmb.fsf@pub.pink> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67976-done Cc: casouri@gmail.com, theo@thornhill.no, 67976-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: Yuan Fu , 67976@debbugs.gnu.org > Date: Sat, 30 Dec 2023 13:18:39 -0600 > From: john muhl via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > It looks like 9874561f39e got reverted so the tests pass again. Thanks, I'm therefore closing this bug. ------------=_1704531902-27726-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Dec 2023 22:07:42 +0000 Received: from localhost ([127.0.0.1]:47998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngD-0006w4-Uo for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngB-0006va-An for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:39 -0500 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 1rGng1-0007b0-1r for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:29 -0500 Received: from out-172.mta1.migadu.com ([95.215.58.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfz-0006T0-BE for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:28 -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=pub.pink; s=key1; t=1703282844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=us77yych6fLQYSIbbfDdPaHnK4P7n4fjUn+qFf1hzDc=; b=T64geoNImcD26VOGh+hAV9FVhn98b+jk8NRkcsRAB+xK61VMAn0LjJ+r2lrdjqxTMyKKJ+ tkyO0n2CUqFbMgedUvWSv/cw+70d8BqGwBtXamaLQddzVmSxljBdHu3TFwJiTsdxn5c0jM zGSriwUa521SPlc8YwO8oKY+E8GdiL8= From: john muhl To: bug-gnu-emacs@gnu.org Subject: java-ts-mode test failure Date: Fri, 22 Dec 2023 15:09:02 -0600 Message-ID: <87msu1vqlj.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.172; envelope-from=jm@pub.pink; helo=out-172.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Bisect says the first bad commit is 9874561f39e /home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lis= p/progmodes/java-ts-mode.el ert -load /home/build/emacs/test/lisp/progmodes= /java-ts-mode-tests.el -eval '(ert-run-tests-batch-and-exit '\''(not (tag := unstable)))' Running 2 tests (2023-12-22 19:05:47+0000, selector =E2=80=98(not (tag :uns= table))=E2=80=99) Test java-ts-mode-test-indentation backtrace: signal(ert-test-failed (("Mismatch in test \"Statements\", file /hom ert-fail(("Mismatch in test \"Statements\", file /home/build/emacs/t ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/java-ts-mo (closure (t) nil (let* ((fn-0 #'treesit-ready-p) (args-1 (condition- ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name java-ts-mode-test-indentation :docume ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable))=20 ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t) command-line-1(("-load" ".emacs" "-load" "/home/build/emacs/lisp/pro command-line() normal-top-level() Test java-ts-mode-test-indentation condition: (ert-test-failed ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/pr= ogmodes/java-ts-mode-resources/indent.erts" #( "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {\n\= 11for (int i =3D 0; x < foos.size(); i++) {\n return;\n\11}\n = } else {\n\11return;\n }\n" 0 159 (fontified nil)) "if (x) {\n for (var foo : foos) {\n \n }\n} else if (y) {= \n for (int i =3D 0; x < foos.size(); i++) {\n return;\n }\n} = else {\n return;\n}\n")) FAILED 1/2 java-ts-mode-test-indentation (0.010839 sec) at emacs/test/= lisp/progmodes/java-ts-mode-tests.el:26 passed 2/2 java-ts-mode-test-movement (0.004179 sec) Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+0000,= 0.134714 sec) 1 unexpected results: FAILED java-ts-mode-test-indentation ------------=_1704531902-27726-1--