The approach used here will work under certain conditions - in particular, it 
will break in the face of partial refreshes of the page. With care, you will be 
able to avoid the breaking conditions through hacks such as forcing a refresh 
with every change to the store. The challenge is that unless you intimately 
understand the refresh mechanism then it's pretty much going to feel like 
witchcraft, with no obvious rhyme or reason.

This approach breaks a fundamental assumption governing the behaviour macros: 
what they be idempotent and have no side effects. The text they return is 
supposed to depend only on the arguments, with no dependency on values in the 
tiddler store. It would be expensive (and pointless) to try to prevent 
developers from breaking that assumption. (In fact, the core abuses macros by 
breaking this assumption in a few situations; it's largely leftover from when 
TW5 was very young, and now I would be able to implement those features 
differently).

Best wishes

Jeremy

--
Jeremy Ruston
[email protected]
https://jermolene.com

> On 10 Dec 2018, at 04:44, Mohammad <[email protected]> wrote:
> 
> Hello Mark,
>  It works now! Thank you. Please let me to make more tests and I will return 
> to you.
> I may also make more macros like the one to show bibliography at the bottom 
> of tiddlers.
> 
> Also to see the effect when I make a big tiddler by transcluding the smallet 
> one.
> 
> I hope Olegh see the post and give a try with his comments.
> 
> Other interested people are kindly asked to give their comments
> 
> Best
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a596b726-321a-42fc-b9cb-73f975241dd3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F4E7FC53-2191-45E2-8E19-B422C5679AF2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to