Here you need to use <<tagName>> instead of $(tagName)$ like this:
\define TagHistory() <$set name="tagName" value={{!!title}}> <<tagName>> <$list filter="[tag<tagName>tag[Journal]!sort[title]]" /> </$set> \end Note that there are single < and > around tagName in the filter instead of [ and ]. If you have something like this: <$set name=tagName value={{!!title}}> <<TagHistory>> </$set> then you could use $(tagName)$ inside the TagHistory macro. This explaination may be missing some details, but the general difference between <<tagName>> and $(tagName)$ is when you use <<tagName>> it treats it like a macro and inserts the wikitext which is then evaluated, if you use a set widget outside a macro and then use $(tagName)$ inside the macro than the wikitext that defines tagName is evaluated before being passed into the macro. -- 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/3971ce3f-b804-40a1-a21d-f375f0e07fc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.