From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#64133: CC Mode 5.35.2 (C/*l); incorrect indentation for an arrays of structs. Date: Tue, 27 Jun 2023 20:19:25 +0000 Message-ID: References: <831qiaqfxh.fsf@gnu.org> <83y1kioxzv.fsf@gnu.org> 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="8956"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Eli Zaretskii , 64133-done@debbugs.gnu.org To: Jeff Norden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 27 22:20:21 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 1qEFAi-00026l-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Jun 2023 22:20:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEFAT-0003Nd-Fy; Tue, 27 Jun 2023 16:20:05 -0400 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 1qEFAQ-0003MO-Vy for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 16:20:03 -0400 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 1qEFAQ-0004to-KM for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qEFAQ-0002Vk-Bl for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 16:20:02 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jun 2023 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64133 X-GNU-PR-Package: emacs Mail-Followup-To: 64133@debbugs.gnu.org, acm@muc.de, norden.jeff@gmail.com Original-Received: via spool by 64133-done@debbugs.gnu.org id=D64133.16878971769612 (code D ref 64133); Tue, 27 Jun 2023 20:20:02 +0000 Original-Received: (at 64133-done) by debbugs.gnu.org; 27 Jun 2023 20:19:36 +0000 Original-Received: from localhost ([127.0.0.1]:49587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEF9z-0002Uy-Uy for submit@debbugs.gnu.org; Tue, 27 Jun 2023 16:19:36 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:15422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEF9w-0002Uj-Kb for 64133-done@debbugs.gnu.org; Tue, 27 Jun 2023 16:19:34 -0400 Original-Received: (qmail 81529 invoked by uid 3782); 27 Jun 2023 22:19:26 +0200 Original-Received: from acm.muc.de (pd953a258.dip0.t-ipconnect.de [217.83.162.88]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 27 Jun 2023 22:19:26 +0200 Original-Received: (qmail 3389 invoked by uid 1000); 27 Jun 2023 20:19:25 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:264179 Archived-At: Hello, Jeff. On Wed, Jun 21, 2023 at 13:43:20 -0500, Jeff Norden wrote: > On Wed, Jun 21, 2023 at 5:39 AM Alan Mackenzie wrote: > > OK, here's the patch which I think fixes the bug completely. Would you > > please apply this patch ... Then, please confirm that the bug is fixed, or > > tell me what's still not working. > Hi Alan, > Thanks for taking care of this so quickly. The patch seems to work > perfectly for me. I've tried it with 29.0.91 (2nd emacs-29 pretest) > and with my current git build of emacs from the master branch (which > is from June 11). Patch gives differing "offset" messages, but all of > the "hunks" succeed in both cases. I haven't built the 3rd emacs-29 > pretest yet, but I can't foresee that there will be a problem. I will > be using this some more over the next few days. I'll post again if I > notice any issues, but I don't expect to. Thanks for such comprehensive testing! I've now committed the patch to the Emacs master branch (it is too intricate a patch to go to the release branch at this late stage), and I'm closing the bug with this post. If any other problems become apparent in this area (or anywhere else), feel free to raise another bug report. > -Jeff -- Alan Mackenzie (Nuremberg, Germany).