Hi Tobias I also was wandering whether to change the default field to the 'list' -- the default 'tags' field was a leftover as I started out the whole experiment with my MangleTags widget. Makes sense for the current form of the widget -- but, means that the default must be changed just to add a tag.
I suppose additional code could be added to specifically target only the tags field of the target tiddler -- something like that of my x-setrefs widget : <$action-listops ++1="new tag" ++2="another new tag" --1="tag to remove"/> -- or else I could add a $tags= attribute which works like the $subfiter= attribute but always targets the 'tags' field. <$action-listops $tags="[[new tag]] [[another new tag]] -[[tag to remove]]"/> Which do you prefer? Now that I have typed out both options, option 2 seems to be just as elegant, and is far more flexible: <$action-listops $tags="-[prefix[$:/]]"/> regards On Saturday, 17 October 2015 19:24:41 UTC+2, Tobias Beer wrote: > > Hi Metabele, > > Looks really good. May I ask why you see the tags field as the default > field to be manipulated? After all, so far, nobody cared about the order of > things in the tags field... which is what the list field was rather used > for. Perhaps the list field is a more sensible default for list ops. Dunno. > > The thing with the tags field is that while you may edit it with list-ops, > you perhaps don't have control over how the core operates on it. But then, > maybe the core should not do any tag operations that modify the tag order. > > Also, allbefore and allafter may benefit from a suffix called "include", > that tells the operator to select allbefore / allafter including the marker. > > Best wishes, > > — tb > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d09d38b-9d7e-48f0-94ad-ab25de255240%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

