For an easy reading, edit your tiddlers with a fixed font like courier or 
terminal.

Le vendredi 24 septembre 2021 à 19:15:47 UTC+2, Álvaro a écrit :

> I don't know if they are loving that or not. The commas aren't easy to see 
> between brackets (for me). If I begin on end of filter run, i also have 
> this problem. But any can build his/her mental shorcuts to avoid it. If 
> someone can't solve a problem, maybe he/she can create a "alternative way"
>
> Yes, I tried with the tagging operator and I see that behaviour.
>
> El viernes, 24 de septiembre de 2021 a las 18:52:36 UTC+2, 
> [email protected] escribió:
>
>> I was thinking that the tagging operator was the zay to get tiddlers that 
>> all share all of the tags in input. That's what the dec say: "output: the 
>> titles of any tiddlers that carry the input tags".
>>
>> So my function would be:
>>
>> \define fun(tags)
>> <$vars four="[tags[]count[]match[4]]">
>> <$set variable=occ filter="[[$tags$]tagging[] :filter<four>]">Seen 
>> <<occ>> tiddlers with tags $tags$</$set>
>> </$vars>
>> \end
>>
>>  But in fact the effect of tagging is "output: the titles of any tiddlers 
>> that carry ANY OF the input tags". Too bad for the instance. But I think a 
>> correction in the doc would be welcome.
>>
>>
>> Le vendredi 24 septembre 2021 à 10:59:50 UTC+2, Jean-Pierre Rivière a 
>> écrit :
>>
>>> That's fine by me.
>>>
>>> And yes filters are fun even if sometimes a bit tricky.
>>>
>>> So for the fun of it, you could arrange your filter so that the input 
>>> would be the 4 tags you want.
>>>
>>> something like that:
>>>
>>> \define fun(tags)
>>> <$set variable=occ filter="[[$tags]....put your filter code 
>>> here...count[]]">Seen <<occ>> tiddlers with tags $tags$</$set>
>>> \end
>>>
>>> Sometimes, this fun has you coding javascript filter operator. Would 
>>> this be the case here? I have not thought about it yet.
>>>
>>> cheers,
>>>
>>>
>>> Le vendredi 24 septembre 2021 à 03:54:34 UTC+2, [email protected] a 
>>> écrit :
>>>
>>>> Me and my interest in brain age games, I couldn't help but play around 
>>>> with a filter to find all tiddlers that have all four specified tags, but 
>>>> only those four tags.
>>>>
>>>> You'll find three tiddlers in the attached json.  Download the file, 
>>>> and drag into some TiddlyWiki instance (TiddlyWiki.com !) to take a gander.
>>>>
>>>> There are all kinds of ways to go about doing this sort of thing, with 
>>>> some filter operators maybe better suited, but I find the result a bit 
>>>> easier for me to understand (more logical to me, or maybe more 
>>>> self-explanatory, because of the way my brain works, I suppose.)  Maybe 
>>>> just a difference between top-down view vs bottom-up view or something ...
>>>>
>>>> Yeah, I find filters fun.
>>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90e82076-b3c0-4296-ab56-050b2398414dn%40googlegroups.com.

Reply via email to