Hi Tobias Nope -- the logic still adds a tag unconditionally (no improvement on your code.) I had this same problem with the logic with my $mangletags widget -- any ideas?
Without this functionality, the widget must be placed within a filter which chooses only those tiddlers containing the tag to remove -- I needed to use the widget within another filter -- as in: search all tiddlers with a value of 'one' in field1 and, iff the tiddler has the tag 'old', remove it and replace it with tag 'new' (else do nothing.) With the widget as is, all of the tiddlers with a value of 'one' in field1 will have tag 'new' added regardless of whether they were tagged 'old'. This can be remedied by correcting the filter i.e. list all tiddlers with both the value 'one' in field1 and the tag 'old' -- but I believe the added functionality is justified in the interests of simpler coding. regards On Tuesday, 22 September 2015 11:49:50 UTC+2, Tobias Beer wrote: > > Hi Metabele, > > Did some simplifying and ...maybe rewording, e.g. "find" is really > "remove", etc. > Diff and use as you see fit. > > 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/694d8a1d-d740-4864-ab41-0bdd34a7fd8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

