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 (wrap in 
[[...]])

```
<$set name=myVariable filter="[[$(currentTiddler)$]]">
<$text text=<<myVariable>>/>
</$set>
```

but this does:

```
<$set name=myVariable filter="[all[current]]">
<$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 <8pa...@gmail.com <javascript:>> 
> 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 tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <javascript:>.
>> 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:jeremy...@gmail.com <javascript:>
>  

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e387455d-a434-4b8f-a5ae-8b5d6dcac0b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to