From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Norden Newsgroups: gmane.emacs.bugs Subject: bug#64133: CC Mode 5.35.2 (C/*l); incorrect indentation for an arrays of structs. Date: Wed, 21 Jun 2023 13:43:20 -0500 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 64133@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 20:44:31 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 1qC2og-0009e9-4f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 20:44:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qC2oI-00018W-RJ; Wed, 21 Jun 2023 14:44:06 -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 1qC2oF-00018F-MI for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 14:44: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 1qC2oD-0004BB-UO for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 14:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qC2oD-0007oV-Q4 for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 14:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeff Norden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2023 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64133 X-GNU-PR-Package: emacs Original-Received: via spool by 64133-submit@debbugs.gnu.org id=B64133.168737303430006 (code B ref 64133); Wed, 21 Jun 2023 18:44:01 +0000 Original-Received: (at 64133) by debbugs.gnu.org; 21 Jun 2023 18:43:54 +0000 Original-Received: from localhost ([127.0.0.1]:34209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC2o6-0007nt-8E for submit@debbugs.gnu.org; Wed, 21 Jun 2023 14:43:54 -0400 Original-Received: from mail-pj1-f51.google.com ([209.85.216.51]:44429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qC2o4-0007ne-GF for 64133@debbugs.gnu.org; Wed, 21 Jun 2023 14:43:53 -0400 Original-Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-25eee11a9f1so2647221a91.1 for <64133@debbugs.gnu.org>; Wed, 21 Jun 2023 11:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687373026; x=1689965026; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uusnF4EKON45qTDBHX3WGpYhU8gWhBQO60+ZnDSfICo=; b=Prbiu1FDwhj6LQV8YcjaXx8ljcNdrnE8bXU/Zj+Nr41bkwtgXtssozsasua8DT07ms 5cEt/C4eswfshGdU3Y2A/3mdttJlHpJzbeT5T/7hsj9Ma16vqjJ8mV0gsyDFs5WQ9hpf +kapzNaVckiZDl33MC+kBGIIoUypl65og2aJms8IFIkDZ9Ws3AvwNqvWt+AHB2n39Sk2 72qLTra7Www/tZQZA7LYaIA4e/6AjdcE0zVAGXf66itYycsI3JbW+EafanJpuVvr212x UDsUIJjJ2UsER7jMDhq66rEWw22eUP4kPYO/1jrEopuJ6a4+MX4vVjtFzMR3l3aqVJN6 qRWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687373026; x=1689965026; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uusnF4EKON45qTDBHX3WGpYhU8gWhBQO60+ZnDSfICo=; b=HuydbJJDuKPLrGmYnu6HUN/KGssbY6uw6+kOt42pXUSbkmDYxpvjeVzC4LJJXQ9Rwr BJtqWPHVK5doyOwe9I80XLFkWLr/7eTXU58PS6EQ4hzCgG0S6QnJP26E/uvMNPAfZRMX 2ubLH5j6G/a5xi/r3XqP5E8Cmm8m9vy2MAEb0ahsED44nwekXkSmQtle2i9akpXarhaC RFoa40SxkYMT2ERdipb27cqzIJ7b//MDrXvuqFG1JhDT4yXCcxM4GzbM12CUW5uB6uNR n3NM4jpq0XhQV22SsQccK+JKfxNFsfwsQ6tbBeEalbXMk5Oh5ysE86PRMyjdXfQod3yG q0Jg== X-Gm-Message-State: AC+VfDw0AiaWTQbzwLpSnb2CZBoig6irdFKMcsf25SWA6SSgfEKdpRvp A2uN16HZQyMn93mqeSjpD2t6FFcPNfrKQ0Nbt1Q= X-Google-Smtp-Source: ACHHUZ46VgWv556MLPt3r1CvbrPaal9nNpvwbk5xWq2ZkWnGOc57b2VzFBsQDM4TZyPjW4I0UGj6Yf2nOaWt9VZqX5k= X-Received: by 2002:a17:90a:cb08:b0:258:d910:619d with SMTP id z8-20020a17090acb0800b00258d910619dmr12550164pjt.14.1687373026499; Wed, 21 Jun 2023 11:43:46 -0700 (PDT) In-Reply-To: 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:263845 Archived-At: On Wed, Jun 21, 2023 at 5:39=E2=80=AFAM Alan Mackenzie wrote: > Hello again, Jeff. > > 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. -Jeff