Hi Mat, On Wednesday, January 22, 2020 at 1:02:03 PM UTC+3:30, Mat wrote: > > Mohammad wrote: >> >> Drag and drop in tiddlywiki.com and see how amazingly it works! >> > > > Thanks, both of you, for sharing. Please note that recursions can cause > problems also: For example, go to tiddlywiki.com and tag the HelloThere > tiddler with "Examples" (i.e to create a loop because Examples is a > subtiddler to HelloThere). This does *not* cause problems. But if you add > Mohammads creation you get RSOE. I'm not sure how native TW avoids this but > know it was something that was actively dealt with a few years back. >
This is a very smart catch of error! 1. What we should do? I need to prevent *circular reference* cause infinite recursion! So, the code should go to some depth for example 5 or 10 or higher levels, after that macro should stop recursion and show an alert! I will try to address this. 2. Is circular reference is organic? NO, assume chapter A has three sections: Aa, Ab, Ac, are listed along with itself in a toc. THEN, chapter A itself is a section of Ab! It doesn't make sense! The toc in the core should ignore something which is a convention and it cannot solve the circular references! So, in my opinion a circular reference is bad organization of content in wiki and should be avoided! > > A wish: One major lacking feature of current ToC's is drag'n drop-ability. > I.e to rearrange the branches in the tree. This would be the basis for a > super useful outliner: The next step would be a feature to "open all > tiddlers" in a tree or a subbranch. It'd be a very powerful tool for > authoring longer texts. > > <:-) > Cheers Mohammad -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bc4b1213-2f2b-448c-b81f-53abc1121f03%40googlegroups.com.

