From unknown Sat Aug 16 10:43:08 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#61232 <61232@debbugs.gnu.org> To: bug#61232 <61232@debbugs.gnu.org> Subject: Status: 30.0.50; hide show and tree sitter Reply-To: bug#61232 <61232@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:43:08 +0000 retitle 61232 30.0.50; hide show and tree sitter reassign 61232 emacs submitter 61232 Nasser Alkmim severity 61232 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 12:20:58 2023 Received: (at submit) by debbugs.gnu.org; 2 Feb 2023 17:20:58 +0000 Received: from localhost ([127.0.0.1]:35676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNdGb-00031m-Sk for submit@debbugs.gnu.org; Thu, 02 Feb 2023 12:20:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:59980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNYUl-0004bP-2F for submit@debbugs.gnu.org; Thu, 02 Feb 2023 07:15:15 -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 1pNYUf-0007Me-KD for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 07:15:11 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNYUd-00020K-Lp for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 07:15:09 -0500 Received: by mail-wr1-x42f.google.com with SMTP id d14so1505496wrr.9 for ; Thu, 02 Feb 2023 04:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=ytx8MgpbGHh+zkx57jcvlxqUeekWB96YJBvsScjGUBg=; b=a4L2L9GY29NL2EyjpvtsIc40sYH58R79NqdoU5JD3Fm2toMJcno13amv7XFgQmrHcP IWrRyAbJAhysHUxDLvEoei/n/YhtGqn/fDHQ18BaIp18OF8H0tyKFopRRhGZ0QgmeNqZ D69tLRGGTFuZHiHBlV8yjySSwrpVWWMoQDRVuyZ30/qsoaMY8X2jQ9DUq71U3NBlPtej YRT3Rd0R+AajIQK44gqE1eyXB8ZzxwN/rntRmIU+AwlLFp4qnjvESZwQZ2ESzt6/D1dW Qi6RjRh9tMZ4fa+0Apm5ZJZDGqhlb/nk/dFdF1ltKbEMUaY/pKWQ4yjQJQ7cxOhau+5T /0sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ytx8MgpbGHh+zkx57jcvlxqUeekWB96YJBvsScjGUBg=; b=jectplpumeiLG6XH6zYmgn+3342DjJtA2Eh2Ji7LhoWJGRHDirWBCpfHyVqr5fMqSB QZgHnw9U254JLLNA0qeX2mbhe1yewO7M1kMnoT0tBBYdbWtdBAeuIoF/ohb8K7ngl52x QJKZq+hdq3Ia+p6PQ1mxvF567hC3L0ahDgNFdAEG/acirPt1WUyYTnf2D9HLJb2ibzH5 k3kWjclF64fR87gx0kikS9Z/iPOBgYs2A5kCOpsDnTjFPb6KN1cR3D/Li1rfdLB9HJ0/ JNK3QDN4MACvO+QC9jTJmDM68caB6VZM4iqMgfukWfaMG8VF9kZfG/BOBcvip2ZuVTda feQQ== X-Gm-Message-State: AO0yUKU2d51z+fNyvzuZWhysX54EGsvE6+mwZid6EJooGjL6XIKfI7I6 b0+/mj9CB/9tFKJs19sb7iSo39deCnHsBQ== X-Google-Smtp-Source: AK7set+z4ZNegXS0noMByyHgg3r1KxAvd45dTK9kVQFJ2YjZq3ZnK5QEXPQVev420n5Ny235TNfxmQ== X-Received: by 2002:a5d:680c:0:b0:2c2:de2b:e7d6 with SMTP id w12-20020a5d680c000000b002c2de2be7d6mr5240942wru.53.1675340105064; Thu, 02 Feb 2023 04:15:05 -0800 (PST) Received: from ryzen-ms7c37 (pc174-c842.uibk.ac.at. [138.232.83.174]) by smtp.gmail.com with ESMTPSA id x12-20020adfec0c000000b002b065272da2sm19685365wrn.13.2023.02.02.04.15.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 04:15:04 -0800 (PST) From: Nasser Alkmim To: bug-gnu-emacs@gnu.org Subject: 30.0.50; hide show and tree sitter Date: Thu, 02 Feb 2023 13:15:03 +0100 Message-ID: <86tu04462g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=nasser.alkmim@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 02 Feb 2023 12:20:56 -0500 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.3 (--) Hello, I'm trying the new tree-sitter modes, specifically for C++, but apparently there is a problem with hide-show mode. With c++-mode, a function like this: int main() { int i = 0; } gets collapsed, properly, to this: int main() {...} meanwhile, with c++-ts-mode: int main() {... int i = 0; } I did not investigate the causes further. Maybe is a matter of a simple configration. My emacs: GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-02-01 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 12:43:32 2023 Received: (at 61232-done) by debbugs.gnu.org; 2 Feb 2023 17:43:32 +0000 Received: from localhost ([127.0.0.1]:35716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNdcR-0003cD-Pc for submit@debbugs.gnu.org; Thu, 02 Feb 2023 12:43:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNdcQ-0003c0-63 for 61232-done@debbugs.gnu.org; Thu, 02 Feb 2023 12:43:30 -0500 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 1pNdcK-0003Xh-JZ; Thu, 02 Feb 2023 12:43:24 -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=bGRzfQA5vTBfvx0WsNQvOxIramiLCuJxY0iA+MtujSA=; b=CXylfe46BE+l AFnVzkKPw4vaf0JWZYale+1JBuvCtmr9Q860XXrLzbDRkxDZX2FfhPBcUUwgCf9Em04//RNWWSCs3 EadJMCN4N9+IfDsurhcDMvyARoBqfEB0aaDgHkWNE+VbLYtpaDkB8bkJ2NHnfq2/brqQFSrWcx0Vh hfL3oKiXjc9WkIm5vgGQ/6Y3zMUIYahJ6tYi4RWVGJe89peTZJRVY/mu4mYRBVt9205Ybi/JPNTPG BDCcGjeo8bPd+IkUBephlClYPtdQe9yqkT/kXxMmjvISu8O2tA8S9KPylmYB5kS8zLoZgng7TaPIy vABq9s0JEPpTrsN83YNNBw==; 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 1pNdc6-0007DR-9X; Thu, 02 Feb 2023 12:43:23 -0500 Date: Thu, 02 Feb 2023 19:43:13 +0200 Message-Id: <83mt5wvu8e.fsf@gnu.org> From: Eli Zaretskii To: Nasser Alkmim In-Reply-To: <86tu04462g.fsf@gmail.com> (message from Nasser Alkmim on Thu, 02 Feb 2023 13:15:03 +0100) Subject: Re: bug#61232: 30.0.50; hide show and tree sitter References: <86tu04462g.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61232-done Cc: 61232-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: -3.3 (---) > From: Nasser Alkmim > Date: Thu, 02 Feb 2023 13:15:03 +0100 > > I'm trying the new tree-sitter modes, specifically for C++, but > apparently there is a problem with hide-show mode. > > With c++-mode, a function like this: > > int main() { > int i = 0; > } > > gets collapsed, properly, to this: > > int main() {...} > > meanwhile, with c++-ts-mode: > > int main() {... int i = 0; > } > > I did not investigate the causes further. > Maybe is a matter of a simple configration. Yes, hideshow.el didn't know about the *-ts-mode modes. Now it does, at least on the release branch (soon to be merged to master). Thanks. From unknown Sat Aug 16 10:43:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Mar 2023 12:24:07 +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