A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00955.html below:

Re: feature/tree-sitter 34e50dc4a2 2/5: Allow tree-sitter to notify pars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Yuan Fu Subject: Re: feature/tree-sitter 34e50dc4a2 2/5: Allow tree-sitter to notify parse-tree changes Date: Tue, 15 Nov 2022 09:25:27 -0800
> On Nov 15, 2022, at 3:54 AM, Po Lu <luangruo@yahoo.com> wrote:
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
>> +static Lisp_Object
>> +treesit_make_ranges (const TSRange *, uint32_t, struct buffer *);
> 
> This should be:
> 
> static Lisp_Object treesit_make_ranges (const TSRange *, uint32_t,
>                                       struct buffer *);
> 
>> +  Lisp_Object lisp_ranges = treesit_make_ranges(ranges, len, buf);
> 
> There is a missing space between "treesit_make_ranges" and its
> parameters.
> 
>> +  FOR_EACH_TAIL (functions)
>> +    safe_call2(XCAR (functions), lisp_ranges, parser);
> 
> Here too, between safe_call2 and the parameters.
> 
>> +      treesit_call_after_change_functions(tree, new_tree, parser);
> 
> And here.
> 
>> +DEFUN ("treesit-parser-notifiers",
>> +       Ftreesit_parser_notifiers,
>> +       Streesit_parser_notifiers,
> 
>> +
>> +DEFUN ("treesit-parser-add-notifier",
>> +       Ftreesit_parser_add_notifier,
>> +       Streesit_parser_add_notifier,
> 
>> +
>> +DEFUN ("treesit-parser-remove-notifier",
>> +       Ftreesit_parser_remove_notifier,
>> +       Streesit_parser_remove_notifier,
> 
> Can't you put all of these on one line?

All fixed! Thanks. BTW how do you send an email like this, with the tile being 
the commit message and everything?

Yuan


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4