Thanks for the explanation. I was wondering what had broken with one of my 
projects but didn't have the time to troubleshoot. This note saved me a 
great deal of head-scratching.

In this case, Mervin was using it in the context of a macro call. I can see 
how this can be worked around using <$macrocall name=<<variable>>/> in 
place of the <<>> syntax.

However, in my case, I was using it in a transclusion template like 
{{$(variable)$||some_custom_tag_pill_tiddler}}. In looking at the 
instructions for the full TranscludeWidget, I can do <$transclude 
tiddler=<<variable>> field="title"/> but is there a way to specify the 
template? I was able to workaround things by making a macro like you 
indicated containing the above {{||}} transclusion template but am I 
missing something in that the full transcludeWidget is not able to use a 
template tiddler? I did try adding a "template=" section but it didn't work.

/Mike

On Wednesday, August 14, 2019 at 6:00:08 AM UTC-3, Jeremy Ruston wrote:
>
> Hi Mervin
>
> I’m not sure without seeing more context but I think the problem may be 
> this fix from v5.1.18:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/3333
>
> Previously, `$(variable)$` substitutions were performed regardless of how 
> the macro was defined (even if it was actually defined with the set 
> widget). Now such substitutions are only performed for macros defined with 
> the \def pragma.
>
> Best wishes
>
> Jeremy.
>
>
> On 14 Aug 2019, at 04:32, 'mervin mecklenburg' via TiddlyWiki <
> tiddl...@googlegroups.com <javascript:>> wrote:
>
> After I upgraded to version 5.1.20 from 5.1.16, the following code no 
> longer works.
>
> \define droppable-today(somevar)
> <$action-listops $tiddler=<<actionTiddler>> $field="tags" 
> $subfilter="-$(somevar)$"/>
> \end
>
>
>
> <$set name='somevar' value={{!!title}}>
>
> <<list-tagged-draggable tag:$(somevar)$ subFilter:"!tag[WipDone3]">>
>
> <$droppable actions=<<droppable-today>>>Drop here</$droppable>
>
> In the original version, the code performed two functions.  It created a 
> list if titles of tiddlers with a certain tag, and the list could be 
> resorted using drag and drop.  The bottom line removed the tag, and by 
> doing so dropped items dragged to that point from the list.  Both of these 
> functions no longer work following the upgrade.  Can anyone explain why?
>
> Merv
>
>
> -- 
> 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 tiddl...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/c156b1b7-6165-44c5-9882-1a2162265ba2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/c156b1b7-6165-44c5-9882-1a2162265ba2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2526e7cf-e591-45a4-b6a1-c900e51a4268%40googlegroups.com.

Reply via email to