From unknown Wed Jun 18 22:56:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61398 <61398@debbugs.gnu.org> To: bug#61398 <61398@debbugs.gnu.org> Subject: Status: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line with '=' Reply-To: bug#61398 <61398@debbugs.gnu.org> Date: Thu, 19 Jun 2025 05:56:40 +0000 retitle 61398 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line= with '=3D' reassign 61398 emacs submitter 61398 Mohammed Sadiq severity 61398 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 01:23:56 2023 Received: (at submit) by debbugs.gnu.org; 10 Feb 2023 06:23:56 +0000 Received: from localhost ([127.0.0.1]:34167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMpA-0006OU-5B for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:57806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMp8-0006ON-Kj for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:54 -0500 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 1pQMp8-0002uy-CL for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 01:23:54 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQMp5-0005wU-18 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 01:23:54 -0500 Received: (Authenticated sender: sadiq@sadiqpk.org) by mail.gandi.net (Postfix) with ESMTPA id D7EEDC0005 for ; Fri, 10 Feb 2023 06:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=gm1; t=1676010223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T0tEPioFj+dIGsxMEZI/+nQ7ztQ8J/c/CHQF5XBa5eY=; b=CXeVCMilYkqRu/4lfcptJGvZQLoixx4ad7R93OzH+jXyzwDbCHet27lMiF1z+SrsG7UuNh NGy9mnSRqkeIDqbiwz8fTFTTBneIEB+ZhY82I46HpKSKvOOLnJ0OzOYikDhPOjpWbov6YV lVpX5d/srUfqtqR7OzoUnEi4A1QBw4Q5gHe6DS/P518qzg4wc5MY6gEsU5efMQCJItmei3 UAhCkfYA+xHVTpuyTPTN8+DkE31ZRwNBZJHDv5lxm07kIHXDvhzfFIWwoCLhqULGikC/G1 jqfaYgaj2rHWwnD2NDGSM7rE1R6mNjvLHB+pEhzuaPMpS1ZpfiBWZz0lRxUYYw== MIME-Version: 1.0 Date: Fri, 10 Feb 2023 11:53:42 +0530 From: Mohammed Sadiq To: bug-gnu-emacs@gnu.org Subject: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line with '=' Message-ID: <3d0c58c967cd1dc9419d67a777d87728@sadiqpk.org> X-Sender: sadiq@sadiqpk.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4b98:dc4:8::226; envelope-from=sadiq@sadiqpk.org; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) The closing '};' is indented wrong in the following array definition: const char *emoticons[][2] = { {":)", "🙂"}, {";)", "😉"}, {":(", "🙁"}, }; The expected indentation: const char *emoticons[][2] = { {":)", "🙂"}, {";)", "😉"}, {":(", "🙁"}, }; The issue is not limited to arrays, but also types like structs. In GNU Emacs 29.0.60 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.16.0) of 2023-02-10 built on purism Repository revision: 51901736965f9a6f07938fa4399d14c9283437c5 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101006 System Description: Debian GNU/Linux bookworm/sid From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 03:22:58 2023 Received: (at 61398) by debbugs.gnu.org; 12 Feb 2023 08:22:58 +0000 Received: from localhost ([127.0.0.1]:43964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR7dS-0007UJ-1I for submit@debbugs.gnu.org; Sun, 12 Feb 2023 03:22:58 -0500 Received: from mail-pj1-f54.google.com ([209.85.216.54]:44846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR7dN-0007U2-US for 61398@debbugs.gnu.org; Sun, 12 Feb 2023 03:22:56 -0500 Received: by mail-pj1-f54.google.com with SMTP id nh19-20020a17090b365300b00233ceae8407so1977647pjb.3 for <61398@debbugs.gnu.org>; Sun, 12 Feb 2023 00:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=ZQ2AXkPA5voze7X7YVNzl2/jHTnsMme+Sv0v5jN4JjE=; b=SwlUGycDwYCqsu20RuC/0O99HGwevVp1VHk0IoFPv42MEIoCoX09K8Ugi+sGRcwMQP iDG7YFsxz5EWxOZIDpY/Vyoy378+E6D9Ng3qVa/KievQYbq/XkOQA7by/TI3dec8rXoU pAUcmhxU1Mgb4a5lrwEwWZoLkSj9rKTgLAbD5SOJLNcrK7aEQwHjUkk2HfSIK11YuzPF LmoIGgs2fe6EJ6KVeB02X6UpoFxBGAcEd6scoW5ptLdqmzG+hB1vnDec1kV75Trtgvyu /SLwmbf/WtjndCxsMzW3Mv2p6OQlHov62sNIZtVM1SzTB7MPl+XF6gIVS5wvE4r6F+KZ 2+gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZQ2AXkPA5voze7X7YVNzl2/jHTnsMme+Sv0v5jN4JjE=; b=ML5ofnrRnQNx3Hcctvpogl6KmTBrwhaURAdVjIwukTIJzvL1KBxf0ZtEFAAihC8QmV Gdtnfb8ieVdhE3nIS1KFjYgX6fCEgfI6uteaUIn4O6rMHXlW67rnec+j+ZHLx0yYkoJw B+AcyUzXig/icg7rDigPI/MacxSoiaQ76WdCuGAYriqSLmJqd58SCqxQUMRiuJbE1GYo CJBJUfu0ae0ljFRJd0WLrKX0Q8nAbhRnp32wHCtVIa5LKIvP7Wexfsl2H6/IwSepKdLd T4yYpomf89Cn9I26hbDQ/ikb5fOlp6NXerJBn89Zg4a5KGQXTN+k33sT9JUs+ZL8V0Ro bbUw== X-Gm-Message-State: AO0yUKWA+PKT3KYZUN6w+khE3BidvTyr2uQhyLmo0FaDJknMLXiYh9iG MJdD/WbmNvUAEH/dgH3wmkP/Ol77N2w= X-Google-Smtp-Source: AK7set94wBLUk/usSwAeC0jOaJ3ivqdi/2iz1zSziQPyqK3C7egSlF1ktp19GVgV9g5TB89sgXNWfA== X-Received: by 2002:a17:902:e747:b0:19a:7d72:99c0 with SMTP id p7-20020a170902e74700b0019a7d7299c0mr5679990plf.14.1676190167933; Sun, 12 Feb 2023 00:22:47 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id x5-20020a1709027c0500b00198ac2769aesm6004706pll.135.2023.02.12.00.22.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Feb 2023 00:22:47 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: bug#61398: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line with '=' Message-Id: <9EA7BA07-0A4D-4B5F-A3C6-9EF8A4ED0344@gmail.com> Date: Sun, 12 Feb 2023 00:22:36 -0800 To: Mohammed Sadiq X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61398 Cc: 61398@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mohammed Sadiq writes: > The closing '};' is indented wrong in the following array definition: > > const char *emoticons[][2] =3D { > {":)", "=F0=9F=99=82"}, > {";)", "=F0=9F=98=89"}, > {":(", "=F0=9F=99=81"}, > }; > > The expected indentation: > > const char *emoticons[][2] =3D { > {":)", "=F0=9F=99=82"}, > {";)", "=F0=9F=98=89"}, > {":(", "=F0=9F=99=81"}, > }; I see, this problem is due to priorities between indentations rules. Should be easy to fix. Yuan From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 22:51:23 2023 Received: (at 61398-done) by debbugs.gnu.org; 13 Feb 2023 03:51:23 +0000 Received: from localhost ([127.0.0.1]:47314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRPsB-0007zi-Jk for submit@debbugs.gnu.org; Sun, 12 Feb 2023 22:51:23 -0500 Received: from mail-pj1-f53.google.com ([209.85.216.53]:39920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRPsA-0007zR-69 for 61398-done@debbugs.gnu.org; Sun, 12 Feb 2023 22:51:22 -0500 Received: by mail-pj1-f53.google.com with SMTP id w14-20020a17090a5e0e00b00233d3b9650eso3155331pjf.4 for <61398-done@debbugs.gnu.org>; Sun, 12 Feb 2023 19:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=ytv+xuPg6NqNmDYWPRnGyFL8H/6B8O+Ei6xbqFbdmDQ=; b=gSpJUJP2FTc/Mot1c4oYzDR8cd6tj3shNmRa4q0hXDEArfawnGSSe2pZ7gBM7TM2co YGiI2f/gepWbB+gcdHmD6OpoVOIImTV5wiavvljALP+45wvTSfSw6CR65awCLAnbTg1f 9f1Y9q+RblwFkKOHLZ3rwiwOSWPyOBj4LZebKgGpx5PIIJEwF9nrw63Ai6VCaIGcd/M1 k9SUCEj1MtyYkymkG+WBGJC44LDIQlwj6Th23IMgh/sjrgiQHhOFOfrEiu6e332WZSyi yXwL5OB0j2TeYuMahmWn67V7/AQDUmDk1C9uilFZlW/p85f8sP1wJqdTBU7ZzDmgi5so GD3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ytv+xuPg6NqNmDYWPRnGyFL8H/6B8O+Ei6xbqFbdmDQ=; b=QaLf2icfPRNwqBhXV/Vu0d0REkITJ52hYJQlYgAu52oDLK1ttVlIBamquXAqPs47wB xzjkg/njk1K3gSgZ/gd99r5g31v8Ju4TPRxqCNplB4CitfT/10kiFQSA9vVzwY3uO7Hi TEctVMC7l0CuUcsUlm+tMF5Z1MhB6Brjn2SwCyDHNlBIWtDGUHAlRI0em7UwX3hxc7Ru 5uN0BbU1/52RUawBtO0dGTyxdA3GuLe/ygFbEE2m7dNK544qqjNS7+7RlRVl1H0V2ty4 M5OCM9B/WXGeso4/TQzF7+fIdzuuzPFRpTzV54okghnW836BBQp1FrOkIjvdwbJNcgt5 x7dg== X-Gm-Message-State: AO0yUKVt9NhLx+QrI99IclnRSQk94oA1pootpj2YUXTcia+FG/mtjPNR 5wzTfqiHCQkFLNDf+K3W/ettAyv7ZKU= X-Google-Smtp-Source: AK7set+9aHZbhWYUUedvDnwHWrjaOgHacaPEB2RNgmH1LQDgBLbU+UJrjJoJ4LhQtM8gz4qSEK5k0A== X-Received: by 2002:a05:6a20:8423:b0:bc:a4d2:9820 with SMTP id c35-20020a056a20842300b000bca4d29820mr27519750pzd.37.1676260276230; Sun, 12 Feb 2023 19:51:16 -0800 (PST) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id a9-20020aa78649000000b005a817ff3903sm1433838pfo.3.2023.02.12.19.51.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Feb 2023 19:51:15 -0800 (PST) From: Yuan Fu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: bug#61398: 29.0.60; c-ts-mode: '}' indented wrong if '{' pair is in line with '=' Message-Id: Date: Sun, 12 Feb 2023 19:51:02 -0800 To: Mohammed Sadiq X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61398-done Cc: 61398-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yuan Fu writes: > Mohammed Sadiq writes: > >> The closing '};' is indented wrong in the following array definition: >> >> const char *emoticons[][2] =3D { >> {":)", "=F0=9F=99=82"}, >> {";)", "=F0=9F=98=89"}, >> {":(", "=F0=9F=99=81"}, >> }; >> >> The expected indentation: >> >> const char *emoticons[][2] =3D { >> {":)", "=F0=9F=99=82"}, >> {";)", "=F0=9F=98=89"}, >> {":(", "=F0=9F=99=81"}, >> }; > > I see, this problem is due to priorities between indentations rules. > Should be easy to fix. > > Yuan Ok, this should be fixed now. Yuan From unknown Wed Jun 18 22:56:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 13 Mar 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator