--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/7d6e7074-a1f5-4000-a600-c91a070d81a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
By placeholders, you mean links, right?
Crusoe is cruising near [[Crusoe Island]] looking for Crusoe. Crusoe sees Crusoe with {{binoculars}} looking for Crusoe.The problem is, what do you do when you want to assemble a final doc?
The "smallest semantic" unit also poses questions. What is the smallest unit? A paragraph? A chapter?
\define trl(text)
{{$text$||transcludilinktemplate}}
\end<$list filter="[<currentTiddler>is[missing]]">
<$link to=<<currentTiddler>>><<currentTiddler>></$link>
</$list>
<$list filter="[<currentTiddler>!is[missing]]">
<$transclude/>
</$list>\define trl(text)
{{$text$||transcludilinktemplate}}
\end<$list filter="[<currentTiddler>is[missing]]">
<$link to=<<currentTiddler>>><<currentTiddler>></$link>
</$list>
<$list filter="[<currentTiddler>!is[missing]]">
<$transclude/>
</$list>BTC ... call it with <<trl "tiddler title">> and it's a link as long as the tiddler doesn't exist and it transcludes it when it does, neat!
Once upon a time there was a [[Roving Tiddler]] called {{Harold}} who knew how to call <<trl "Harold">> to the table for spaghetti.Once upon a time there was a Roving Tiddler called who knew how to call Harold to the table for spaghetti.
Once upon a time there was a Roving Tiddler called Gerald who knew how to call Gerald to the table for spaghetti.
As a "want to be writer",
I think anything is possible here, the trick is knowing what is most important to us.
I imagined using an outlier view with a toc in the left hand panel with the tools to add siblings view edit etc... wrapped around a Custom view/edit template.
From a mechanical perspective, I find too much in TW requires the mouse in order to function. Ideally, your fingers would never have to leave the keyboard, interrupting the train of thought that would lead to the next Great Ankporkian novel.
I'm wondering about what an auto spell-checking, word-counting, keyboard-driven, fully edit-driven (i.e. like BTC's pre-transclusion placeholder thing), fuzzy-searching, TW thingamy might look like, optimised for screen use on edit ... plus contraction and expansion gadgets (like Stretch-text) and inline footies... plus???
- spell-checking is built into browsers as plugins for a reason ... The needed databases are huge in size and the algorithms are language specific
- word-counting is a plugin, ... that can show approximation because wikitext also contains "meta-text" eg: transclusions, which makes it hard to be precise.
- fuzzy search is language specific and needs tools that either need some preprocessing, which has a performance impact or it introduces complexity to the user experience.
All in all a wiki with all the features will be bloated at least. ... So a single page app lke TW has to go for a compromise between "I want it all" and "It should be usable"
\define linkfullname() $(target)$!!linktype
\define makelink()
<$reveal type="nomatch" state="""$(target)$!!caption""" text="">
<$set name=title tiddler="""$(target)$""" field="caption">
<$link to="$(target)$"><<title>></$link>
</$set>
</$reveal>
<$reveal type="match" state="""$(target)$!!caption""" text="">
[[$(target)$]]
</$reveal>
\end
\define maketrans() <$transclude tiddler="""$(target)$""" mode="block"/>
\define makeedit() {{$(target)$||$:/core/ui/EditTemplate}}
\define tle(target)
<$set name="target" value="""$target$""">
<$reveal type="nomatch" text="yes" state="$:/state/publish">
<$radio tiddler="""$target$""" field=linktype value="link">L</$radio>
<$radio tiddler="""$target$""" field=linktype value="trans">T</$radio>
<$radio tiddler="""$target$""" field=linktype value="edit">E</$radio>
<$reveal type="match" text="link" state=<<linkfullname>>>
<<makelink>>
</$reveal>
<$reveal type="match" text="trans" state=<<linkfullname>>><br/>
<<maketrans>>
</$reveal>
<$reveal type="match" text="edit" state=<<linkfullname>>><br/>
<<makeedit>>
</$reveal>
</$reveal>
<$reveal type="match" text="yes" state="$:/state/publish">
<$transclude tiddler="""$target$""" mode="block"/>
</$reveal>
</$set>
\end
$:/state/publish
Publish?
<$radio tiddler="$:/state/publish" field="text" value="yes">Yes</$radio>
<$radio tiddler="$:/state/publish" field="text" value="no">No</$radio>
----
<<tle "Your tiddler title here">>
...
Tongerner also has a "new template tiddler" button. I wonder if that could be adapted to easily make multiple new custom template buttons for initializing different kinds of tiddlers with ease.I realize this is turning into a sort of feature wishlist. Sorry about that.
...
I've come to TiddlyWiki as a potential platform for writing. I'm still trying to get it setup to do what I want it to do. I'm not really a programmer. So there isn't much I know how to contribute there, but I can think of some features that I think would improve ease for writers.