I'd explain it slightly differently.

Behind the scenes, TiddlySpace maintains a recipe for each space. The
recipe is (roughly) a list of spaces that should be included to make
up the space. By default, the recipes for a newly created space just
includes the system spaces that are needed to make TiddlySpace work.

When you include another space, two things happen:

1) The space is added to the recipe
2) Any spaces that it directly includes are also added to the recipe

This way of working is slightly counter-intuitive, particularly for
people who are used to thinking in terms of hierarchies. The expected
behaviour for many people would be that space inclusion cascades: when
I include space "A", I'll also get any spaces that "A" includes, and
any spaces that they include.

We decided to work with simpler, static recipes for several reasons:
- To keep the design of TiddlyWeb simple until the need for more
complexity could be proven
- Because most users struggle to work effectively with hierarchies
that are more than a couple of levels deep

I think there's a case to be made that the current behaviour
statically including included sub-spaces is a little confusing, as it
can give a misleading impression of how inclusion works.

Cheers

Jeremy

On Wed, Oct 20, 2010 at 8:40 AM, FND <[email protected]> wrote:
>> A includes B which includes C which contains public tiddler T
>> Is is corrent that B can find T but A cannot?
>
> T should be available in all of A, B and C (unless there's a tiddler of
> the same name in A or B, as that would take precedence).
> In other words, nested (or recursive) inclusion is possible and encouraged.
>
> The list of nested spaces depends on the time of inclusion though:
> Let's say we start out with independent spaces A, B, C and D.
> First B includes D. Then A includes B, and thus also D. After that, B
> includes C - this will *not* automatically update A to include C.
>
>
> -- F.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/tiddlywiki?hl=en.
>
>



-- 
Jeremy Ruston
mailto:[email protected]
http://www.tiddlywiki.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to