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#61893: 29.0.60; Indentation in c-ts-mode broken again Date: Thu, 02 Mar 2023 08:31:19 +0200 Message-ID: <83y1ofekaw.fsf@gnu.org> References: <83k000fsg8.fsf@gnu.org> <990CFB42-B7E4-4692-858B-20080B19A801@thornhill.no> <83a60wflwm.fsf@gnu.org> <835ybkfhuw.fsf@gnu.org> <3F6EB4C0-8216-4783-9DE4-0719F514F1B7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61893@debbugs.gnu.org, theo@thornhill.no, mardani29@yahoo.es To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 02 07:32:33 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 1pXcUS-0006ea-7b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Mar 2023 07:32:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXcU3-0000rw-O7; Thu, 02 Mar 2023 01:32:07 -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 1pXcTy-0000rB-LC for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 01:32: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 1pXcTy-0005PY-Cr for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 01:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXcTy-0000tL-2D for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 01:32: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: Thu, 02 Mar 2023 06:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61893 X-GNU-PR-Package: emacs Original-Received: via spool by 61893-submit@debbugs.gnu.org id=B61893.16777386743371 (code B ref 61893); Thu, 02 Mar 2023 06:32:02 +0000 Original-Received: (at 61893) by debbugs.gnu.org; 2 Mar 2023 06:31:14 +0000 Original-Received: from localhost ([127.0.0.1]:55586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXcTB-0000sJ-Ny for submit@debbugs.gnu.org; Thu, 02 Mar 2023 01:31:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXcT9-0000s4-99 for 61893@debbugs.gnu.org; Thu, 02 Mar 2023 01:31:11 -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 1pXcT2-0005Iz-OS; Thu, 02 Mar 2023 01:31:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gydkOsVGccDzrTv9jpn/+JTZoabcVJDV1GDsJ3cmeI0=; b=ryK5L3bM2uYapjpcy9CG 6VeXcp+NVZS6o27S2CTOBI0fD2V1bqkDF8tnmJ2vZqYLfll4QhJ1Z9O4vE8ZvQPqPTgzbd/91YpWw NpBnXoY+laQrrf2PpQ5V3Gvk2p6u+WqO2wlyJJDKKYyF2xFOzFnB82iUyA9U0Qyor9mQeQgheoKwX 5GxGoCGpGf8KadPZhqAbYM5AZ+TaWg0XojYSQguQCZKG4hzBjW3wn3qNRzG0nF1Bgpe4+ARDCo/Qt FOvz5U9Mynsco/bqEBXL56wOST6daR2xc3Ra0WHTG6OKHF0LjUibxYFuvaOEXx987YEhcYeaBSyRx PLJvBguWoBKJYQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXcT2-0000rI-5J; Thu, 02 Mar 2023 01:31:04 -0500 In-Reply-To: <3F6EB4C0-8216-4783-9DE4-0719F514F1B7@gmail.com> (message from Yuan Fu on Wed, 1 Mar 2023 14:08:23 -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:257115 Archived-At: > From: Yuan Fu > Date: Wed, 1 Mar 2023 14:08:23 -0800 > Cc: Daniel Martín , > Theodor Thornhill , > 61893@debbugs.gnu.org > > > Thanks. So I wasn't dreaming after all. > > Sorry about that. It should be fixed now. Thanks, it's much better now. I spotted the following problems, not sure if they are new or not: go to line 297 of dispnew.c, which is "#endif". Then type "C-e RET" -- point goes to column zero instead of the expected column 6. This affects the following 3 lines as well; only the next 'if' fixes the indentation. I see the same problem with every "#endif" line. Line 6584 of dispnew.c, which is this: #endif /* HAVE_WINDOW_SYSTEM */ exhibits a slightly different incorrect behavior: "C-e RET" on that line moves point to column 7, not column 6, presumably to align with the "/*" of the comment? Line 6608 of dispnew.c is just "#else"; typing "C-e RET" there unexpectedly goes to column 2 instead of 4.