The challenge with adding support for $:/tags/Global
alongside $:/tags/Macro
is that many of the TiddlyWiki core templates repeat this same code to import the global macros:
\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
That line will need updating in each case to add a reference to $:/tags/Global
. However, many users will have copied these templates to make their own custom templates. While we can update the core templates, the clones wonāt be automatically updated. So, if we go ahead and add support for $:/tags/Global
then users will sometimes run into problems with macros not being available in certain situations.
Nonetheless, I think this is worth doing. We can mitigate the problems to some extent by ensuring that all core globals are tagged with both $:/tags/Macro
and $:/tags/Global
so that they are visible within templates using the old import filter.