Am Sonntag, 2. März 2014 23:12:33 UTC+1 schrieb Mat:
>
>
>
> *Filter*
>
> [tag[important]sort[title]]
> Ok, looks fair. Does it make sense to refer to "tag" as a filter, but 
> "sort" rather as a "modifier" or is there another term, cause it's not a 
> filter, is it?
>

You may, if you want. All of them are "operators" 
 

>
>
> [tag[important]!sort[title]]
> I get it, but it seems a bit contrieved that what really reads "not sort" 
> does a reverse sorting. What's the reasoning behind this?
>
>  
I also finf this counter-intuitive. I think ! is used, becaue it was 
already there.

The filter syntax is not for programmers ;)

 

>
>
> [[one]] [[two]] [[three]] +[tag[tom]]
> Is a blank space interpreted as OR iff(!) the space resides between 
> operands? ... and a space followed by an expressed operator (the +) is just 
> a space? What's the general rule here?
>
>
The space between the lists (the operator here (title) is missing and the 
operands are [one], [two] and [three], not [title[one]] rzc) act as a UNION 
in the set theory sense.
 

> Alternatively,  shouldn't there be some kind of surrounding brackets 
> around the three first operands?
>

There is no such thing as a surrounding bracket. The "+" means that the 
following part is applied to the whole left of it - so it acts like a 
surrounding bracket, I guess.

 

>
>
>
>
> [tag[tom]] [tag[harry]] -[[one][two][three]]
> Now, suddenly there ARE brackets for the minus sign,
>

No. It's just another list. See the tom example above. There is the same 
amount of brackets. -[[one][two][three]] is equivalent to -[title[one]title
[two]title[three]]
 

> hmm...
> And there are no spaces between one, two, three. Does no space make logic 
> AND?
>

No. [something something someting] -> Like an "and" or more like a pipe 
sequence.

"something" is something like "title[one]" or "sort[title]"

list list -> OR or "UNION" where "list" is the "[something something...]" 
stuff from above
 

> Is outer brackets required for this?
> Why does "tag" require outer brackets? Shouldn't tag[tom] be enough 
> (making the word tag holy).
>

The whole filter stuff is 2 leveled

First level are lists "UNION"ed with blank, "AND"ed with "+" and 
"SUBTRACT"ed with "-"

in the lists we have the filter operators which filter and optionally sort 
the list elements.
 

>
>
> [[MyTiddler]tags[]]
> Is this a *special* command or could someone explain how this translates 
> into the explanation on the right.
> Does tags[] mean "all existing tags"?
>

All tags of "MyTiddler"
 

> And does "written directly after and without space" (in this case 
> referring the position of "tags[]") generally mean that we're talking about 
> something concerning what is written before it (in this case [MyTiddler])? 
> Must it be an operator written after?
>

Not exactly sure.
 

>
>
> [[MyTiddler]tagging[]]
> Isn't this the same as [tag[MyTiddler]] ?
>

No.
 

> If this means "All tiddlers being tagged with MyTiddler" then why does the 
> name "tagging" make more sense than the name "tagged". 
>
> Maybe "Mytiddler is tagging…"

I'm also only guessing ;)

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to