Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-06 Thread CJ Veniot
Well said and totally agree (well, everybody is great), and any slow down of good information and conversation is to me the worst thing that can happen in a community. I just want to clearly state that if I'm not showing appreciation, not adopting something, or not engaging: I'm just not ready to

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-06 Thread Mohammad Rahmani
Hi Charlie, You are great and I learn from you and what you publish in the forum! There is no need to apologize as we discussed something technically! and many times disagreement helps to improve things! We have a Perdian proverb: differences make beauty! So, I appreciate your efforts and

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-06 Thread Charlie Veniot
Hey, I totally agree with you, and if I sound unappreciative, then I totally apologize. I do very much appreciate. Each one of us learns within the confines of our own abilities, learning by maximizing those things that play to our strengths and minimizing those things that emphasize our

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Mohammad Rahmani
Hi Tones Thank you for your solution! That solution in TW-Scripts actually belongs to Eric and based on the question and answer I kept the original one! Yes, we can improve or add another one with your name and based on this thread! Best wishes Mohammad On Sun, Jun 6, 2021 at 4:02 AM TW Tones

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Mohammad Rahmani
On Sun, Jun 6, 2021 at 12:34 AM Charlie Veniot wrote: > The simplest combo of filters and transclusions? That could be wildly > different for each person. > > For each person, It would be what is easiest to understand and maintain > for that person, based on each person's intertwingled way of

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread TW Tones
Mohammad, As a community we are so grateful for your publishing and documentation. Shiraz as an example is a substantial resource. I would like to help, extend your great content a little further and make it even more useful If I can so humbly suggest a few things For example I looked at

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Charlie Veniot
The simplest combo of filters and transclusions? That could be wildly different for each person. For each person, It would be what is easiest to understand and maintain for that person, based on each person's intertwingled way of seeing things, based on each person's experiences (how he/she

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Mohammad Rahmani
On Sat, Jun 5, 2021 at 9:36 PM Charlie Veniot wrote: > *That is definitely short and sweet (elegant !).* Thanks for posting! > Great to have in one's toolkit (i.e. knowledge of listops, or simply > availability of excellent pre-canned solutions to focus on bigger > problems), so into my

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Charlie Veniot
*That is definitely short and sweet (elegant !).* Thanks for posting! Great to have in one's toolkit (i.e. knowledge of listops, or simply availability of excellent pre-canned solutions to focus on bigger problems), so into my back-pocket for delving into someday it all goes. I'm on a

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Mohammad Rahmani
It's a bit complicated! but it works! have a look at TW-Scripts for example https://kookma.github.io/TW-Scripts/#Add%20Remove%20Tags%20Using%20ActionListops Best wishes Mohammad On Sat, Jun 5, 2021 at 7:56 PM Charlie Veniot wrote: > Nah, I didn't consider that because the particular

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Charlie Veniot
Nah, I didn't consider that because the particular TiddlyWiki instance I'm working with I've setup with only single-word tags. So no, that particular code sample was not designed for a tag with words separated by spaces. To handle any multi-word tag with spaces between the words: \define

Re: [tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-05 Thread Mohammad Rahmani
Does this work if you want to add [[newTag from code]]? Or if the tiddlers already have a tag with space in the title? Best wishes Mohammad On Sat, Jun 5, 2021 at 10:01 AM Charlie Veniot wrote: > G'day, > > I'm refactoring the design on a TiddlyWiki project, and wanted to apply > tag changes

[tw5] A Code Pattern: Batch update of tags on tiddlers

2021-06-04 Thread Charlie Veniot
G'day, I'm refactoring the design on a TiddlyWiki project, and wanted to apply tag changes to batches of tiddlers. In case of any interest, here's the related code pattern: \define doIt() <$list variable="thisTiddler" filter="[tag[A]]"> <$action-setfield $tiddler=<> $field="tags" $value={{{