[tw] Re: [TW5] Tag shortener macro

2016-11-29 Thread The Bo
Thanks Mario, I will give it a try. ;-)

A core implementation would be awesome!

Am Montag, 28. November 2016 14:11:25 UTC+1 schrieb PMario:
>
> On Monday, November 28, 2016 at 9:35:26 AM UTC+1, The Bo wrote:
>>
>> this is what I'm looking for. Where can I find it?
>>
>
> Hi,
>
> In the last hangout, near the end , 
> we discussed a possibility to bring some of Erics's stuff to the core. 
>
> What we want to have in the core in the short run: 
>
>  - recursion protection. ... to avoid javascript errors or endless trees. 
>  - auto select an open tiddler, in the TOC branches. 
>
> In the first run it should be a plugin, for easy testing. 
>
>
> see: http://tiddlytools.github.io/InsideTW/#PartsList ... TOC section. 
> There are several macros involved. ... 
>
> I'll have a closer look and will create a pull request. ... Which doesn't 
> mean, that I'm the only one, which can do this. So if someone is interested 
> and faster than me, help is very welcome. Just drop me a line. 
>
> have fun!
> mario
>
>
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45ed2983-ba59-4393-885c-86b495b88d3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-28 Thread PMario
On Monday, November 28, 2016 at 9:35:26 AM UTC+1, The Bo wrote:
>
> this is what I'm looking for. Where can I find it?
>

Hi,

In the last hangout, near the end , we 
discussed a possibility to bring some of Erics's stuff to the core. 

What we want to have in the core in the short run: 

 - recursion protection. ... to avoid javascript errors or endless trees. 
 - auto select an open tiddler, in the TOC branches. 

In the first run it should be a plugin, for easy testing. 


see: http://tiddlytools.github.io/InsideTW/#PartsList ... TOC section. 
There are several macros involved. ... 

I'll have a closer look and will create a pull request. ... Which doesn't 
mean, that I'm the only one, which can do this. So if someone is interested 
and faster than me, help is very welcome. Just drop me a line. 

have fun!
mario




-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c24bf990-bf2e-4db2-8d01-822c63563ab7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-28 Thread The Bo
Hey Mario,

this is what I'm looking for. Where can I find it?

Regards,
The Bo

Am Donnerstag, 24. November 2016 11:23:57 UTC+1 schrieb PMario:
>
> Have a look at: https://youtu.be/j2Lz6CswsE8?t=3313 if that's what you 
> need.
>
> -m
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63d1b089-e40c-4d3a-92f1-914da6f0519a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-24 Thread PMario
Have a look at: https://youtu.be/j2Lz6CswsE8?t=3313 if that's what you need.

-m

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/959da696-cd8c-4c35-94c5-b223cb97a7c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-24 Thread PMario
Hi The Bo,

This is a completely different problem. ... and imo much more interesting 
than your first post :)
It's about predictable state names. ... 

If you open the TOC in a tiddler like this: 
http://tiddlywiki.com/#TableOfContents
and you open a branch in the Contents tab, you'll see, that the created 
state tiddlers actually have a different number at the end. That's created 
with the qualify macro . So what 
you need imo is a new TOC macro, since the existing implementation uses 
qualify, which is completely unpredictable (for humans :). 

If I'm remembering right, Eric Shulman has a custom TOC, that should 
exactly fit your needs. The TOC opens the branches according to the tiddler 
that's open in the story river. ... but I don't know the links :/

-mario


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1685501-b30a-4af0-b758-ff16023498ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-24 Thread The Bo
Hi Mario,

the purpose is to find a way to highlight tiddlers in the 
"toc-navigation-tree" even if I just use the search function.
I see that a state tiddler (text: open) is created for every topic in the 
toc-navigation I open.
Now I want to change the search mechanism using the linkcatcher widget so 
that a state tiddler for every topic/subtopic is created.

My TOC is looking like this (reference no. / title):

01 Topic 1
  -> 010 Subtopic
  -> 0101 Subtopic
  *Tiddler A (tagged 0101 Subtopic)*
  Tiddler B (tagged 0101 Subtopic)
  -> 0102 Subtopic
  
  -> 011 Subtopic
  
02 Topic 2
...

If I can extract the reference no. of the tag of *Tiddler A* I will be able 
to extract the reference no. of every upper topic/tag (0101 -> 010 -> 01 -> 
TableofContents)
Like this I could created state tiddlers (text:open):
$:/state/toc/TableofContents-01 Topic 1--123124123
$:/state/toc/01 Topic 1-010 Subtopic--123124123
$:/state/toc/010 Subtopic-0101 Subtopic--123124123

Maybe it sounds a bit confusing, sorry about that.
I already tried to use the splitbefore filter operator but I think it won't 
fit for my purposes.

Regards,
The Bo

Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi, 
>
> Can you describe, what you want to achieve instead of code that doesn't 
> work. 
>
> I can see some facts: 
>
>  - show a list of tiddler tags
>  - shorten the tag names
>
> guessing: 
>
>  - short names should still link to tag tiddlers?
>  - ???
>
>
> The "splitbefore"  filter operator is no option? 
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>  
> 
>
> -m
>


Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi, 
>
> Can you describe, what you want to achieve instead of code that doesn't 
> work. 
>
> I can see some facts: 
>
>  - show a list of tiddler tags
>  - shorten the tag names
>
> guessing: 
>
>  - short names should still link to tag tiddlers?
>  - ???
>
>
> The "splitbefore"  filter operator is no option? 
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>
> -m
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e260071-ad86-45a9-a0db-b8cf9d965219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-24 Thread PMario
Hi, 

Can you describe, what you want to achieve instead of code that doesn't 
work. 

I can see some facts: 

 - show a list of tiddler tags
 - shorten the tag names

guessing: 

 - short names should still link to tag tiddlers?
 - ???


The "splitbefore"  filter operator is no option? 
http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D

-m

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60b94c57-5e86-4a51-bdc6-cbce52063c8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.