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#75154: 31.0.50; java-ts-mode. Issues with Indentation Date: Sat, 28 Dec 2024 10:37:53 +0200 Message-ID: <86pllcurry.fsf@gnu.org> References: <87ttapdtre.fsf@void> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75154@debbugs.gnu.org To: Artem Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 09:39:26 2024 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 1tRSM1-0001cM-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 09:39:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRSLq-0006qK-Kr; Sat, 28 Dec 2024 03:39: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 1tRSLg-0006p3-Ld for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:39:06 -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 1tRSLe-00073w-QP for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:39:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=UHBRhi9PNaywch5N7zlO3AHSrkVPpukaZClybBQu/RE=; b=EgrMWeXalfW04BEfVz3eaeUADnlU2CyHc+mBrGgAFPvc0UVjcNTLDyALOWg4/vuRB6WcuFUGAK5wYOAz0bT/KPIPIrpb1gNasxDqKXAGJfTOQUCVYDg/C8cYo2pPjPdITTToFypCbiJ1WU9gJy9JYHHz5VNGjXbYYgWvAJNG5RDUWEqazd29JGzPr4pFHxBj4FGI0vLTQO1HgpJRfs0hGdEwNOaKXUP1tvkN4d3i4ZYHxd3IAWRD5Mp4wulKHLk5bUyW2MDeayWmlFNqWKH+XZXabwn3DohbqIf6eAItAZCU8jH2kE7V3n4ihNigTRneNii3TQtGdRhiOeYfotnm/g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRSLe-0007wH-DJ for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 08:39: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.173537508430440 (code B ref 75154); Sat, 28 Dec 2024 08:39:02 +0000 Original-Received: (at 75154) by debbugs.gnu.org; 28 Dec 2024 08:38:04 +0000 Original-Received: from localhost ([127.0.0.1]:48674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRSKi-0007us-Fs for submit@debbugs.gnu.org; Sat, 28 Dec 2024 03:38:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRSKg-0007uL-I3 for 75154@debbugs.gnu.org; Sat, 28 Dec 2024 03:38:03 -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 1tRSKb-0006xa-53; Sat, 28 Dec 2024 03:37:57 -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=UHBRhi9PNaywch5N7zlO3AHSrkVPpukaZClybBQu/RE=; b=huyoOI3U8AUR yJ5Q/Evk8uJke8IdGDBXNGQGK7c4SG+SNQXd1XwO7ZNy2YR6tAjkKZYN979Rwit5qAeLO2p1w8+gS /dtL7x6IcJIf549JRdEh7Ih9PiT/9bzUcjw47QK4x2Zhlz3nfnKIyWpO9PPlnC8DWQzo8/aMTmJpU vcxqrpIb1tetxrYchVFxBaUDwD+yyVwOC2mXzQdupPBlALkrXHeqyIRNxrguCw4eJpHHJ9EXhPPDO IJLqbAcFK4Ar4IDul7FBqAHYaX89bt5t6UpsmWj8z2TIOCPrUrp23g7yUVTIenSlDE4KQfYgDpzGH QHwunG/2mb5Lq2Foxz9q6w==; In-Reply-To: <87ttapdtre.fsf@void> (message from Artem on Fri, 27 Dec 2024 18:34:45 +0300) 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:297857 Archived-At: > 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).