First of all, there is no need to have square brackets around the
items in TagSearchConfig. I have only used them to be able to click
them. As mentioned in the first post, the section contents really are
bracketed lists. See [3] for the post above.

I would never have TagSearchPlugin create any tiddler for which there
is an entry in some section in TagSearchConfig. It is up to the user
to do that. Just use any category for which there is no tiddler yet
and you will see it should be italicized and rightfully so.

So, TagSearchConfig along with an implementation of your idea would in
its most simple form look like this...

!Tags
Planet
RocketType
!Priority
high
low
!More
sysTag
strayThought

And the corresponding macro call like this...
<<tagsearch source:TagSearchConfig##Tags more:TagSearchConfig##More
cats:TagSearchConfig>>

The reason why I haven't set it up as just one TagSeachConfig was that
there might be cases where in general you would use it like the above
but in some inline context, maybe together with some fET, you would
use it like this...

<<tagsearch source:SomeOther::TagList cats:TagSearchConfig>>

Thus, it is not evident that all of the config stuff you want to use
comes from one tiddler, which is especially true if you actually
wanted different sections but only one config tiddler, e.g.

<<tagsearch source:TagSearchConfig##TagList2 cats:TagSearchConfig>>

It could however be simplified such that you could say...
<<tagsearch config:TagSearchConfig>>

...which would look for a "Tags" and a "More" and possibly some
category sections or even other parameters in the form of slices, a
procedure I have used in FiltrPlugin [1] and which I now think might
be good to also use for TagSearchPlugin to simplify the general setup
and also the ability of others to share config-templates.

Cheers, Tobias.

[1] http://tobibeer.tiddlyspace.com/#Filtr

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to