The tf.prefix for global functions should be reserved for tiddlywiki core. Simialr to tc-classes or tm-message. The tf.dot is needed to be able to use function definitions as functions in filters.
Users should use f.prefix for global functions which should be OK. It’s also shorter _f.localFunction should also be used by users.
I personally think I’ll use wlf.prefix or something similar for wikilabs functions.
I did some explanation for the new naming rules at the toc-rewrite draft PR
I am not laughing @BurningTreeC and I am glad it works. I am impressed by its length
However I would be confident there is, or should be a MUCH better way.
Function names and prefixes
Also I have a different view to @pmario and prefer readable than prefixed names, but I do deploy a number of strategies to support this, although I will not detail it here.
This difference of opinion is healthy in my view
It is also heavily context dependant, such as is it only in a particular wiki, or something shared widely?
By simply placing the “concatenation” function tf.search-tiddlers inside the other you can use any name you want, as it is local to that function, even if the outer one is global.
I am also tempted to split that functions definition across lines to make it more readable, but if we had a more general solution to this issue this would be less important.
The more general issue
As I see, it this issue you raised is a type that belongs to a class of problems, that I have tried to address in the past. As yet I dont have a satisfactory approach:
using variables and transclusions as prefixes to filter operators.
more generaly constructing filters using variables and transclusions that can then be displayed as text for documentation and/or also used as a filter.