I'm writing plugins, and for a while, I was working under the assumption 
that lists are just a subset of filters, which is super convenient in many 
cases.

tiddlerA tidderB [[tiddler with spaces]]

can be interpreted as either.

However, it's not actually true. If you have a tiddler that starts with a 
'+' or a '-'. It breaks down.

tiddlerA -tiddler-with-dashes

produces different results. You have to have:

tiddlerA [[-tiddler-with-dashes]]

and I guess that's fine, but it looks like this case has never been 
considered.

Either

$tw.utils.stringifyList needs to properly wrap such tiddlers in brackets, 
which it currently doesn't, OR tiddlers starting with '+' or '-' need to be 
prohibited. I'm actually leaning toward prohibiting it, because otherwise 
this can cause confusion for users who want to do something like have 
"--Homepage--" be their Default tiddler, but when they put that in the 
setting, it doesn't work, because the instructions don't mention that 
dashes would need to be wrapped. Tiddlywiki already prohibits brackets. Why 
not this too?

-Flibbles

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/b74dce5d-1bce-46cf-9f76-e4efc0163353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to