Gladly! I have a tree macro, I made it parameterized on purpose, so I could 
display any tree from any tiddler. Then I thought it wold be nice if I 
could invoke it without a parameter, when I want to display the tree 
originating from the current tiddler.

```
\define _ra_treeN(node) 
 
;[[$node$]] 
:<$macrocall $name=_ra_tree node="$node$"/> 
\end 
 
\define _ra_tree(node) 
<$tiddler tiddler="$node$"> 
 
<$list 
filter="[<currentTiddler>tagging[]!<currentTiddler>!tag[$:/_ra/tags/Bookmark]!tag[$:/_ra/tags/Archive]!nsort[score]]">
 

 
  <$macrocall $name=_ra_treeN node={{!!title}}/> 
 
</$list> 
\end
```

On Tuesday, May 5, 2015 at 11:00:02 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Rustem
>
> The default values for macro parameters can only be specified as literal 
> strings, I'm afraid. Can you expand on the situation, perhaps I can advise 
> on alternatives?
>
> Best wishes
>
> Jeremy.
>
>
> On Tue, May 5, 2015 at 9:10 AM, Rustem <[email protected] <javascript:>> 
> wrote:
>
>> How can I pass `<currentTiddler>` or a field as a default value for a 
>> macro parameter? 
>>
>> Thanks.
>> --R
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <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/e17fbd6b-985c-4acb-a960-ef58f3b67b57%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e17fbd6b-985c-4acb-a960-ef58f3b67b57%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <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 [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/bd3f1390-3354-4589-b887-a7a85cb1ce3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to