I should have just used [<currentTiddler>] instead of [[$(currentTiddler)$]]. 
Not sure what the deal with the latter is. Used in a list filter, it causes too 
much recursion.

On Monday, July 6, 2015 at 1:05:06 PM UTC-7, Rustem wrote:

Actually, I realized set widget will do it for me, as described in 
> http://tiddlywiki.com/static/SetWidget (see “Filtered List Variable 
> Assignment”).
>
> However, can anybody explain why this does not work as expected (assuming 
> currentTiddler title contains spaces)
>
> <$set name=myVariable filter="[[$(currentTiddler)$]] [[another one]]">
> <$text text=<<myVariable>>/>
> </$set>
>
> but this does:
>
> <$set name=myVariable filter="[all[current]] [[another one]]">
> <$text text=<<myVariable>>/>
> </$set>
>
> On Monday, July 6, 2015 at 12:52:36 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Rustem
>>
>> The core already contains a function stringifyList() that does what you 
>> want:
>>
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L253-L263
>>
>> You could wrap it into a JS macro,
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On Mon, Jul 6, 2015 at 7:58 AM, Rustem <[email protected]> wrote:
>>
>>> I agree. I think this problem is commonly referred to as OCD. Can't live 
>>> with extraneous brackets. :D
>>>
>>> On Sunday, July 5, 2015 at 11:53:20 PM UTC-7, Danielo Rodríguez wrote:
>>>>
>>>> What is the problem about enclosing a string without spaces in double 
>>>> square brackets? it will work the same and it is easier.
>>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Jeremy Ruston
>> mailto:[email protected]
>>  
> ​
>
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6c29ee0-7e8c-486d-956d-83a572130ad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to