On May 8, 11:15 am, "[email protected]" <[email protected]> wrote:
> * Dealing with the presumably common case of selecting multiple
> tiddlers by title from the same bag. See a commit message about that
> which suggests some alternatives.
After lots of productive conversation with FND, I've just checked in
what might be a workable solution, the addition of an mselect
"command" where 'm' means 'multi'. We consider 'u' for 'union' but
thought 'multi' was a bit less obscure.
http://github.com/tiddlyweb/tiddlyweb/commit/33a2ff6cb5391043e60d8f61665d43e8e7c018b0
The syntax looks like this:
mselect=title:foo,tag:bar,title:zoom;select=tag:boom;sort=modified
This will return a list of tiddlers where:
* mselect yields: a tiddler titled 'foo', a tiddler titled 'zoom' and
all tiddlers with tag 'bar'
* then that set is narrowed to only those which are tagged 'boom'
* then that set is ordered by modifed field
The ',' separator in mselect is just a place holder for now. It's not
clear what the correct separator should be.
Does this seem workable to people?
This model works well in the code because mselect simple dispatches to
the same code that select uses, but accumulates the results.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---