From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#75154: 31.0.50; java-ts-mode. Issues with Indentation Date: Wed, 1 Jan 2025 19:23:52 -0600 Message-ID: References: <87ttapdtre.fsf@void> <86pllcurry.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12385"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75154@debbugs.gnu.org, Theodor Thornhill , Artem To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 02:24:30 2025 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 1tT9wr-00034v-Di for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 02:24:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tT9wf-0004kc-5K; Wed, 01 Jan 2025 20:24:18 -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 1tT9wR-0004jd-6B for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 20:24:05 -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 1tT9wQ-0001Rc-Px for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 20:24:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=iE25oi9v+V2zYfQ1opWysVIBhaFBofF+i+YDaaxoCPc=; b=dDDN9VXx3A4+9kHjVs+b0rYw74UQOZB0TKU9p8HiNaVnbCTi6xIta5kNTjoyZRYRzD+X86kQv2aR1MkELNhar3M4O64f9+BmrNE1BrynEbr7jYEzwuqZpwSDMyNKyAve+pKZ7P94L3e1GBdirmxyBTUf3fPfKfGSTRQvtCaxDZrAkXZNQUdGX2eUlOuGtr1K8NyTsmSA8NJonnafOjNbjFdxGnjhjI5xv7lNDA42+IxjcoYChcq/EVB16Diy5Vnyz4yC9+148Z47Lazd0pZwVYPyJOYAN+wxapLDj91A+/99mxibPsIujzlGap8Ox/XqA9NrAlnZrGTLXMk/9/QzKQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tT9wQ-0000IR-Gd for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 20:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 01:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75154 X-GNU-PR-Package: emacs Original-Received: via spool by 75154-submit@debbugs.gnu.org id=B75154.17357810411132 (code B ref 75154); Thu, 02 Jan 2025 01:24:02 +0000 Original-Received: (at 75154) by debbugs.gnu.org; 2 Jan 2025 01:24:01 +0000 Original-Received: from localhost ([127.0.0.1]:41109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tT9wP-0000IC-0m for submit@debbugs.gnu.org; Wed, 01 Jan 2025 20:24:01 -0500 Original-Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:44169) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tT9wN-0000Ht-9U for 75154@debbugs.gnu.org; Wed, 01 Jan 2025 20:23:59 -0500 Original-Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d3e6274015so19110048a12.0 for <75154@debbugs.gnu.org>; Wed, 01 Jan 2025 17:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735781033; x=1736385833; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=iE25oi9v+V2zYfQ1opWysVIBhaFBofF+i+YDaaxoCPc=; b=dUDSK1hM+3v/EclYuAAGc3ZI2KbrNM+Z9d4ZCfTHwflwbeS9lxprDOhd1T37+3zhOr LqZnxNCHLpEUDz2gpakjB7azPY1SF7Qp4FdxO4goRFDj9V7d4lXraZ95W0fZ7MeTPLts f4IL50oi25NnNzzOhi7sQvuI2HXeP491CXHU990Px5jgQ7HHDmbTdSJq1sTuW2q1YHEw PN4z1lX3YZXEaU+akdlwg3DwEIZR5xKY41E7KjAIrs9W8xGg9YbNypjQR23jyNRp3Cvd a1tee8mR/Vm9Wg3mfrpabZNcrvXj45/9sAxo0Wu/X185ZH6B5eHjpCCyC7Vn3irx9Yix WjXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735781033; x=1736385833; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iE25oi9v+V2zYfQ1opWysVIBhaFBofF+i+YDaaxoCPc=; b=smHbDyc6w+I/EjS+8usdmcXUbw2fX/A/rChJ+WGez8EKKFtYivKpeVD3GasuksVkbj HNSeCXSUZd2rj7ULynTNmsxhxyPOJ2SzEdqQvns/Mtm3RzDOW/moq86wIO2Iu04WY5KH K793CLyMIPSBgMpDUsdn5jw2O/IuIOMPTicmT8rfRZ9esLPhVAfT0yjjd4uJuAyi6t4x Tp7t5MF7tBizzpnzMcmbTSaZMzplItDdEJDY6A37coWjqsJ7tzO35WUttKCFZtQuX44P 4qOZJ9cZit7SQJYvw9PMsiA6eX2geRkBty1J85ok+2yj3cr/fsszsA1r1mts6jR8J5Ac lfOQ== X-Forwarded-Encrypted: i=1; AJvYcCUFK61Aq//Bb2/AZMP9K0guDtIfFJK92DVXuwm1CYXjXNslRVLzPRypQREPhTFZ+bEXV21DNg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxSMuwP+PSZhZU0unkRq60IDBvwJNZHX398Db0VYmHnqGO7E0zD mrwuxj2eldZoLSZHGSoHlUosngUZi72C4AXwYJplTDozZ6GTFyfUUHgc7pQ0K99vO2WjyPKFd3S 5v4N2cTGvktcpGZeidSmKZfHXurVGpIFV X-Gm-Gg: ASbGncsWkTa1SPdpFQ4Gcq0I5OzRmUp5s2T13aooQAn1aNwSz5d9I6Im2Q2+RGFUCSR qQGFq/3DUVrs04MPJMDCSb9ncgQxjZcw8yhjazwEs X-Google-Smtp-Source: AGHT+IEWIDaV2sXMJp6cLTGVixBHIQKX+tEyEqlpbGGscyIZ6RCAJRRtfr7kG1vXq1EJN/goQpYtrLtq1nyJuw6sorU= X-Received: by 2002:a05:6402:400c:b0:5d0:9081:792f with SMTP id 4fb4d7f45d1cf-5d81ddbf39emr44748700a12.16.1735781033216; Wed, 01 Jan 2025 17:23:53 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 1 Jan 2025 19:23:53 -0600 In-Reply-To: <86pllcurry.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Dec 2024 10:37:53 +0200") 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:298084 Archived-At: Eli Zaretskii writes: >> From: Artem >> Date: Fri, 27 Dec 2024 18:34:45 +0300 >> >> 2) Inner Classes >> Example 1: >> public class Outer { >> class Inner {| <-- cursor here moves Inner class unexpectedly >> >> } >> } >> Example 2: >> public class Outer { >> class Inner { // ??? >> | <-- cursor here. >> } >> } >> >> Why does this happen? > > Crystal ball says this is because electric-indent-mode is turned on > (it is turned on by default in Emacs). Theodor, any comments here?