From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jan 2023 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 60555@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167284256920732 (code B ref -1); Wed, 04 Jan 2023 14:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 14:29:29 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD4lk-0005OJ-VU for submit@debbugs.gnu.org; Wed, 04 Jan 2023 09:29:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:46094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD4lj-0005OB-Fs for submit@debbugs.gnu.org; Wed, 04 Jan 2023 09:29:27 -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 1pD4li-0005ge-V5 for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 09:29:27 -0500 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pD4lg-0007c2-Gy for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 09:29:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1672842560; bh=u7q9DNVX/u2psmJcqfA16CO9Gd/+XdZO+WwpnZp3cnU=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=Z0/cOzZZNRYmtOr+2YY1lHgJVLAdEXK5/jocl+UHzEgYDnQgnlIf7nyiOfg9A0mOHuXC5b8XFYZG01Nud/vOgVZ0xeypPn7LT9ykh/t2IkGuFV/vGKHTaCWAc7tw5heG+dj4rJuXwVlk8Iig4O9vaK38odlPcPreSDvXh2yzTTbyaLxc1OdDZGfGYmt7WmKPKoBE70TxPo1OdKDd2nQ4xp/8cn1EwUzvy5s0YIIWy6LLGpEiavx7CRRxVGTRbT9fyusccz4X7JiOHKED/DTAU8kXdljcJYxJRmSQMUuphjOX0JAvSPGD91cpClT2UxAU0DYHQOpbOmudpJKnxv29lQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672842560; bh=O1G2wtxuI8Tjb3WyW4BK3MHKhxgaYk5/EX96KjfIvFE=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tbpGcZe43w4JYx7IvUxYFns6uPTP8c70o+Qm2xJ+w65Aj4mu34XOVgZ4cjChKN1AvCmdxel6ili5uq17Mk12FJzUK9KH6dzDZc6DIrNc8lVbQ7G8pMG5J0yY8TOX15QZbYZlWhEKIo2t6FI9+ZCuULyq23RwkqQ5ptXvNJeWed3Ff9TMeDjmtKNlmDiJqqnKV12BmPK39pJ7J21FrOPCZ/+T1CV+5JKhGNSGoCo/wXF+3OIE/QijGjA1a/xHQB/aVQgrjBaK5G8wGmof6ZBkyW76OdlK8F0j+mgqETe64EI/9TFKTSj4/ok2RHW5MOJSAVDSURo+cWpCIVhRhtF8ug== X-YMail-OSG: TNdOZXcVM1nV7d1AnISkcx3N3KQJQA2c0P2RWHW8zEs2cUSjxUg9mUJPdZQmsGt KaEjH2o_oWCwokxanNcS3eR1FgZkvSMnplL0HQCFjVnzy_66AwdwabETWp0Gu.eYbmJbp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b1nOOB1MCcM_ovqKF6YrmuPflgA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Wed, 4 Jan 2023 14:29:20 +0000 Received: by hermes--production-ir2-5795fc58c8-6s895 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e45fef4bf9402892b06845bf44c2112e; Wed, 04 Jan 2023 14:29:15 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Date: Wed, 04 Jan 2023 15:29:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable References: X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1006 Received-SPF: pass client-ip=87.248.110.31; envelope-from=mardani29@yahoo.es; helo=sonic307-54.consmr.mail.ir2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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.4 (-) 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.4 (--) In the Elisp manual, under "37.3 Retrieving Nodes" there is this text: We talk about a node being =E2=80=9Csmaller=E2=80=9D or =E2=80=9Clarger= =E2=80=9D, and =E2=80=9Clower=E2=80=9D or =E2=80=9Chigher=E2=80=9D. A smaller and lower node is lower in the syntax = tree and therefore spans a smaller portion of buffer text; a larger and higher node is higher up in the syntax tree, it contains many smaller nodes as its children, and therefore spans a larger portion of text. I think the concepts of nodes being "lower" and "higher" are more or less clear, and the notation is similar to the one used in classic texts about rooted trees. However, the concepts of "smaller" and "larger" are not very clear to me. From the text, it seems that "lower" also means "smaller", and "higher" always means "larger". Is that correct, or "smaller" and "larger" are really orthogonal to "lower" and "higher"? If that's the case, I think the text needs some clarification, ideally with a brief example. Thanks. From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jan 2023 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 60555@debbugs.gnu.org Received: via spool by 60555-submit@debbugs.gnu.org id=B60555.167284429325003 (code B ref 60555); Wed, 04 Jan 2023 14:59:02 +0000 Received: (at 60555) by debbugs.gnu.org; 4 Jan 2023 14:58:13 +0000 Received: from localhost ([127.0.0.1]:49323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD5DY-0006VA-Rs for submit@debbugs.gnu.org; Wed, 04 Jan 2023 09:58:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD5DX-0006Ux-3O for 60555@debbugs.gnu.org; Wed, 04 Jan 2023 09:58:11 -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 1pD5DK-0001JH-DI; Wed, 04 Jan 2023 09:58: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=FXfrKBEt5Z7f7MkzgdHu0eNJLZu6RnqzEdVKkG4tl6U=; b=q+I9fL0QxR1QtUrDvLbb Jc3f+jUtxBz3RuRuvp3BQ1sWXIaXL1a+SSlZpcv6dJKEt/yCg79T24wluRiTE0MkkuPF6bXseLWyh iOyFxIelpdqehMhw4ONn9prujpB//9LxucJvAl4yqRS4tZwr1+QEsaHoaYgNk6MHm1UoP+NDDKguB vSScNrEczDRWJGXunZ2EREqwa9Hm/G2tRskR98KEhve8cpPX5yK3T8RAbX0rHD+ELyF4Q7tJoddN6 +F80RAlCA/OdWKPHUJTC1dWQD1U7CqLv3OzRq0uyEe2U1S5oA3Bg1pyv7HwcQA5F2ZZUSd4zsrKPl gIZqkoOvQBXx5Q==; 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 1pD5DF-0005xG-G9; Wed, 04 Jan 2023 09:57:56 -0500 Date: Wed, 04 Jan 2023 16:58:06 +0200 Message-Id: <83cz7uz6rl.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > Date: Wed, 04 Jan 2023 15:29:14 +0100 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > In the Elisp manual, under "37.3 Retrieving Nodes" there is this text: > > We talk about a node being “smaller” or “larger”, and “lower” or > “higher”. A smaller and lower node is lower in the syntax tree and > therefore spans a smaller portion of buffer text; a larger and higher > node is higher up in the syntax tree, it contains many smaller nodes as > its children, and therefore spans a larger portion of text. > > I think the concepts of nodes being "lower" and "higher" are more or > less clear, and the notation is similar to the one used in classic texts > about rooted trees. However, the concepts of "smaller" and "larger" are > not very clear to me. From the text, it seems that "lower" also means > "smaller", and "higher" always means "larger". Is that correct, or > "smaller" and "larger" are really orthogonal to "lower" and "higher"? They aren't orthogonal, AFAIU. The text actually says that "lower" necessarily also means "smaller". From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jan 2023 23:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 60555@debbugs.gnu.org Received: via spool by 60555-submit@debbugs.gnu.org id=B60555.167287355829660 (code B ref 60555); Wed, 04 Jan 2023 23:06:01 +0000 Received: (at 60555) by debbugs.gnu.org; 4 Jan 2023 23:05:58 +0000 Received: from localhost ([127.0.0.1]:49849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDCpZ-0007iJ-OH for submit@debbugs.gnu.org; Wed, 04 Jan 2023 18:05:58 -0500 Received: from sonic313-21.consmr.mail.ir2.yahoo.com ([77.238.179.188]:42501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDCpX-0007i4-87 for 60555@debbugs.gnu.org; Wed, 04 Jan 2023 18:05:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1672873549; bh=xY29gbM3sHRZz7G3rqp1cgK9WnbrEKbcrnHhabvryPY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=o594+4FG/rs7zq9lvCxaRYs6tFjmOXljEnuprtRIKe9d74QFzoLHTgZ2oYzc+Z1OolFMUAYEd292NyxRBw6at2HPjH92v+1vMlIzOpVTGvuZ5GpMb43OFQNLtzyCwfNc7OdgGqCrhjcWOtPFUDR/pKKo5s3+p5ZBLSDIrP4c3LgYHTST62H71jt33IeAGP4O3R3rBZs4RTAwhPiUH6hvSqFQ3DSOYJS2jDbKH2nBatE9pxX3gD+Jb9cdlMKV3BXu01MHDYE1rRMb9iQzzzJD63gmduGi/xE2Rzj4oJy/RW9GEhpxy4HDLRG9XrfPIFORU4+OItRfu7bR5HVtO0rasQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672873549; bh=nsMmfDvIFLpL4tc1JC5dfMW/5Sy3PWWnF/yo+upfy0S=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BdSSOEtYTGEolshToVVSEjxp4ZUN1mj5CiDhnAgH1UC+WKGKC4PInf2p+sG0Ke8CdlQnREzSlgkX1Ntl4THuJMSAW8dNTFZ+KufbvF6cpZwToKhP5dEMszNLnGJJVxgKgRzxCDVu19+bMtBorMloBWMtFg2mQPZRWY2iaP8jtI78B9RDJM9xzvuzp6tuc1UX5VFvitouM3+GNhyR+ilgeo6cDkqaT5wOUB8ix+dFhHCeCyLadn5WJulv6z3X2hL9RBfFOC7PAWIXJE2Veh5OIxJOXsm6PooyyVNLFQ/dxVu9RhlQVfptl9MRKz3bqU+XInw1cpaZqWARQi9ytyYqRw== X-YMail-OSG: xFxbEugVM1mxkwOtIq7vRlVc6YcGdHquczsVicPsLsVvKJwd3jaLYk7rUXnmQQQ raXDZO9RuzJYkQpB_.d0S52bXx3EgmZJ0rQ_hM4Tfl3JH9.U4cuDakjxckdbYnU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JP1g6Kd P7zkR.gMIbTBSQh0lwk5WThmEFqNhw4dXH_.8caMm5Yw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Wed, 4 Jan 2023 23:05:49 +0000 Received: by hermes--production-ir2-5795fc58c8-j5s6m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ecb10347f474ee0f911faed83c1e61fa; Wed, 04 Jan 2023 23:05:45 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <83cz7uz6rl.fsf@gnu.org> Date: Thu, 05 Jan 2023 00:05:43 +0100 In-Reply-To: <83cz7uz6rl.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 Jan 2023 16:58:06 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1999 X-Spam-Score: 0.3 (/) 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: -0.7 (/) Eli Zaretskii writes: >> Date: Wed, 04 Jan 2023 15:29:14 +0100 >> From: Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >>=20 >> In the Elisp manual, under "37.3 Retrieving Nodes" there is this text: >>=20 >> We talk about a node being =E2=80=9Csmaller=E2=80=9D or =E2=80=9Clarg= er=E2=80=9D, and =E2=80=9Clower=E2=80=9D or >> =E2=80=9Chigher=E2=80=9D. A smaller and lower node is lower in the synt= ax tree and >> therefore spans a smaller portion of buffer text; a larger and higher >> node is higher up in the syntax tree, it contains many smaller nodes as >> its children, and therefore spans a larger portion of text. >>=20 >> I think the concepts of nodes being "lower" and "higher" are more or >> less clear, and the notation is similar to the one used in classic texts >> about rooted trees. However, the concepts of "smaller" and "larger" are >> not very clear to me. From the text, it seems that "lower" also means >> "smaller", and "higher" always means "larger". Is that correct, or >> "smaller" and "larger" are really orthogonal to "lower" and "higher"? > > They aren't orthogonal, AFAIU. The text actually says that "lower" > necessarily also means "smaller". If that's the case, I don't feel the text is clear enough about the "necessarily" part. I think the text would be more clear if the first sentence was We talk about a node being =E2=80=9Csmaller=E2=80=9D (or "lower") and =E2= =80=9Clarger=E2=80=9D (or =E2=80=9Chigher=E2=80=9D). The next sentence should avoid "smaller and lower" and "larger and higher", because it'd be redundant (can a node be "smaller and higher"?). That is, I suggest the following text instead: A smaller node is lower in the syntax tree and therefore spans a smaller portion of buffer text; a larger node is higher up in the syntax tree, it contains many smaller nodes as its children, and therefore spans a larger portion of text. Thanks. From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jan 2023 06:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 60555@debbugs.gnu.org Received: via spool by 60555-submit@debbugs.gnu.org id=B60555.167289984020729 (code B ref 60555); Thu, 05 Jan 2023 06:24:01 +0000 Received: (at 60555) by debbugs.gnu.org; 5 Jan 2023 06:24:00 +0000 Received: from localhost ([127.0.0.1]:50053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDJfU-0005OH-79 for submit@debbugs.gnu.org; Thu, 05 Jan 2023 01:24:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDJfS-0005O3-UM for 60555@debbugs.gnu.org; Thu, 05 Jan 2023 01:23:59 -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 1pDJfN-00016S-Ig; Thu, 05 Jan 2023 01:23:53 -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=+pFwm31u9Ued0wQJEU+olTMiP1PjUqxoVWFAY1byzA0=; b=lNXDzgZRHuJjM6EsUNYb b1AhiP1nE11NgdeFkFO4us7di3QGOg96vpiUNdNL160KDFtpm7PwaYlZ3fAc141XcXO2CQDWi1Fbk 5P8P6hbr7tbvPS4VWgIndg1dJqRUaYIdvUNyZkLcX4xERRnW3rCDlQbZILITXcZETRehXkggtciQo 6ZMCzpFG6k87/dvvuBzOjuIgCIqLJOQjFem4yyXcIp+bfRl6XR8IQBlkPHI7gjcCbauvmOHS6zcA9 Qjh0ONboivbcaYNG4Z6yam20sLIfzry8I/3p90JNXv+PJeQYC1+jfb2AqKcDZa3Ii026V7imVekZQ PylVUQUCBTLYcg==; 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 1pDJfN-0004BI-0M; Thu, 05 Jan 2023 01:23:53 -0500 Date: Thu, 05 Jan 2023 08:24:07 +0200 Message-Id: <83lemhxzw8.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Daniel =?UTF-8?Q?Mart=C3=ADn?= on Thu, 05 Jan 2023 00:05:43 +0100) References: <83cz7uz6rl.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: Daniel Martín > Cc: 60555@debbugs.gnu.org > Date: Thu, 05 Jan 2023 00:05:43 +0100 > > Eli Zaretskii writes: > > > They aren't orthogonal, AFAIU. The text actually says that "lower" > > necessarily also means "smaller". > > If that's the case, I don't feel the text is clear enough about the > "necessarily" part. I think the text would be more clear if the first > sentence was > > We talk about a node being “smaller” (or "lower") and “larger” (or > “higher”). Adding parentheses makes the text harder to read, IME. You kept all the words and the sentence structure, so everything else is unchanged, and the added complexity isn't justified, IMO. > The next sentence should avoid "smaller and lower" and "larger and > higher", because it'd be redundant (can a node be "smaller and > higher"?). That is, I suggest the following text instead: > > A smaller node is lower in the syntax tree and therefore spans a > smaller portion of buffer text; a larger node is higher up in the syntax > tree, it contains many smaller nodes as its children, and therefore > spans a larger portion of text. I think these micro-changes are basically splitting hair, and the text you propose will almost certainly be less clear for someone. If the original text is unclear, the way to fix that is to rewrite it in a completely different way. If you try explaining what exactly confuses you, maybe I could come up with such a rewrite. I cannot myself understand what's unclear, because to me it sounds very clear and simple to understand. So I need your help. Try to recollect what confused you when you first read this. From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jan 2023 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 60555@debbugs.gnu.org Received: via spool by 60555-submit@debbugs.gnu.org id=B60555.167291190818166 (code B ref 60555); Thu, 05 Jan 2023 09:46:02 +0000 Received: (at 60555) by debbugs.gnu.org; 5 Jan 2023 09:45:08 +0000 Received: from localhost ([127.0.0.1]:50296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDMo7-0004iw-Kn for submit@debbugs.gnu.org; Thu, 05 Jan 2023 04:45:07 -0500 Received: from sonic310-57.consmr.mail.ir2.yahoo.com ([77.238.177.30]:41382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDMo6-0004iA-Ov for 60555@debbugs.gnu.org; Thu, 05 Jan 2023 04:45:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1672911901; bh=G5gqzT4FkdZgevRYjKvN7gECQ4+C17ZuqfYNpTnRNLI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=TgZTOCLK10xpQOFvmOu4whPZs7joGph/PHn1sWxJPLNDFLUqO96xhTxJeG8OorykpXowdN4auHiruzXwwgOrxHpCyl/Zvr9x0S3Q2pixUXP3NojyRgDRoqYUAPPf+4/edtRnTC96y+O4TSp8txvqJgBnJia08z31oXT3hKTnPlIe/VCHu3BWiOn5rLUX+LMKQBh9ga7K3RkN2lbBDksJy1TaLySUlcc9dSlzSQ6HcT65ogVdHlTZcaP0sBggoZndfl6LCXCpJTMBONHKomOZqRwWwszJvp3lt4HgQB9BWkDq+BglOQ809rUYFQ1n9KjjIAl3GBB6ti9OINDRIAo1Jw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672911901; bh=2rEfIC85jnEFoLi3F2I3h9AwbvgOYfqA09+xdCYzOWJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=L/ZHgL3N+9zNKtYn96aeI6uxoql3vawsJGqAMBpkrqeo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Q4.1noTlgU7FErKLP2zoLfDla.QoCk1Cit h8aKTiplgwtPpDtUwvoD_4pFdLmub1jSSIAdqLT1kxubvFoBaHfVZRjAiyYZhLM1TEKktAwcoxtV r4RaZA.0zUWN3m.IU2OjA58VAQGMhJkjQ3OeAcpoN6yev4NAAZgFWLomv7O.9Pvwo1pGvsKPPH6E D7NVZbq5S7pZ1jMR_r6l5GM7kgSul28w8_Qqa22RUD0IpuESmPnraHxYPAcQKrRrGNmKklrZ4f2U kaHqpe3muNLNV.pJ9WhUnZR24rKv5vX.pMKKK_SFCZ_ibmxEvJelG_MDWUa69mgLidqRVY6v3jU_ U9d0QV0AsLEtTHyQEBR.LHz1Wn5y2Hf8b9GPVhlotV48Kw_YLUMaYqz6bd7Hv7tloiK01Qw3KCjK IhkIeJ4d1KRmoJpw73Cf.KWOQxKygvMA4fZnsywOt X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Thu, 5 Jan 2023 09:45:01 +0000 Received: by hermes--production-ir2-5795fc58c8-cg4fj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f36d2fa2cd211f351177978a031069f2; Thu, 05 Jan 2023 09:44:56 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <83cz7uz6rl.fsf@gnu.org> <83lemhxzw8.fsf@gnu.org> Date: Thu, 05 Jan 2023 10:44:55 +0100 In-Reply-To: <83lemhxzw8.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Jan 2023 08:24:07 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1443 X-Spam-Score: 0.3 (/) 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: -0.7 (/) > > I think these micro-changes are basically splitting hair, and the text > you propose will almost certainly be less clear for someone. If the > original text is unclear, the way to fix that is to rewrite it in a > completely different way. If you try explaining what exactly confuses > you, maybe I could come up with such a rewrite. I cannot myself > understand what's unclear, because to me it sounds very clear and > simple to understand. So I need your help. Try to recollect what > confused you when you first read this. My main confusion happened after reading this sentence: We talk about a node being =E2=80=9Csmaller=E2=80=9D or =E2=80=9Clarger= =E2=80=9D, and =E2=80=9Clower=E2=80=9D or =E2=80=9Chigher=E2=80=9D. That made me think there are two different dimensions we classify nodes: "Size", that is, if the node is small or large, and "height", that is, if it is low or high. I was hoping to learn the differences between "size" and "height" in the rest of the text, but the text didn't make it clear to me because it only talks about "smaller and lower" and "larger and higher". What about "smaller and higher", or "larger and lower"? Are they possible at all? After reading everything, I got the idea that the terms may actually be synonyms, but I was not 100% sure. I feel we could make this more clear from the start. All of this is my perspective as a non-native English speaker. Hope this helps. Thanks. From unknown Tue Aug 19 02:59:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jan 2023 09:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: 60555@debbugs.gnu.org Received: via spool by 60555-submit@debbugs.gnu.org id=B60555.16730836074718 (code B ref 60555); Sat, 07 Jan 2023 09:27:01 +0000 Received: (at 60555) by debbugs.gnu.org; 7 Jan 2023 09:26:47 +0000 Received: from localhost ([127.0.0.1]:56443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE5TS-0001E2-SL for submit@debbugs.gnu.org; Sat, 07 Jan 2023 04:26:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE5TR-0001Dn-5j for 60555@debbugs.gnu.org; Sat, 07 Jan 2023 04:26:45 -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 1pE5TL-0000K3-FA; Sat, 07 Jan 2023 04:26:39 -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=ClnSqpwaMOr2yCQxuSpViD7LOv468Zm7AEOSSC/XsyQ=; b=XHUGbLYKsj9Mh5kDSAv0 3c/+AkHt8vOA588iG5vXoiVU6FgQMrKWESs0Rmac1kuzHdFzgRQ3lhMXrhIYOPC8YekbYOX8oi66O JWipklG0qmPZrocoQVDZudbRn9U3QghuzvltHKdvIrQh5Jjv52Y/E/Kxd5Eu79O1fcRO6TeyWg5r/ EtsXsmN6bX3NlDVKBaqA4bALR2am28p6MUfp2gX661IYRxf3KMg4uvPLi3k2H94lyvKwUme/sFg6P RObSCMYE75JquzX53jEp2X6blRJb4EFWPnioRXcERuAixwNUtpclSkkGqwGs104oNPjZyIm19quj6 LdbiDAxYneaqHg==; 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 1pE5TK-00063Y-FW; Sat, 07 Jan 2023 04:26:38 -0500 Date: Sat, 07 Jan 2023 11:26:57 +0200 Message-Id: <838rieu23i.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Daniel =?UTF-8?Q?Mart=C3=ADn?= on Thu, 05 Jan 2023 10:44:55 +0100) References: <83cz7uz6rl.fsf@gnu.org> <83lemhxzw8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: Daniel Martín > Cc: 60555@debbugs.gnu.org > Date: Thu, 05 Jan 2023 10:44:55 +0100 > > > > > I think these micro-changes are basically splitting hair, and the text > > you propose will almost certainly be less clear for someone. If the > > original text is unclear, the way to fix that is to rewrite it in a > > completely different way. If you try explaining what exactly confuses > > you, maybe I could come up with such a rewrite. I cannot myself > > understand what's unclear, because to me it sounds very clear and > > simple to understand. So I need your help. Try to recollect what > > confused you when you first read this. > > My main confusion happened after reading this sentence: > > We talk about a node being “smaller” or “larger”, and “lower” or > “higher”. > > That made me think there are two different dimensions we classify nodes: > "Size", that is, if the node is small or large, and "height", that is, > if it is low or high. I was hoping to learn the differences between > "size" and "height" in the rest of the text, but the text didn't make it > clear to me because it only talks about "smaller and lower" and "larger > and higher". What about "smaller and higher", or "larger and lower"? > Are they possible at all? After reading everything, I got the idea that > the terms may actually be synonyms, but I was not 100% sure. I feel we > could make this more clear from the start. > > All of this is my perspective as a non-native English speaker. Hope > this helps. Thanks, I've now reworded that text, please take a look. From unknown Tue Aug 19 02:59:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Subject: bug#60555: closed (Re: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes) Message-ID: References: X-Gnu-PR-Message: they-closed 60555 X-Gnu-PR-Package: emacs Reply-To: 60555@debbugs.gnu.org Date: Sat, 07 Jan 2023 11:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1673091542-18814-1" This is a multi-part message in MIME format... ------------=_1673091542-18814-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60555: 29.0.50; Some clarification is needed about "smaller" and "larger" = Tree-sitter nodes which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 60555@debbugs.gnu.org. --=20 60555: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60555 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1673091542-18814-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60555-done) by debbugs.gnu.org; 7 Jan 2023 11:38:21 +0000 Received: from localhost ([127.0.0.1]:56573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE7Wn-0004sR-JF for submit@debbugs.gnu.org; Sat, 07 Jan 2023 06:38:21 -0500 Received: from sonic309-24.consmr.mail.ir2.yahoo.com ([77.238.179.82]:36068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE7Wm-0004sE-3z for 60555-done@debbugs.gnu.org; Sat, 07 Jan 2023 06:38:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1673091493; bh=pcSHBHB2R2srd4qSDQDJD27kczLpVE5NIzmbabnhJog=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=myDl7C5m5irU1ObS7nw3O9x6OTOPGvoG4b8OZKZuz5CiFTm2qha9Rrnsr8q3AdNnCxZlC/pPWwh3yzIoTB5hbXYiYRGAGvkSJv5YP3/Ac4ktg6H9fDqDyVHw7PJlS+oOWMGBspQbK+HjzWbp+Ws4AKD9wBgYSAHfCVRfeD4jWgm2Idtdxk2qbEtN0jYp8SAiOY5HOsWPTL5Y/zdw8LXbiK91nlCJK/wixXRrn8BGm4a9/49nbG+0dLWoOXiblgEOE8bhwNPJVfVtJK7vWt0dFEFhH1M5fMjKNV42XSNhvACE6RfTJij4KLJy7IRIvthZuc6XLsa8lMcGJr0pQtBRQQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673091493; bh=O5A78TWMP1F3jBsmYITI4hoNM+ZBgjvI0PQbjd+zONr=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZZreE1+KuejIgBuHZ5whwqhCzOfvxzDkt5XuHC1sfAZ52pJP4ZmlVQWi03Do3yNDYr6WgpJqFMiumps1UeWdfWABAUQDJ8TMES+ARnA9gZBPMOUNpk1Elklu7pUywHVUAObUsohF4g8v3wIMCsjUg7JuTaceKFj8pzyFF1Y7mPa/F8humoaANO5FEh3Y2CI5ZABNBgBMG8f8iTcv21eSt7sVJNF/43/79O8oqYYIUvoacMsNyz/mBvHKQg74KjfrbRPvN4tYPtLpXrFgEexgHBA++bsvUjTKwToE8n7kjoWGDVzLajOkZMS/bLytIuSliUicwz70wfsjfYVuteaEfA== X-YMail-OSG: jvFrY90VM1lkklgPigSiXrhoCAdz1a7YMUP_ZfccsY9Y19O3Vqb8gJzgsVfnccK h1fTx._X0BwoY.ejm1tgciEQWudhPhG7X0gcZr4xuj3au0e7z8TbiH9HB.H3sGC6I3QcfP153Xql eqwyGTuvSBV05UHFmO_bS4TEMEg6xwP2c4yvHeFizjBDk2j5wsAzcekmVyE_oDAdkOXBh8V1Qjzz TJKDshAv8lgQSqG4j2QnQUg6iNloG0hvoP7UKrJfvtr_g_YCbX5kuVqY_8fKwLzzruR8AXkPwts8 6V4ymlDtAY1D1Lbl85plLY._BLHKMq86kz5S2lhH3fHNYoaV9b33.G3iVzDzbuZP3Dn5h6Wid6OE fEQqN6odBqHzqQmJQgRslPDmDrxYtRlf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KK_EtuneA8CGd0Amzkovn52cA XDeaHkDMorvh.hxk_Z5Aht9E.5KdMttP2tx8AlEuSrzje6jdMkQTFIwBuUPL_WICisz884WeiaJF G6xvYSt.1Ik.ntTb9amEPXwfeb.fvoD16K8RwxS8iOZMhbmz.eUgaTeoJa5NmbDsP4YiJQllOWFE vXpD3nbQ599gde1NGgKlOLktBXAXGbhCvOwH3YiZFPn4hoQxbF8XCx5xWRC6PYLDVVEjFTY5NefQ o5a4Fdfs3p.SjDDRXnJkHcT3.0Za6Hqw3uyPSmC8tyuQe9j9flmu9cWlhqVY5mA6KxWWSDGYMycG dGZOdxPjo_AOxMj_HKk2S9mbXA0JQNImBjb0wOemLt6OhJIsV7JDLBPs1olzJ1WjnEMXdNcfOHdX ioqPkgawGs_6Gh4KxMPjCSS9P3RtP.VL0MT2_UbI8AmZB3GH.jvcljq3o.OYXRMk34VDGVtEyPmk V5TP8nrfjVjMlV8VrNV8Sgn4yVxrWOs55vcwW1QGs9qC6SdO3CtR.Ng0c.O.RRmR8SadvaSxGFkv UMvO_IzuAuvTlzzAV3sPNpi0HD0eAc_Wqaz6olE3.u7uAdKqfpNAXawwZuMWI.RBHCK6EoXXYMUP 3V_yEGO7H4J1pdoXRCoCV92hPobCvA6Ljo0eJ4Suw4jsVBxKhfuABoCmK0wx7R.035MxKNZOBS_2 SMsaxF7VFP8vf1Rfu9tTsmHmsTPrFI2fNQaJXZrKUA7a06SRYZNoqjnAPxSA9yik5EQ850S1z17z XIMvxLPLLOPraqt0cnpc.u1zSnAAXVIoHaj.C6m95 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Sat, 7 Jan 2023 11:38:13 +0000 Received: by hermes--production-ir2-5795fc58c8-ktx52 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f3303a9911f7aa7c1bc98c0a08f935c1; Sat, 07 Jan 2023 11:38:12 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#60555: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes References: <83cz7uz6rl.fsf@gnu.org> <83lemhxzw8.fsf@gnu.org> <838rieu23i.fsf@gnu.org> Date: Sat, 07 Jan 2023 12:38:11 +0100 In-Reply-To: <838rieu23i.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Jan 2023 11:26:57 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1123 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 60555-done Cc: 60555-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: -0.7 (/) Eli Zaretskii writes: >>=20 >> My main confusion happened after reading this sentence: >>=20 >> We talk about a node being =E2=80=9Csmaller=E2=80=9D or =E2=80=9Clarge= r=E2=80=9D, and =E2=80=9Clower=E2=80=9D or >> =E2=80=9Chigher=E2=80=9D. >>=20 >> That made me think there are two different dimensions we classify nodes: >> "Size", that is, if the node is small or large, and "height", that is, >> if it is low or high. I was hoping to learn the differences between >> "size" and "height" in the rest of the text, but the text didn't make it >> clear to me because it only talks about "smaller and lower" and "larger >> and higher". What about "smaller and higher", or "larger and lower"? >> Are they possible at all? After reading everything, I got the idea that >> the terms may actually be synonyms, but I was not 100% sure. I feel we >> could make this more clear from the start. >>=20 >> All of this is my perspective as a non-native English speaker. Hope >> this helps. > > Thanks, I've now reworded that text, please take a look. Thanks, the text is now clearer to me. I'm closing the bug. ------------=_1673091542-18814-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 14:29:29 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD4lk-0005OJ-VU for submit@debbugs.gnu.org; Wed, 04 Jan 2023 09:29:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:46094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD4lj-0005OB-Fs for submit@debbugs.gnu.org; Wed, 04 Jan 2023 09:29:27 -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 1pD4li-0005ge-V5 for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 09:29:27 -0500 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pD4lg-0007c2-Gy for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 09:29:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1672842560; bh=u7q9DNVX/u2psmJcqfA16CO9Gd/+XdZO+WwpnZp3cnU=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=Z0/cOzZZNRYmtOr+2YY1lHgJVLAdEXK5/jocl+UHzEgYDnQgnlIf7nyiOfg9A0mOHuXC5b8XFYZG01Nud/vOgVZ0xeypPn7LT9ykh/t2IkGuFV/vGKHTaCWAc7tw5heG+dj4rJuXwVlk8Iig4O9vaK38odlPcPreSDvXh2yzTTbyaLxc1OdDZGfGYmt7WmKPKoBE70TxPo1OdKDd2nQ4xp/8cn1EwUzvy5s0YIIWy6LLGpEiavx7CRRxVGTRbT9fyuscc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3THRXk8Axbt8uk9j_82FIiwYIPhu3uCjrjyMmXSSz m6F1Ao9T1DJf9z_CFPR0.0Pnfsy.q2IJUy.P0hFfK_xe9SsYyLl4kG1FBgieMXGz.5WMw.GAOU2g hv1HCVzTpKfB3y_S32wavlnUHPVccJcGIJ3Zynp06qxBtlvmm2Z7gRmQGG825DK_EQtiwdnHE2aj UbqQgkK6wiXxDnPBJchoc1ATIKP1h31QS2oTL1joOLklSWIidrXEPjFo9i90u65eB42fdnrWHQEM apDlH4mTwyKZtApw9D0MCepld9rYdQGYrNblXPEHFXrBPk862P0Mmuy4PTi888nVKAkpZB5m2j.E Xn9Nhs125FmKacCrKaYQIrW.XrDT7l6X3LXlU8sAP3BLYJCMQ2llbVfmmA2BUANyGYBWzi23T3xW RZVh3axXMz0QH_uA88sGTp4TwxGxXGLKZvI_z5spBWTsFMx7PfJxS4UegymduD0qnyEbwu1SY3ww zreOif4WR6HSV039ohjRokbJ0rAVezrOh85WztcPeIM2vefdOsQhyhV8GWrwZewUCQbbgpgwwbhw zc4.EzT1AwvI9CLvgG9DiaL8tBT4aoLKLF1s5bP3f7VYDoqxIHFIXcT2sG0sslE8uCWWhXvfkZN4 AC8XYB9hYe_GZFxyF6xQ5wnwF.MhEvA3hKn9yK.Rj0v38IoVRUEQNEeS5ubUIlXxAbxmVn4n3gg4 b1nOOB1MCcM_ovqKF6YrmuPflgA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Wed, 4 Jan 2023 14:29:20 +0000 Received: by hermes--production-ir2-5795fc58c8-6s895 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e45fef4bf9402892b06845bf44c2112e; Wed, 04 Jan 2023 14:29:15 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Some clarification is needed about "smaller" and "larger" Tree-sitter nodes Date: Wed, 04 Jan 2023 15:29:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable References: X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1006 Received-SPF: pass client-ip=87.248.110.31; envelope-from=mardani29@yahoo.es; helo=sonic307-54.consmr.mail.ir2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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.4 (-) 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.4 (--) In the Elisp manual, under "37.3 Retrieving Nodes" there is this text: We talk about a node being =E2=80=9Csmaller=E2=80=9D or =E2=80=9Clarger= =E2=80=9D, and =E2=80=9Clower=E2=80=9D or =E2=80=9Chigher=E2=80=9D. A smaller and lower node is lower in the syntax = tree and therefore spans a smaller portion of buffer text; a larger and higher node is higher up in the syntax tree, it contains many smaller nodes as its children, and therefore spans a larger portion of text. I think the concepts of nodes being "lower" and "higher" are more or less clear, and the notation is similar to the one used in classic texts about rooted trees. However, the concepts of "smaller" and "larger" are not very clear to me. From the text, it seems that "lower" also means "smaller", and "higher" always means "larger". Is that correct, or "smaller" and "larger" are really orthogonal to "lower" and "higher"? If that's the case, I think the text needs some clarification, ideally with a brief example. Thanks. ------------=_1673091542-18814-1--