GNU bug report logs - #70016
Emacs 29.3 treesit-parser-list function parameters differ from the master branch

Previous Next

Package: emacs;

Reported by: Meow King <mr.meowking <at> anche.no>

Date: Tue, 26 Mar 2024 18:24:02 UTC

Severity: normal

Merged with 70017

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Meow King <mr.meowking <at> anche.no>, casouri <at> gmail.com
Cc: 70016 <at> debbugs.gnu.org
Subject: bug#70016: Emacs 29.3 treesit-parser-list function parameters differ from the master branch
Date: Tue, 26 Mar 2024 21:25:04 +0200
> Cc: casouri <at> gmail.com
> 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 <at> gnu.org>
> 
> 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?




This bug report was last modified 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.