Looks like you are getting some state tiddlers <https://tiddlywiki.com/#StateMechanism> in your list because some tiddlers that contain commas in their titles need associated state for whatever reason. You can add !is[system] to exclude the state tiddlers, assuming none of the tiddlers you're trying to find are system tiddlers:
\define tagging() $(currentTiddler)$ <$list filter="[!is[system]search:title[,]]" variable=tagname> <$checkbox tiddler=<<tagname>> tag=<<tagging>> ></$checkbox> <<tagname>> </$list> On Sunday, March 7, 2021 at 3:21:57 AM UTC-6 [email protected] wrote: > > Hello, > > Can anyone tell me what's wrong with this code? > > > *\define tagging() $(currentTiddler)$* > > > > *<$list filter=[search:title[,]] variable=tagname>* > > *<$checkbox tiddler=<<tagname>> tag=<<tagging>> ></$checkbox> <<tagname>>* > > *</$list>* > > > It should show a list of all tiddlers that have a comma in the Title. With > a checkbox you can tag these tiddlers to the currentTiddler. It works fine, > only a mess is created at the very bottom of the list. > > For example *(Ii) Specific-01, *(and a few more tiddlers) is displayed a > second time (at the bottom) in this way: *$:/state/toc/Style/ > <https://groups.google.com/#%24%3A%2Fstate%2Ftoc%2FStyle%2F>(G)/(Ii)/(Ii) > Specific-01,-(CPc) Specific-01,–642288075* > > What is wrong? > > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e8f5c022-5a92-41ad-841e-1e1032a0e355n%40googlegroups.com.

