emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tree-sitter shell script changes


From: Po Lu
Subject: Re: tree-sitter shell script changes
Date: Sat, 11 Mar 2023 11:28:19 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Randy Taylor <dev@rjt.dev> writes:

> Why treesit_word instead of language? language is much better IMO.

Typically when you iterate over the words in a string separated by the
IFS, you name the variable ``FOO_word'', where FOO is the name of the
component performing the iteration.

It makes sourcing the script into another shell safer.  But I guess the
other variables in it have problems there too, so I won't insist.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]