\import pragma and $:/tags/Macro

40 views
Skip to first unread message

Mohammad

unread,
Aug 7, 2019, 3:22:44 PM8/7/19
to TiddlyWiki
Is there any reason that the \import pargma does not work in a tiddler itself tagged with $:/tags/Macro?

Jeremy Ruston

unread,
Aug 8, 2019, 5:01:40 AM8/8/19
to tiddl...@googlegroups.com
Hi Mohammad


On 7 Aug 2019, at 20:22, Mohammad <mohammad...@gmail.com> wrote:

Is there any reason that the \import pargma does not work in a tiddler itself tagged with $:/tags/Macro?

The import pragma only imports <$set> widgets  (macro definitions are <$set> widgets behind the scenes).

To make it respect nested imports would make the mechanism a bit more complicated because of the possibility of recursion. I think it would actually be hard to guarantee to respect the ordering implied by the nesting of the import widgets.

Best wishes

Jeremy.

Mohammad

unread,
Aug 8, 2019, 5:09:59 AM8/8/19
to TiddlyWiki
Hi Jeremy!
 Thanks for Clarification!

Cheers
Mohammad


On Thursday, August 8, 2019 at 1:31:40 PM UTC+4:30, Jeremy Ruston wrote:
Hi Mohammad
Reply all
Reply to author
Forward
0 new messages