>
> Have you considered creating a suite of macros to cover your needs:
>
> <<namespace-link-parent>>
> <<namespace-link-parent level:0 tiddler:foo delimiter:" : ">>
> <<namespace-link-toc tiddler:"foo">>
>
 
I have and it quickly felt like macros are not only by far too inflexible 
but also way to redundant in terms of code. And they sure won't yield those 
breadcrumbs or the namespace toc.

And even if macros could somewhat yield all that, I think the widget code 
will be a ton less spaghetti than those macros.

So, I see that widget as a hub for the features described... whether it 
actually leverages other widgets or not... would that be a problem? ...I 
sure don't have to rebuild primitives if other widgets already work the 
subfeature magic, in a well defined sense that is.

Similarly, I would approach / think of / design a <$section> widget 
<https://groups.google.com/d/msg/tiddlywiki/23PzU2qCsj4/6-VOKAKAQO4J>.


There could actually be a namespace filter that does some of the magic...

a) get parent tiddler

[ns:parent:0[tiddler]]

of level x, 0 being the outermost

[ns:parent:x[tiddler]]

b) get children of set

[ns:children[]]

a) go to toplevel parent

[ns:crumbs[]]

get crumbs for set, e.g.

[foo / bar / baz][ns:crumbs[]]

could return the list

   - foo
   - foo / bar
   - foo / bar / baz
   
...this would, of course only work with a default delimiter, or perhaps

[foo / bar / baz][ns:crumbs: / []]

etc...

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to