X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Meow King <mr.meowking@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 26 Mar 2024 18:24:02 +0000 Resent-Message-ID: <handler.70016.B.171147738415800 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 70016 <at> debbugs.gnu.org Cc: casouri@HIDDEN X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171147738415800 (code B ref -1); Tue, 26 Mar 2024 18:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2024 18:23:04 +0000 Received: from localhost ([127.0.0.1]:35019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpBRv-00046X-3U for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 14:23:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mr.meowking@HIDDEN>) id 1rp96u-000350-2t for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 11:53:12 -0400 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 <mr.meowking@HIDDEN>) id 1roxPH-0007VE-B8 for bug-gnu-emacs@HIDDEN; Mon, 25 Mar 2024 23:23:23 -0400 Received: from latitanza.investici.org ([82.94.249.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mr.meowking@HIDDEN>) id 1roxPE-000268-VU for bug-gnu-emacs@HIDDEN; Mon, 25 Mar 2024 23:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anche.no; s=stigmate; t=1711423389; bh=N/sR7HivTf89b4KGCJdocmwh4NPfDBw0zcx21zYNcLU=; h=From:To:Cc:Subject:Date:From; b=gAeJi28xHx3wtI6q4XPlRia3GE/gWIDyUsM+v6kSTGVvvah8RcHaTWdH/VNFegP7J 1nEE7SQaI+e8Y6VHSN8Rq/ns0rFp28JViDCP4ClznqJQHvhG/tjpRFbQ2HSX2/VRDJ SIKKVyBvdTmrjLQ3b9LHl6d9AYjAmWt0xZ9wr6wc= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4V3ZrF6BXpzGp6K; Tue, 26 Mar 2024 03:23:09 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: mr.meowking@HIDDEN) by localhost (Postfix) with ESMTPSA id 4V3ZrF30z4zGp6J; Tue, 26 Mar 2024 03:23:09 +0000 (UTC) From: Meow King <mr.meowking@HIDDEN> Date: Tue, 26 Mar 2024 11:23:00 +0800 Message-ID: <871q7xllrf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=82.94.249.234; envelope-from=mr.meowking@HIDDEN; helo=latitanza.investici.org 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Mailman-Approved-At: Tue, 26 Mar 2024 14:22:54 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I think it may be a bug (accidentally change code?) so I report it here. Emacs 29.3 treesit-parser-list only accepts one parameter (i.e. BUFFER), but the treesit-parser-list on the latest Master Branch doesn't change, accepting three optional parameters.=20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHJBAEBCAAzFiEEjV3smrPJQPyYn5KY8HTb4TDH/p8FAmYCP5gVHG1yLm1lb3dr aW5nQGFuY2hlLm5vAAoJEPB02+Ewx/6fGw0L/jcL5cgjGhCuIeopNtU3ByfutmrL A/+bwBAN7CgDPIk+g6B8FyXm9HU/joOKENLBY2aJUwK2g2/2Ss5nsYRoA9O0WOgC rFwwpOBV79iCYmVm1ONLW6KzsyNHbqy19hl9BJEMt+WmkV6IoVUH4X+zrSw8ugeY HT8pYCRZVVI8bsdA0FPspGSKKnCjg2yO2TdxPJ/4j+GJ0YqqXK2vc+QLlYC9im7b KvGL1x30N6oZh61qEhFuY/NVMV/KwD2tPFdGL8CppZFhYn9rH92RA4P5eb03ZEob /hqCFFkBUTzIOFcSVmaDtPvSviczlCAxGxOBnhKq/wSqgyvxBJfY24wsiChxMNKP trACjrBUmM+AdR6FMbhkNPkA65V9dKti42X7e+yPbgtexYjOEUaYdBKGQ88UaJBt 8XDa5HYcrc/6ZZ5+tlXjWSS1eYlbdzQG7pvRAsroMyg4tnNF2F6luXoZHx2vS1oy cUXB2EzqqxAbTNbglaDOPJvWJ9oYznLAwIEPxg== =WYtd -----END PGP SIGNATURE----- --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Meow King <mr.meowking@HIDDEN> Subject: bug#70016: Acknowledgement (Emacs 29.3 treesit-parser-list function parameters differ from the master branch) Message-ID: <handler.70016.B.171147738415800.ack <at> debbugs.gnu.org> References: <871q7xllrf.fsf@HIDDEN> X-Gnu-PR-Message: ack 70016 X-Gnu-PR-Package: emacs Reply-To: 70016 <at> debbugs.gnu.org Date: Tue, 26 Mar 2024 18:24:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 70016 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 70016: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70016 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 26 Mar 2024 19:26:01 +0000 Resent-Message-ID: <handler.70016.B70016.171148111730255 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Meow King <mr.meowking@HIDDEN>, casouri@HIDDEN Cc: 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171148111730255 (code B ref 70016); Tue, 26 Mar 2024 19:26:01 +0000 Received: (at 70016) by debbugs.gnu.org; 26 Mar 2024 19:25:17 +0000 Received: from localhost ([127.0.0.1]:35082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpCQ9-0007rv-G6 for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 15:25:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rpCQ7-0007rb-8c for 70016 <at> debbugs.gnu.org; Tue, 26 Mar 2024 15:25:15 -0400 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 <eliz@HIDDEN>) id 1rpCQ0-0003fe-9v; Tue, 26 Mar 2024 15:25:08 -0400 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=1RJ8/NoDEVHuhHZ4nxxrTqasgzSsQenWb3mFQhYbrPM=; b=Mxc3kqYcpOJ1 FVsZaCTsrMxFQE0g2n4LnyaHQIfepz3z+eQIcAJp6XXPGL1Axsn4Z9tG/ZsAbPMp2XooFYQ4HhnPd ZPS5tBvZA1Cid29ylSgKGwZlmwHvukbLS771rRScpWFx2Vm6K01q572FooXyrS5wU4L1ADRUxdLu6 C4D3mHascasVJi/HimdZYO6cf81nJpnD1CrHQjqvZHfB5C29jtD4Mv1Ic+k0QLtpHUC8zHi12pV5D RbaAKC+OUfayMxJOoTNXAWKOyKo+2+8pRi0OqF1b9ppEgQzWVLamkj1mLU05E/awIIf8NYmOJA6Bp i3G4cS1Hv+j5K2PgPYKamA==; Date: Tue, 26 Mar 2024 21:25:04 +0200 Message-Id: <86r0fwiynj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <871q7xllrf.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <871q7xllrf.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: casouri@HIDDEN > Date: Tue, 26 Mar 2024 11:23:00 +0800 > From: Meow King via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I think it may be a bug (accidentally change code?) so I report it here. > > Emacs 29.3 treesit-parser-list only accepts one parameter (i.e. BUFFER), > but the treesit-parser-list on the latest Master Branch doesn't change, > accepting three optional parameters. According to "git log", it was a deliberate change. Yuan, why did we change the signature, and why isn't tyhis called out in NEWS?
Received: (at control) by debbugs.gnu.org; 26 Mar 2024 19:27:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 15:27:47 2024 Received: from localhost ([127.0.0.1]:35091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpCSZ-0007zB-AB for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 15:27:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rpCSX-0007yn-IT; Tue, 26 Mar 2024 15:27:45 -0400 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 <eliz@HIDDEN>) id 1rpCSS-00040P-Jw; Tue, 26 Mar 2024 15:27:40 -0400 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=3zivONRAA2SoPoSMCjCePRhfyF85DJWx590xvgwk/8c=; b=F068bDdaNmh7 X7XKomdZbHwwAIw9kiA41WPLCNSb8MBFOo9QEmKV8SMqRJM7x0O9LWtbScdgU7C6dKq0ubiYav+TT 6u3xoyAaVGxxUSvTImGbU4pI3FN5J1M7UvQZELD+UtSFdh8SBS/GWUYzn/XdvgV1RZX3auQRUVvYB wvOb2lArZiI0WJJ/nzT2lSfiOXsEVAb5HLF6o/RZ/QejYgV0gfprDNhwrmzEsshBE9BolCuPzd6fc OSmmhKAJDVlFxay0BRzpr7RZ0lpUPM6awhmwT2BS7viRPVjrNHBrVtSbIP//EcYryBb/7BLI7Zumf vqTQguEEgGUFNDa97R5hIA==; Date: Tue, 26 Mar 2024 21:27:37 +0200 Message-Id: <86plvgiyja.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Meow King <mr.meowking@HIDDEN> In-Reply-To: <87msqlr3kg.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#70017: Emacs 29.3 treesit-parser-list function parameters changed, while the master branch didn't References: <87msqlr3kg.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: casouri@HIDDEN, 70017 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 70017 70016 thanks > Cc: casouri@HIDDEN > Date: Tue, 26 Mar 2024 12:59:27 +0800 > From: Meow King via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > treesit-parser-list function parameter changed in Emacs 29.3. It only > accepts one mandatory parameter called BUFFER, however, in the latest master > branch, it accepts three optional parameters, the same as before. This is an exact duplicate of bug#70016 that you submitted just a few moments ago; merging them.
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Yuan Fu <casouri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 28 Mar 2024 04:48:02 +0000 Resent-Message-ID: <handler.70016.B70016.171160125520684 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Meow King <mr.meowking@HIDDEN>, 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171160125520684 (code B ref 70016); Thu, 28 Mar 2024 04:48:02 +0000 Received: (at 70016) by debbugs.gnu.org; 28 Mar 2024 04:47:35 +0000 Received: from localhost ([127.0.0.1]:38758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rphfp-0005NF-GA for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 00:47:34 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:51289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1rphfm-0005MJ-VP for 70016 <at> debbugs.gnu.org; Thu, 28 Mar 2024 00:47:32 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1def59b537cso4018455ad.2 for <70016 <at> debbugs.gnu.org>; Wed, 27 Mar 2024 21:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711601244; x=1712206044; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FM5jgxYtLV7AO4PC+X3lwMZZENxKzAG3lAcX6OQkzUM=; b=ahSjupFwgZOy5l9aCSUrFnzU+nOldn7vFrkN0kU9J2VRs1mFy/LwoIRoFvD/jpblz5 RSJjcgvLtVXIcXT3QwdVsyaa/e4ES/myb6cIl25FU35DVbmmJ/otBKB2+mr1jb14JVel MA8ioiW8ZRFZkGHbYVReyE3PViILjDnZqI19+T8DepbFcVvxj5gNqAdndLYu5awqlafi I00a1m1cvAdfHYpCO7ISzYO13VTP8wxHxmf2Arpm1ocHf6IhdVg0srYLJV8YIyQI5gWG cYOlkQBE/KZi/kf5zFG868yexHUa5t3Cw4qWZhzQcvdSTumQbzXyjSns3l7O/q+qACgo YWpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711601244; x=1712206044; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FM5jgxYtLV7AO4PC+X3lwMZZENxKzAG3lAcX6OQkzUM=; b=P78+i5F8wqffamDLLtVTkNGFocbEb0TGMgf9dJu3nSDcfJCZWUkTD3rzCGRX/LY8Vx jqKjjonAe9VXCTYUP2OwHjeJvU8opz8mB8sgWz8wyI3yeJqpGI7g0KirMKa7pomLwemQ SKnldUrZUMTsuQy560APYMd/ER0dHdmAJN3/pf5DJ/MBzJXAZxr+8N4dsC2Bj51xOzoo N/wvnT65bQJ7XTKzFdUvZSHP6JHHvf3hcHA30EqgFjEpcqWJ4mTecQv32fVs7smmS7xx 0nJYySQSOIouQO8+E3bld1DtrOahrYb+H9WattcGXA4/MXFo5fnPWtgEpcKF2Xs0f5qk X3cw== X-Forwarded-Encrypted: i=1; AJvYcCVtBXzwZTq0OnJNRTKlJgLl5AmudDa5foRUILGH5eN9PGLwW7/47DlPqgH//G0U/fvjX6WgNriDz6g+XQ6HVfQ7kaeF7Yc= X-Gm-Message-State: AOJu0YxDovVrOd3iGBRnHTbPwAV6eRjmn1/ppsggeFIM4l2v7v4wfr22 Jl9FojJ0vJ8yrnQvcjhrHwCrZYJw6mbkvLhkcIh/I4oVn4eA5fht X-Google-Smtp-Source: AGHT+IF0++7wgsTNh5+sD+w4gnFi4/UQ4gGQ/ug8mmQTo/z83mkVaKm8V3u6rAI4rZWLMb5Ke9eOQg== X-Received: by 2002:a17:902:cece:b0:1dd:c7ea:81f3 with SMTP id d14-20020a170902cece00b001ddc7ea81f3mr2129211plg.1.1711601244569; Wed, 27 Mar 2024 21:47:24 -0700 (PDT) Received: from smtpclient.apple ([2601:641:300:4910:19dd:fc92:89a3:990]) by smtp.gmail.com with ESMTPSA id k13-20020a170902f28d00b001dee4bee1acsm428797plc.224.2024.03.27.21.47.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2024 21:47:23 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <86r0fwiynj.fsf@HIDDEN> Date: Wed, 27 Mar 2024 21:47:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <70BB120D-0394-4A8F-8A40-62D767DF14BC@HIDDEN> References: <871q7xllrf.fsf@HIDDEN> <86r0fwiynj.fsf@HIDDEN> X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Mar 26, 2024, at 12:25 PM, Eli Zaretskii <eliz@HIDDEN> wrote: >=20 >> Cc: casouri@HIDDEN >> Date: Tue, 26 Mar 2024 11:23:00 +0800 >> From: Meow King via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >>=20 >> I think it may be a bug (accidentally change code?) so I report it = here. >>=20 >> Emacs 29.3 treesit-parser-list only accepts one parameter (i.e. = BUFFER), >> but the treesit-parser-list on the latest Master Branch doesn't = change, >> accepting three optional parameters.=20 >=20 > According to "git log", it was a deliberate change. >=20 > Yuan, why did we change the signature, and why isn't tyhis called out > in NEWS? I believe we only changed the signature from one optional arg to three = optional args, on master. Treesit-parser-list never had one mandatory = arg. We changed the signature to three optional args to a) allow users to get = parsers for a specific language, and b) allow users to get parsers with = a specific tag. Parser tags are used by local parsers. I should have added a NEWS entry, but apparently I forgot :-) Sorry = about that. I=E2=80=99ll add it, along with other functions that I said = I=E2=80=99ll wait a bit more before documenting (it=E2=80=99s about = time). Yuan=
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 28 Mar 2024 07:07:01 +0000 Resent-Message-ID: <handler.70016.B70016.171160959832485 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Meow King <mr.meowking@HIDDEN> Cc: casouri@HIDDEN, 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171160959832485 (code B ref 70016); Thu, 28 Mar 2024 07:07:01 +0000 Received: (at 70016) by debbugs.gnu.org; 28 Mar 2024 07:06:38 +0000 Received: from localhost ([127.0.0.1]:38905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rpjqO-0008Rr-Uk for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 03:06:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rpjqM-0008Rb-40 for 70016 <at> debbugs.gnu.org; Thu, 28 Mar 2024 03:06:35 -0400 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 <eliz@HIDDEN>) id 1rpjqF-0001vA-HN; Thu, 28 Mar 2024 03:06:27 -0400 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=Y28rTnqUvCc574B7ewen9J8jlCWWHx+hUveWAD7Z2OA=; b=XtjUagFZIXxT uaWXiU/b8PzeKyGcMkTpvKoicWf92w4eYT/wK+I2K3reL+2QES1FOklng0mgWYyGnkA7tcMz3Y1ae hE87oiWEEQpcAkdVoJ21oY1gq2THHZwivZNzc5QRpDTSbmFHrandmTJ3BShl3tbIFHnOVJgvTaxjq HIdp903IhnzM20kpUTv3XHUPXBoH3hCyEm8JQ23J4CwPXKmCbNaHCqW70LzEw9VYE0/xdavRJrhxG wA9dQXGqFSGbaDkeZVcGv9/sk6XhBeblpqFy8dc0YfY62ahnHtciJyu0fcTj58rqwVYN8wRTxLMgK 3YGtX4kcO1zV6AfAodUPRA==; Date: Thu, 28 Mar 2024 09:06:25 +0200 Message-Id: <86o7ayhm32.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87edbvds12.fsf@HIDDEN> (message from Meow King on Thu, 28 Mar 2024 10:11:37 +0800) References: <87edbvds12.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Meow King <mr.meowking@HIDDEN> > Cc: > Date: Thu, 28 Mar 2024 10:11:37 +0800 > > I rechecked the Emacs 29.2 source code, and found it also accepts one > parameter, so it may be my mistake since `treesit-parser-list` function > in Emacs master branch has long ago differs from the Emacs 29's, and there > is no problem with Emacs 29.3. It's because that I always work on Emacs > master branch and recently a user of my package reported an issue > related to Emacs 29.3 -- I think it's a issue for Emacs 29.3 without > enough confirm. Sorry for the misinformation again. Forwarding to the bug tracker. Thanks for telling us. The question why we changed the signature in Emacs 30 still stands.
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Apr 2024 09:18:01 +0000 Resent-Message-ID: <handler.70016.B70016.171239505732670 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu <casouri@HIDDEN> Cc: mr.meowking@HIDDEN, 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171239505732670 (code B ref 70016); Sat, 06 Apr 2024 09:18:01 +0000 Received: (at 70016) by debbugs.gnu.org; 6 Apr 2024 09:17:37 +0000 Received: from localhost ([127.0.0.1]:38291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rt2B7-0008Up-Dx for submit <at> debbugs.gnu.org; Sat, 06 Apr 2024 05:17:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rt2B5-0008UA-6S for 70016 <at> debbugs.gnu.org; Sat, 06 Apr 2024 05:17:35 -0400 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 <eliz@HIDDEN>) id 1rt2At-0005jE-5m; Sat, 06 Apr 2024 05:17:23 -0400 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=XKywmIlIsQIdS/bxBXZ3VzpanjCcJMZFuAv24W7Lcvw=; b=GeJ3Yk1/+r/eXWTDwArV NOSBrh+HzGSZEMJYcpPyef2mojX0yWPwlrFFc9XLSckpvfFPR6GXsyWKAd95ulb8xpj2DVdjmAZH2 VpTZx26GO/eFSIQ3UOGIB/9Dzt8rdB5mIH6uDQwcrzhuDp55dZdFmCtn7xJt/T8jkYo+wbgQo4kAW 8uma3QffummGzihniH4sKIAO7Wx8llJ7eQQPVeP/2nbDXCYX8ZAqFT+KUGWE3I4uGKW/ZyIwaOuKD q74u9m6Q7jZlF41PzgvrjDlUX06UVP86TtnopJb0cse0XoGVm0aCQexd15bkQjL6nQ3h6Jhz8bCJj UuM/ukBeNA0PLg==; Date: Sat, 06 Apr 2024 12:17:21 +0300 Message-Id: <86y19q3l5q.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <70BB120D-0394-4A8F-8A40-62D767DF14BC@HIDDEN> (message from Yuan Fu on Wed, 27 Mar 2024 21:47:12 -0700) References: <871q7xllrf.fsf@HIDDEN> <86r0fwiynj.fsf@HIDDEN> <70BB120D-0394-4A8F-8A40-62D767DF14BC@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Yuan Fu <casouri@HIDDEN> > Date: Wed, 27 Mar 2024 21:47:12 -0700 > Cc: Meow King <mr.meowking@HIDDEN>, > 70016 <at> debbugs.gnu.org > > > On Mar 26, 2024, at 12:25 PM, Eli Zaretskii <eliz@HIDDEN> wrote: > > > >> Cc: casouri@HIDDEN > >> Date: Tue, 26 Mar 2024 11:23:00 +0800 > >> From: Meow King via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > >> > >> I think it may be a bug (accidentally change code?) so I report it here. > >> > >> Emacs 29.3 treesit-parser-list only accepts one parameter (i.e. BUFFER), > >> but the treesit-parser-list on the latest Master Branch doesn't change, > >> accepting three optional parameters. > > > > According to "git log", it was a deliberate change. > > > > Yuan, why did we change the signature, and why isn't tyhis called out > > in NEWS? > > I believe we only changed the signature from one optional arg to three optional args, on master. Treesit-parser-list never had one mandatory arg. > > We changed the signature to three optional args to a) allow users to get parsers for a specific language, and b) allow users to get parsers with a specific tag. Parser tags are used by local parsers. > > I should have added a NEWS entry, but apparently I forgot :-) Sorry about that. I’ll add it, along with other functions that I said I’ll wait a bit more before documenting (it’s about time). Ping! Could you please do these documentation changes now? Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch Resent-From: Yuan Fu <casouri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 08 Apr 2024 06:31:01 +0000 Resent-Message-ID: <handler.70016.B70016.171255780311665 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mr.meowking@HIDDEN, 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171255780311665 (code B ref 70016); Mon, 08 Apr 2024 06:31:01 +0000 Received: (at 70016) by debbugs.gnu.org; 8 Apr 2024 06:30:03 +0000 Received: from localhost ([127.0.0.1]:45153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rtiW2-00031k-1y for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 02:30:02 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:47402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1rtiVz-00030j-Mx for 70016 <at> debbugs.gnu.org; Mon, 08 Apr 2024 02:30:00 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6ecea46e1bfso3767140b3a.3 for <70016 <at> debbugs.gnu.org>; Sun, 07 Apr 2024 23:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712557786; x=1713162586; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xQH/SyNvHUvB5U6fsOMyK/BxlmcH/UMWtN6XFata9XA=; b=Tz5fjWJaRtbnA0uGdmVRNMgQRUnzumK0IBeCJxBQoI9r2K19lBYRt2HGXJwrLodRPS /mUl6CfS4QUUn5l3IhBmkaA9ku8os7/7IzQFCS5UeghpTG25nf4qyRDCFXz5v/lVL78I r/2tZUomsuQuguEFWje7Nz5xtX79gN/Wdl0Nz2Wwy/FcH1cLjDjVs3IT1KjrDcp36Qsn jswzpZUdhH0iAJENcAhPMs50Bx0xFsQdu0pFOZFHAh3kIMl9rIzltGJnSpV6zSwi4EOC m0g1lLC2W1ZiYGKSsmPYtAEIOGlxY0Vvgwhle2lqIIOoZYUTm6xwXsXVTi27Mlgw/N/S 6Z5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712557786; x=1713162586; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xQH/SyNvHUvB5U6fsOMyK/BxlmcH/UMWtN6XFata9XA=; b=HB6wr4PvwxWGXZhDL0zVwF5MFrbJU7VQUM2WhdIxPzBJTciYWuIChqiHX9bACDWnDK tVGdHxwxsP7c1U2u1lW0pfC+VU3fbSRGZ3jR9vYClluImKpxZyz4YuGkmR8p/ctRjG91 Z3MFcq2+cbjNL2AiLd8okDgOGxWxRrxtowoVzo/3gicM6jtRKg456jefhoPdbELaxn85 T9A6XPJ0t8ahVf4c2mRcgLBQMCBTs09iY2ZgDUdnRme3J65CBMxn9aJ91rYRZvorN1ik PEP3ls6JxkdbszuE+xV5koQbxw6NFZbeW5H06AsHM28EAK5uyFAo0WHUghv11On5E8Vx q09w== X-Forwarded-Encrypted: i=1; AJvYcCX/8xb227BASpj+QJmxhLIVDd4id3pnaREZfnH4YEYzmpUquKLDkON+swTyMEe03O1jhTmsizgq8COH96P6I3pxMnDOsY0= X-Gm-Message-State: AOJu0YwN1oJFLBHnJCppShbVi8IKSVnX1t74Mf521SFXk7QsFObI7fAV l+4fI4XajORaur8vNxXensjnj/chvG2pRyOK8aHhIk0C1RzJmQGF X-Google-Smtp-Source: AGHT+IHPYqzYCBIX+wzxWVqIt5PEFlXNHVh+jjSFgGCcgaNZBjxRgSv8GpZkPbpiQJfEIkkqAGOzLw== X-Received: by 2002:a05:6a00:4b53:b0:6ed:4f2e:ef22 with SMTP id kr19-20020a056a004b5300b006ed4f2eef22mr439058pfb.31.1712557786445; Sun, 07 Apr 2024 23:29:46 -0700 (PDT) Received: from smtpclient.apple ([2601:641:300:4910:6c00:57e9:a6fc:238b]) by smtp.gmail.com with ESMTPSA id r23-20020aa78b97000000b006ead124ff9fsm5717175pfd.136.2024.04.07.23.29.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Apr 2024 23:29:45 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <86y19q3l5q.fsf@HIDDEN> Date: Sun, 7 Apr 2024 23:29:34 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <83D02CA6-A7E5-413B-B813-809E3E8E3499@HIDDEN> References: <871q7xllrf.fsf@HIDDEN> <86r0fwiynj.fsf@HIDDEN> <70BB120D-0394-4A8F-8A40-62D767DF14BC@HIDDEN> <86y19q3l5q.fsf@HIDDEN> X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Apr 6, 2024, at 2:17 AM, Eli Zaretskii <eliz@HIDDEN> wrote: >=20 >> From: Yuan Fu <casouri@HIDDEN> >> Date: Wed, 27 Mar 2024 21:47:12 -0700 >> Cc: Meow King <mr.meowking@HIDDEN>, >> 70016 <at> debbugs.gnu.org >>=20 >>> On Mar 26, 2024, at 12:25 PM, Eli Zaretskii <eliz@HIDDEN> wrote: >>>=20 >>>> Cc: casouri@HIDDEN >>>> Date: Tue, 26 Mar 2024 11:23:00 +0800 >>>> From: Meow King via "Bug reports for GNU Emacs, >>>> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >>>>=20 >>>> I think it may be a bug (accidentally change code?) so I report it = here. >>>>=20 >>>> Emacs 29.3 treesit-parser-list only accepts one parameter (i.e. = BUFFER), >>>> but the treesit-parser-list on the latest Master Branch doesn't = change, >>>> accepting three optional parameters.=20 >>>=20 >>> According to "git log", it was a deliberate change. >>>=20 >>> Yuan, why did we change the signature, and why isn't tyhis called = out >>> in NEWS? >>=20 >> I believe we only changed the signature from one optional arg to = three optional args, on master. Treesit-parser-list never had one = mandatory arg. >>=20 >> We changed the signature to three optional args to a) allow users to = get parsers for a specific language, and b) allow users to get parsers = with a specific tag. Parser tags are used by local parsers. >>=20 >> I should have added a NEWS entry, but apparently I forgot :-) Sorry = about that. I=E2=80=99ll add it, along with other functions that I said = I=E2=80=99ll wait a bit more before documenting (it=E2=80=99s about = time). >=20 > Ping! Could you please do these documentation changes now? >=20 > Thanks. My pleasure. It just happens today I finally got a day where I can sit = down and write some code. I updated manual and news entries. There=E2=80=99= s one thing though, I couldn=E2=80=99t find a good way to avoid using = variables (which starts with lowercase) at the beginning of sentences. I = don=E2=80=99t know how do you feel about having lower case letter at the = beginning of sentences. If you have good tips on avoiding them I=E2=80=99m= happy to apply it to all the occurrences in the new manual entries I = wrote. Yuan
X-Loop: help-debbugs@HIDDEN Subject: bug#70016: bug#70017: Emacs 29.3 treesit-parser-list function parameters changed, while the master branch didn't Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 30 Jun 2024 05:58:01 +0000 Resent-Message-ID: <handler.70016.B70016.171972707229514 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yuan Fu <casouri@HIDDEN> Cc: mr.meowking@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 70017 <at> debbugs.gnu.org, 70016 <at> debbugs.gnu.org Received: via spool by 70016-submit <at> debbugs.gnu.org id=B70016.171972707229514 (code B ref 70016); Sun, 30 Jun 2024 05:58:01 +0000 Received: (at 70016) by debbugs.gnu.org; 30 Jun 2024 05:57:52 +0000 Received: from localhost ([127.0.0.1]:54619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sNnZQ-0007ft-6c for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 01:57:52 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:53675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1sNnZO-0007fg-Kl; Sun, 30 Jun 2024 01:57:50 -0400 Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a725041ad74so71556766b.3; Sat, 29 Jun 2024 22:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719727010; x=1720331810; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=NEj3bPeTGYisHa8IImJ+71iYf/i9reT0UdTd3zCJZrQ=; b=XLDJ606hJGYnZV4ZQXEh03GMb77BzNuzPOnMfO78a3SZ5k+o0kB74Oi4nEh0APb67q +lZv5Z33vV7UyLfcXQdvSzZ9QynKD9bMKzD4phk7F+CmJOQg5mRldzt6igtykPPgGTx+ PmKWcFRCbV2ZVDrDWQ+BNwY2U1Ntfg4I8xrzgTSbvWwA/eLvlhwEaKpHftglSr7zP4pP xruEKuy6cpn42uEdm/qMR7QELkmbls9FpqvBpra7AJZJtIJMVZGqKIkosFgHIvIDfNiZ Y6Gr3k4wMyZqwDlY12M2Wl0q/uTuJ6iEFQfSLS5TGnQtg/8dGycjbnQlZdHgHtl2Ltuv RPQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719727010; x=1720331810; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=NEj3bPeTGYisHa8IImJ+71iYf/i9reT0UdTd3zCJZrQ=; b=touUFrBHLZXmkDcXWnyfkkx2ogT5rzqI3FyNFbzap68hbS9D29Hs2vbTAVvHSGHpk9 tpN14WwrErlPNLa1jkOFznPglIDxOnrcCqQM5FYdUowU6yZ5Xj5ggji36U7INRPzxuOm y1+xzEf6hXDbO5hWAAgAi0YebXqUd4EZW1/9CfGxzBoN6qa5QovK0trJJ9cSqMm+5kfZ B/HnERUNAjCf9QBRqghjXgt91x3n9inTNswXMphpgaPPVgm8ICPreXBkbIt9sZc/Nzz9 XqFbwyOlGbI1RjSVvR1YdBSybh9g5tOZKuR7imGK6QtGonFpD2LPRwECUbcPDJ63jGJR Q1FA== X-Forwarded-Encrypted: i=1; AJvYcCU5nw19l2dgG1HYsRUevsrhdXsRudnELjGGIKg8hkKPncguJ7sbhMK67A/w0kh/MEYHBb4tQgeUT6Q7IaT2nAsk3apuUDe0AOfNiq42FWGgJ4d5jEkeJk4t3yvNVQ== X-Gm-Message-State: AOJu0Yy3yzcCizrytvAAsyPxFceSd5IDufQ3uygg1UyeujdVhceQeS6E nwgCb7zY0di86yusU/zapoRukTwt+pc9WJm+A2c+bRyTpq11+gJO+OiNgOXZKiHAJI7KbDgy9tL zPd1y8hPL4fQyWQCqn2xw8rNPd5wf3rP+cXs= X-Google-Smtp-Source: AGHT+IEV5J0XeS1xkAtoO+VfaGTI3H9LtKUUhnhVxY99NMuQheUHr15ltjhhdMmamGOFJkbcaUAGfg0Wye7rMq8x0ZE= X-Received: by 2002:a05:6402:d05:b0:57c:5874:4f5c with SMTP id 4fb4d7f45d1cf-587a0822c5bmr2068384a12.32.1719727009971; Sat, 29 Jun 2024 22:56:49 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 29 Jun 2024 22:56:49 -0700 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <83D02CA6-A7E5-413B-B813-809E3E8E3499@HIDDEN> (Yuan Fu's message of "Sun, 7 Apr 2024 23:29:34 -0700") References: <871q7xllrf.fsf@HIDDEN> <86r0fwiynj.fsf@HIDDEN> <70BB120D-0394-4A8F-8A40-62D767DF14BC@HIDDEN> <86y19q3l5q.fsf@HIDDEN> <83D02CA6-A7E5-413B-B813-809E3E8E3499@HIDDEN> MIME-Version: 1.0 Date: Sat, 29 Jun 2024 22:56:49 -0700 Message-ID: <CADwFkmm4mGN6cQUCW+kSWMSUM4jgKpf6Fn8+LcOq_eq1ii7LXQ@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Yuan Fu <casouri@HIDDEN> writes: > My pleasure. It just happens today I finally got a day where I can sit do= wn and > write some code. I updated manual and news entries. There=E2=80=99s one t= hing though, I > couldn=E2=80=99t find a good way to avoid using variables (which starts w= ith lowercase) > at the beginning of sentences. I don=E2=80=99t know how do you feel about= having lower > case letter at the beginning of sentences. If you have good tips on avoid= ing > them I=E2=80=99m happy to apply it to all the occurrences in the new manu= al entries I > wrote. My best idea for that is to reformulate the sentence. It's not the end of the world, IMHO. Could this bug be closed?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.