Hi Eric,

On Mon, Feb 10, 2020 at 11:13 PM Eric Shulman <[email protected]> wrote:

> On Monday, February 10, 2020 at 10:47:49 AM UTC-8, Xavier Cazin wrote:
>>
>> tag a tiddler in the middle of the story with $:/tags/Macro, open it,
>> then save it. It will lead you above the story.
>>
>
> I suspect that it has to do with the way that global macros are loaded by
> the $:/core/ui/PageTemplate, which does the following:
> \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro
> ]!has[draft.of]]
>
> This line causes an automatic refresh of the PageTemplate whenever a
> tiddler tagged with $:/tags/Macro is changed.
>

This is it! When I remove my plugin namespace from this filter, the issue
disappears :-)

Thank you Eric, you saved me some hair. I'll use <$importvariables> to load
my macros explicitly and I'll fill a ticket on GitHub.

--Xavier.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CADeSwYPmWbNKvcaFK4Apw5K%2Bx2j8Xbwk51FOYwpFKXRiewcQ2w%40mail.gmail.com.

Reply via email to