Re: Autotagging with tiddler macro

77 views
Skip to first unread message

PMario

unread,
Jun 27, 2012, 11:37:57 AM6/27/12
to TiddlyWiki
I don't know a macro like this.

Does it mean, if the <<tiddler>> macro is gone from a tiddler, the
tags should be gone too?
-m

Mr. Flix

unread,
Jun 27, 2012, 1:58:22 PM6/27/12
to tiddl...@googlegroups.com


Am Mittwoch, 27. Juni 2012 17:37:57 UTC+2 schrieb PMario:

Does it mean, if the <<tiddler>> macro is gone from a tiddler, the
tags should be gone too?
-m

No, just the opposite way: Let's say tiddler a has the tags tag1 and tag2, and tiddler b has the tag tag3. When I now use <<tiddler a>> in b, the content of a are in b, of course, but I also want the tags of it in b, so that b has now the tags tag 1, tag2 and tag3.

PMario

unread,
Jun 27, 2012, 8:02:14 PM6/27/12
to TiddlyWiki
I do understand, what you want but imo it is not trivial to implement.

eg:
tid a is tagged 1
tid b is tagged 2

* tid a transcludes tid b
* tid a is tagged: 1 2 -> OK

* now remove the transclusion tib b from tid a

what should the program do? IMO it needs to remove tag 2 from tid a.
right?

but what if

tid a is tagged 1 2
tid b is tagged 2

* tid a transcludes tid b
* tid a is tagged: 1 2 -> OK

* now remove tib b from tid a

what now? remove the tag 2 or not? It was allready there when tid b
was transcluded into tiddler a. ....

What if you have

tid a is tagged 1
tid b is tagged 2
tid c is tagged 3

* tid a transcluded tid b transcludes tid c .... so
* tid a is tagged 1 2 3

* start removing transclusions from tid b.
* add a transclusion to tiddler c. tid a and b would need to change
too -> right?

That's why I did ask, what should happen, if you remove transclusions?


I'm not sure about the advantage of autotagging here, because imo it
may lead to some unwanted sideeffects.
-m

Mr. Flix

unread,
Jun 27, 2012, 8:11:45 PM6/27/12
to tiddl...@googlegroups.com
In this case, it doesn't matter, as the transcluding tiddler will not have any tags by itself. The example I gave was a bid bad^^"

Mr. Flix

unread,
Jun 27, 2012, 10:00:51 PM6/27/12
to tiddl...@googlegroups.com
Is it maybe possible to rewrite the alltags-macro to not output an list, but only the tags in one line? As it can also output the tags of other plugins.

Mr. Flix

unread,
Jun 27, 2012, 10:08:40 PM6/27/12
to tiddl...@googlegroups.com
I meant the tags-macro, sorry^^ Doing it myseld right now =)

PMario

unread,
Jun 28, 2012, 7:56:20 AM6/28/12
to TiddlyWiki
You could have a look at the mtpw at: http://mptw.tiddlyspot.com/

It uses taggly tagging mechanism. May be this is an option for you.

-m
Reply all
Reply to author
Forward
0 new messages