In a solved discussion, @saqimtiaz gave this nice simple answer:
I would like to find out more about this :all
syntax, but am surprised by how little documentation is available. There are only two hits on the main page. One is for an example (see the last inline example in that tiddler) which demonstrates avoiding unwanted de-duplication – for instance a list field might be allowed to hold multiple copies of the string “abc”.
The other, in Filter Expression, has this:
Run Equivalent named prefix Interpretation Output run
:or[run]
de-duplicated union of sets … OR run =run
:all[run]
union of sets without de-duplication … OR run +run
:and[run]
accumulation of filter steps … AND run … … … …
And I understand the description as “union of sets without de-duplication”. What I don’t understand is how this also preserves spaces. I don’t mean how it works technically; I tested, altering the "add abc
" example to "add abc def
" instead, and each button press adds a copy of the string [[abc def]]
to the field in question. That’s clear enough. But I can’t see how this behavior is related to the un-de-duplicated (!) description. Nor can I see how one would ever be expected to find out about this behavior. Am I missing something fundamental?
I few months ago, I put aside an issue that sounded possible, but simply seemed beyond my then-skill-level. I’m not sure, but I think this :all
prefix would have given me some chance to solve it, and when I go back to that work, I will definitely try it out.
So, is this a fundamental part of what :all
is for? Or is it some accident of the implementation that happened to have useful consequences? Is there some way that it might be documented more explicitly?