Right. That's correct. That's why they're not equivalent. Filter syntax has special use cases for when filter runs start with + - ~, but lists don't care about that. A word starting with + - ~ in a list is just interpreted as part of the tiddler title. I think the list parser should treat them as special cases, just as the filter parser does.
On Tuesday, July 9, 2019 at 3:33:31 AM UTC-4, TonyM wrote: > > See this documentation for the use of + - ~ tiddler name, perhaps this is > where this is coming from > > https://tiddlywiki.com/#Filter%20Expression > > Tony > > On Tuesday, July 9, 2019 at 4:03:27 PM UTC+10, Flibbles wrote: >> >> 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 [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/c9243467-2958-4db8-a0eb-510e1295f8e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

