Hi Mat Just to confirm that, yes, transcluding widget attributes is pretty efficient.
Best wishes Jeremy > On 11 May 2016, at 17:07, Mat <[email protected]> wrote: > > Mario, Jeremy, thanks. > > > > We generally introduce transclusions when we identify a portion of a shadow > tiddler that would benefit from being independently controllable. For > example, look at the change to add configurability to the autofocus attribute > of the sidebar search: > > https://github.com/Jermolene/TiddlyWiki5/commit/a89ae45188733fdfa7660175db2096dda86a5e34 > > <https://github.com/Jermolene/TiddlyWiki5/commit/a89ae45188733fdfa7660175db2096dda86a5e34> > > Ref the above discussions here, how costly is this operation? I.e that of > fetching a value via transclusion rather than on spot. I don't know the > mechanics behind transclusion per se but I figure fetching values "elsewhere" > is done all the time and should be pretty polished. > > > I think you’re asking for the ability to perform those sort of overrides > without modifying the tiddler in question. There’s no obvious way to > implement such a feature. But I’d be concerned about the resulting > complexity: with this arrangement, it wouldn’t be sufficient to look at the > source of a particular tiddler in order to understand what it’s doing; one > would also need to find and review all the overrides that might affect the > operation of the tiddler. > > Yeah.. that would be a concern. (Interesting thoughts just sparked; imagine > making every parameter value be a pointer to a central registry. OR, another > idea, or maybe it's a continuation; imagine another "viewing layer" in > edit-mode so that the parameter value is really a parsed value but underneath > it is the transclusion. Or mayb eno "extra layer" would be needed if one > could just see the parsed values in normal view mode. Ok, I gotto sleep. > Forgive me if this didn't make sense.) > > > Thank you both for informative replies! > > <:-) > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/1a8d8b3a-87ed-4ec6-b762-aaa855bb729d%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/1a8d8b3a-87ed-4ec6-b762-aaa855bb729d%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/64AB41F9-B020-412C-94E2-473C98F37D63%40gmail.com. For more options, visit https://groups.google.com/d/optout.

