Hi Scott,

I don't remember the story exactly, but I've dived once into the 
MatchTagsPlugin, and the thing is how it hijacks filterTiddlers.. well, I 
don't remember much (aside the fact that I've made some changes to 
SaveAsPlugin to enable custom filtering instead of just MatchTags syntax) 
and I think I won't start investingating this again, but here's a number of 
possibilities:
1. check the version of your TW -- if it's below 2.6.2, update it (the 
hijack by MatchTagsPlugin of filters in earlier versions of TW should 
interfere with UpToDateFiltersPlugin and hence SharedTiddlersPlugin) and 
get rid of UpToDateFiltersPlugin
2. if you use MatchTagsPlugin just for boolean logic, you may consider my 
extra filters pack [1], although in some cases it's not as neat to use as 
boolean expressions
3. if you're sure that the order of launching matters, you can add the 
"|Requires|SharedTiddlersPlugin|" section to MTP (without moving it outside 
your TW) -- and it will be launched after STP if STP is present

Best regards,
Yakov.

[1] http://yakovl.bplaced.net/TW/ExtraFilters.html

понедельник, 26 августа 2013 г., 6:03:48 UTC+4 пользователь Scott Simmons 
написал:
>
> One thing I've learned in my experimentation with SharedTiddlersPlugin is 
> that it runs into a conflict with 
> MatchTagsPlugin<http://www.tiddlytools.com/#MatchTagsPlugin>. 
>  MTP allows you (among other things) to generate lists using complex tag 
> expressions such as:
>
> <<list filter "[tag[((tag1 && tag2) || (tag3 && tag4)) !tag5]]">>
>
> (all items with both tag1 and tag2 or with both tag3 and tag4 but no items 
> with tag5)
>
> It's a terrific plugin, but when it's installed alongside 
> SharedTiddlersPlugin, STP's filters stop working.  For example, I can use 
> this STP macro call with no problems:
>
> <<include "anotherTiddlyWiki.html">>
>
> ... but this one will fail:
>
> <<include "anotherTiddlyWiki.html" filters:"[[just]] [[these]] 
> [[tiddlers]]">>
>
> I suspect it's because MatchTagsPlugin hijacks the <<filter>> macro 
> before STP.  I don't know if there's any magic either Yakov (STP) or Eric 
> (MTP) can work to sidestep the conflict, but it may be worth mentioning 
> here.  Perhaps some other TiddlyWizard has a genius idea.
>
> --
>
> One workaround I tried was including MatchTagsPlugin with STP's eval 
> parameter 
> rather than having it present in my TiddlyWiki.  Worked great for MTP, but 
> STP's filter's were still hobbled (unless I manually opened the tiddler to 
> include MatchTagsPlugin after STP had processed everything from 
> IncludeList).
>
> --
>
> I should also mention that in order to use MatchTagsPlugin, I had to make 
> it "include-aware."  You can find my include-aware version here:
>
> http://tiddlywiki.secret-hq.com/#MatchTagsPlugin
>

-- 
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