[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 09b5f00613: ; Fix calls to treesit functions
From: |
Stefan Monnier |
Subject: |
Re: master 09b5f00613: ; Fix calls to treesit functions |
Date: |
Tue, 20 Dec 2022 11:02:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> With functions returning a list, this is almost obvious, yes. But
> what about functions that return a buffer position, or a symbol, or
> some other data type? In those cases it is much less trivially
> evident what to expect when tree-sitter support is unavailable.
In such cases, the better choice may be not to provide an implementation
(or signal an error).
> Thus the need to document this stuff.
My take on it is that if we need to change the doc, then maybe this is
not a good candidate for the set of functions that are always defined :-)
Stefan
- Re: master 09b5f00613: ; Fix calls to treesit functions, (continued)
- Re: master 09b5f00613: ; Fix calls to treesit functions, Theodor Thornhill, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Eli Zaretskii, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Stefan Monnier, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Theodor Thornhill, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Yuan Fu, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Eli Zaretskii, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Stefan Monnier, 2022/12/19
- Re: master 09b5f00613: ; Fix calls to treesit functions, Eli Zaretskii, 2022/12/20
- Re: master 09b5f00613: ; Fix calls to treesit functions, Stefan Monnier, 2022/12/20
- Re: master 09b5f00613: ; Fix calls to treesit functions, Eli Zaretskii, 2022/12/20
- Re: master 09b5f00613: ; Fix calls to treesit functions,
Stefan Monnier <=
- Re: master 09b5f00613: ; Fix calls to treesit functions, Yuan Fu, 2022/12/20