Hi Riz

> 1. What is the real use of "default-tiddler-location" option in the 
> configuration?

The primary use case is illustrated by the "tw5.com" and "tw5.com-server” 
editions in the TW5 repo. The "tw5.com” edition is an ordinary self-contained 
wiki folder. The "tw5.com-server” edition includes the additional components 
required for editing the wiki via the client-server configuration.  
"tw5.com-server" uses the “includeWiki” option to pull in the tiddlers from 
"tw5.com”. The “includeWiki” option on its own doesn’t affect where tiddlers 
are written, though; they still get written to “tw5.com-server”. It gives 
“copy-on-write” semantics.

"tw5.com-server” also uses the “default-tiddler-location” option to override 
where tiddlers are written, causing them to be saved back to the “tw5.com” 
edition.

In many cases these two options would be used together, but we get more 
flexibility by having them separate. For example, I often use 
“default-tiddler-location” to redirect newly written tiddlers to a special 
“new” folder within the “tiddlers” folder.

> More than that, if I create tiddlers with the same name as those already 
> existing in the folders, they are written to the folder as "mytiddler(1).tid" 
> and so on. I assume this is not the expected behavior. Is there some other 
> option I have to set to load tiddlers from the new 
> "default-tiddler-location"? Or is it a bug?

I wasn’t able to reproduce that problem. Can it be reproduced using the tw5.com 
and tw5.com-server editions?

> 2. The "includeWiki" documentation specifies that path should be given 
> relative to the wiki folder. That did not wok for me. What worked is relative 
> path to the tiddlywiki info file.

Aren’t those two the same? The tiddlywiki.info <http://tiddlywiki.info/> file 
is in the root of the wiki folder.

> There are two possibilities here, either mine is an individual experience and 
> a bug, or "tiddlers" folder is called as wiki folder now. Barring these two, 
> may be there is a need to correct the documentation. 
> 
> 3. A little more information regarding "retain-original-tiddler-path" options 
> please. I mean, the documentation says what does it do. However, it fails to 
> mention what is the advantage of setting the option. Is the user missing out 
> anything by not setting it? What is the use case of said option - as in, what 
> can the user achieve by setting that option?

That option was added to enable support for the pink “edit on github” banner 
that you see on https://tiddlywiki.com <https://tiddlywiki.com/>. It’s useful 
for other wikis that want to offer the same feature.

> Finally, not a question - merely an suggestion to consider for the next 
> higher edition. The configuration provided by $:/config/FileSystemPaths 
> should be a part of .info file too.

That could certainly be a useful option.

> File naming and rearanging should start from the get go, rather than setting 
> it after the story list tiddler (at least) is created in file system. If 
> possible, it should be able to be effective retroactively - renaming the 
> files appropriately on the next reload if the user is changing setting 
> somewhat down the lane. 

Similarly, I can imagine that would be useful. However, the code for loading 
tiddlers under Node.js would need a significant overhaul to work around the 
fact that the current implementation is really about *loading* tiddlers 
(boot.js), with support for *saving* layered over the top (filesystemadaptor), 
rather than being a single module with full synchronisation between the file 
system and the tiddler store.

Best wishes

Jeremy.

> 
> -- 
> 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/1a11259f-8ac7-44db-8556-564d8330c137%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/1a11259f-8ac7-44db-8556-564d8330c137%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/75A2E4BA-BF54-4DEF-96F2-1A91615B4347%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to