Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-05 Thread mau loop
Yes, I set the story-filter to have one tiddler at a time. I forgot to
disable it before to load the demo. Just edit
$:/plugins/mau/CustomTemplate/story-filter and set it to
[list[$:/Storylist]] to have the usual default page layout.

I need this single-tiddler mode and I can't use the zooming view, since I
also use Tiddlymap, which doesn't like zooming mode very much, especially
while in full screen.

Il 05/Nov/2017 18:35, "BJ"  ha scritto:

> I am seeing only one tiddler in the story at a time - this is the
> same/similar to the 'zooming' storyview, but I have the 'classic' storyview
> selected from the controlpanel (setting tab), maybe this is what you meant
> to happen.
>
> On Sunday, November 5, 2017 at 11:36:14 AM UTC+1, mauloop wrote:
>>
>> What is not working? I changed the filter that PageTemplate/story uses to
>> select tiddlers to display in order to make it choose just the one listed
>> in {{$:/History list!!current-tiddler}} or alternately the first one in
>> {{$:/Story list!!list}}.
>>
>> This makes more sense if you set new tiddlers opening policies to open
>> always at the top,  so when you close a tiddlers you fall back to last one
>> viewed (in most cases).
>>
>> This works for me, if this was the part you refer as not working, but
>> it's not required for the rest of the template to work.
>>
>> I appreciate your feedback. Thanks in advance,
>>
>> )+(auloop
>>
>>
>>
>> Il 05/Nov/2017 08:47, "BJ"  ha scritto:
>>
>> This is quite  advanced stuff! Your solution looks good, although the
>> storyview seems not to work.
>>
>> It is good to see how some else solves the same problem.
>>
>>
>>
>> On Sunday, November 5, 2017 at 1:33:08 AM UTC+1, mauloop wrote:
>>>
>>> Finally I was able to make your typestemplate working. If I would have
>>> it before it would have saved a lot of work to me.
>>> I did something similar, even if with wiki syntax macros only. If you
>>> would like to take a look here it is
>>> 
>>>
>>> Thanks for your help.
>>>
>>> )+(auloop
>>>
>>> Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:

 I've put a demo here:

 http://typestemplatedemo.tiddlyspot.com/

 On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>
> @BJ
> Still cannot make your typestemplate plugin work. I tried it directly
> on your site. Maybe for this I should better open a new thread.
>
 --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+...@googlegroups.com.
>> To post to this group, send email to tiddl...@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/ms
>> gid/tiddlywiki/50fc682d-ec05-4ae0-8293-9eba04dea15f%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/c4cb3647-5740-4a6b-a394-da04b01dae36%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPZC%2BHOZ7m73M-TYo%3DYjf7PQ01pwSsp0txagyZf%3Dc3LmwZbQ6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-05 Thread BJ
I am seeing only one tiddler in the story at a time - this is the 
same/similar to the 'zooming' storyview, but I have the 'classic' storyview 
selected from the controlpanel (setting tab), maybe this is what you meant 
to happen.

On Sunday, November 5, 2017 at 11:36:14 AM UTC+1, mauloop wrote:
>
> What is not working? I changed the filter that PageTemplate/story uses to 
> select tiddlers to display in order to make it choose just the one listed 
> in {{$:/History list!!current-tiddler}} or alternately the first one in 
> {{$:/Story list!!list}}.
>
> This makes more sense if you set new tiddlers opening policies to open 
> always at the top,  so when you close a tiddlers you fall back to last one 
> viewed (in most cases).
>
> This works for me, if this was the part you refer as not working, but it's 
> not required for the rest of the template to work.
>
> I appreciate your feedback. Thanks in advance,
>
> )+(auloop
>
>
>
> Il 05/Nov/2017 08:47, "BJ"  ha scritto:
>
> This is quite  advanced stuff! Your solution looks good, although the 
> storyview seems not to work.
>
> It is good to see how some else solves the same problem.
>
>
>
> On Sunday, November 5, 2017 at 1:33:08 AM UTC+1, mauloop wrote:
>>
>> Finally I was able to make your typestemplate working. If I would have it 
>> before it would have saved a lot of work to me.
>> I did something similar, even if with wiki syntax macros only. If you 
>> would like to take a look here it is 
>> 
>>
>> Thanks for your help.
>>
>> )+(auloop
>>
>> Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>>>
>>> I've put a demo here:
>>>
>>> http://typestemplatedemo.tiddlyspot.com/
>>>
>>> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:

 @BJ
 Still cannot make your typestemplate plugin work. I tried it directly 
 on your site. Maybe for this I should better open a new thread.

>>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@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/50fc682d-ec05-4ae0-8293-9eba04dea15f%40googlegroups.com
>  
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/c4cb3647-5740-4a6b-a394-da04b01dae36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-05 Thread mau loop
What is not working? I changed the filter that PageTemplate/story uses to
select tiddlers to display in order to make it choose just the one listed
in {{$:/History list!!current-tiddler}} or alternately the first one in
{{$:/Story list!!list}}.

This makes more sense if you set new tiddlers opening policies to open
always at the top,  so when you close a tiddlers you fall back to last one
viewed (in most cases).

This works for me, if this was the part you refer as not working, but it's
not required for the rest of the template to work.

I appreciate your feedback. Thanks in advance,

)+(auloop



Il 05/Nov/2017 08:47, "BJ"  ha scritto:

This is quite  advanced stuff! Your solution looks good, although the
storyview seems not to work.

It is good to see how some else solves the same problem.



On Sunday, November 5, 2017 at 1:33:08 AM UTC+1, mauloop wrote:
>
> Finally I was able to make your typestemplate working. If I would have it
> before it would have saved a lot of work to me.
> I did something similar, even if with wiki syntax macros only. If you
> would like to take a look here it is
> 
>
> Thanks for your help.
>
> )+(auloop
>
> Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>>
>> I've put a demo here:
>>
>> http://typestemplatedemo.tiddlyspot.com/
>>
>> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>>
>>> @BJ
>>> Still cannot make your typestemplate plugin work. I tried it directly on
>>> your site. Maybe for this I should better open a new thread.
>>>
>> --
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
To unsubscribe from this group and all its topics, 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/50fc682d-ec05-4ae0-8293-9eba04dea15f%40googlegroups.com

.

For more options, visit https://groups.google.com/d/optout.

-- 
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/CAPZC%2BHNk0DhZMH69sPiWRoM_Wj1sVmBnftvQr0KCmM3%3Dcc_eLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-05 Thread BJ
 This is quite  advanced stuff! Your solution looks good, although the 
storyview seems not to work.

It is good to see how some else solves the same problem.


On Sunday, November 5, 2017 at 1:33:08 AM UTC+1, mauloop wrote:
>
> Finally I was able to make your typestemplate working. If I would have it 
> before it would have saved a lot of work to me.
> I did something similar, even if with wiki syntax macros only. If you 
> would like to take a look here it is 
> 
>
> Thanks for your help.
>
> )+(auloop
>
> Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>>
>> I've put a demo here:
>>
>> http://typestemplatedemo.tiddlyspot.com/
>>
>> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>>
>>> @BJ
>>> Still cannot make your typestemplate plugin work. I tried it directly on 
>>> your site. Maybe for this I should better open a new thread.
>>>
>>

-- 
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/50fc682d-ec05-4ae0-8293-9eba04dea15f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-04 Thread mauloop
Finally I was able to make your typestemplate working. If I would have it 
before it would have saved a lot of work to me.
I did something similar, even if with wiki syntax macros only. If you would 
like to take a look here it is 


Thanks for your help.

)+(auloop

Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>
> I've put a demo here:
>
> http://typestemplatedemo.tiddlyspot.com/
>
> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>
>> @BJ
>> Still cannot make your typestemplate plugin work. I tried it directly on 
>> your site. Maybe for this I should better open a new thread.
>>
>

-- 
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/4c3adb24-df98-480a-af6f-3a250b235be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-03 Thread PMario
I did create an Issue at github
-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/54f6065a-dc14-43bf-ba63-8128bb68f7f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-03 Thread mauloop
I'll try it asap.

Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>
> I've put a demo here:
>
> http://typestemplatedemo.tiddlyspot.com/
>
> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>
>> @BJ
>> Still cannot make your typestemplate plugin work. I tried it directly on 
>> your site. Maybe for this I should better open a new thread.
>>
>

-- 
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/83aa9cba-2037-4ccb-807a-dfc94648f34c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-03 Thread mauloop
Hi, Mario.


Yea, ... You found a rare behaviour, that I did also experience some time 
> ago, ...
>

It makes me happy to know that I am not the only one that sometimes break 
the toy.

 
 

> At tiddlywiki.com there are 3 story-views
>
>  - classic (default)
>  - pop
>  - zooming
>
> Each of them treat "showing, removing, scrolling" tiddlers in a slightly 
> different way. ... There are several other plugins.
>
>
This could be an explanation for the following.


 

> I first found something similar on a wiki I was working on, with a little 
>> different result. In that case I had a  *working* custom ViewTemplate 
>> with more changes and I inserted some newline to make the code more 
>> readable. When I saved the "beautified" ViewTemplate it happened that 
>> clicking on any link raised a Javascript error.
>>
>> TypeError: this.getLastFrame(...).getBoundingClientRect is not a function
>>
>
> This shouldn't happen, because there are several "stranger" tests along 
> the line. The point is. We can't navigate to whitespace, because the 
> browser API doesn't provide enough info. We can only navigate to "wrapping" 
> DOM elements. 
>
>
The fact is that on my own wiki I was using an alternate story-view: 
TopStoryView  from 
@felixhayashi Tiddlymap site . I was with this setup 
while experimenting the Javascript error, while the same ViewTemplate 
change, applied in the Tiddlywiki site with classic story view, resulted in 
an abnormal scrolling behaviour, but no errors.



In any case I go back home with a lesson learned: think twice before 
attempt to restyle someone else code ;^)))

I need to work hard before I will be able to deal with js event handling, 
fallthrough and bubbling mechanism and the whole DOM logic. Maybe I'll do 
it. In the meantime Tiddlywiki give me a chance to get little results, even 
if I still have a lot to learn.



Thank you for your support and the clear explanation.

-- 
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/cf849766-4f05-4ddb-92e3-8a9c075cde48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-02 Thread BJ
Great detective work Mario. One solution could be to have findFirstDomNode() 
take 
a search parameter, findFirstDomNode(class=tc-tiddler-view-frame)


On Thursday, November 2, 2017 at 12:01:27 AM UTC+1, PMario wrote:
>
> On Wednesday, November 1, 2017 at 4:04:13 PM UTC+1, Mark S. wrote:
>>
>> That's a very nice explanation, Mario.
>>
>
> thx.
>  
>
>> But it begs the question: Why is a 'line feed' rendered as a DOM object 
>> (div even?) and not just wrapped up in either the next or prior element?
>>
>
> IMO it's a rare bug. ... But as I did discover it the first time, I wasn't 
> able track it down. ... As I had a closer look at this thread, I could 
> remember, that I've probably seen this problem already. ... 
>
> A line-feed isn't rendered as a DOM element, an that's the problem. If it 
> would be one, it would be possible to scroll to it. 
>
> The whole truth here is, that the tm-xx messages bubble up the widget tree 
> and not the DOM elements. BUT at the end, the DOM elements are used to 
> calculate the real sizes of the different tiddler wrappers. Those sizes are 
> used to calculate the scroll positions. 
>
> The wrapper for a tiddler is the "div" that is tagged tc-tiddler-frame, 
> which is defined in the $:/core/ui/ViewTemplate. But the actual handling is 
> done in the "storyview" which is part of the second list-widget in 
> $:/core/ui/PageTemplate/story tiddler. 
>
> So the TW navigate to is only designed to scroll to tiddlers ... And not 
> to scroll to elements inside of tiddlers. 
>
>  low level warning.
>
> Also as I did post above. There is this line 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/storyviews/classic.js#L30
>  
> of code, which stops the event bubbling in the widget tree. Which imo 
> shouldn't be done. ... imo a bug.
>
> About the scroll mechanism -- does it actually send out a series of scroll 
>> commands in order to line up the tiddler?
>>
>
> Yes. here: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/scroller.js#L56
>  
> It's done with window.requestAnimationFrame()
>  
>
>> Does it use any of the old HTML technology?
>>
>
> Yes. see scroller.js .. That's all HTML hi-tech ;)
>  
>
>> I ask because the sidebar links seem to be usuing  .
>>
>
> Yes, ... and it also adds additional event handlers that catch the click 
> (and some other) events. see: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/link.js#L123
>  
> ... If you follow the handleClickEvent function in the link.js file, 
> you'll see where it starts and how it is "dispatched" line 143 
> this.dispatchEvent({ and where it stopped propagating. line 159 
> event.stopPropagation()
>
> 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/9dc29e65-a7fc-474d-9e14-685016ab8d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread PMario
On Wednesday, November 1, 2017 at 4:04:13 PM UTC+1, Mark S. wrote:
>
> That's a very nice explanation, Mario.
>

thx.
 

> But it begs the question: Why is a 'line feed' rendered as a DOM object 
> (div even?) and not just wrapped up in either the next or prior element?
>

IMO it's a rare bug. ... But as I did discover it the first time, I wasn't 
able track it down. ... As I had a closer look at this thread, I could 
remember, that I've probably seen this problem already. ... 

A line-feed isn't rendered as a DOM element, an that's the problem. If it 
would be one, it would be possible to scroll to it. 

The whole truth here is, that the tm-xx messages bubble up the widget tree 
and not the DOM elements. BUT at the end, the DOM elements are used to 
calculate the real sizes of the different tiddler wrappers. Those sizes are 
used to calculate the scroll positions. 

The wrapper for a tiddler is the "div" that is tagged tc-tiddler-frame, 
which is defined in the $:/core/ui/ViewTemplate. But the actual handling is 
done in the "storyview" which is part of the second list-widget in 
$:/core/ui/PageTemplate/story tiddler. 

So the TW navigate to is only designed to scroll to tiddlers ... And not to 
scroll to elements inside of tiddlers. 

 low level warning.

Also as I did post above. There is this line 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/storyviews/classic.js#L30
 
of code, which stops the event bubbling in the widget tree. Which imo 
shouldn't be done. ... imo a bug.

About the scroll mechanism -- does it actually send out a series of scroll 
> commands in order to line up the tiddler?
>

Yes. here: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/scroller.js#L56
 
It's done with window.requestAnimationFrame()
 

> Does it use any of the old HTML technology?
>

Yes. see scroller.js .. That's all HTML hi-tech ;)
 

> I ask because the sidebar links seem to be usuing  .
>

Yes, ... and it also adds additional event handlers that catch the click 
(and some other) events. see: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/link.js#L123
 
... If you follow the handleClickEvent function in the link.js file, you'll 
see where it starts and how it is "dispatched" line 143 this.dispatchEvent({ 
and where it stopped propagating. line 159 event.stopPropagation()

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/f2b24548-9035-40f8-88e1-87762292400a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread PMario
On Wednesday, November 1, 2017 at 3:35:25 PM UTC+1, mauloop wrote:
>
> But I can't wait to thank you for your kindness and express my admiration 
> for your skill.


You are welcome!
 

> You are a mine of knowledge.


:)
 

> I've already posted here in the past and every time I found kind people 
> that spended some of their time for me. Thanks to everyone.
>
> )+(auloop
>

Yea. I think that's the cool thing here in this group, which makes it worth 
while to be here :)

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/0cb22a3e-c7a9-4ab2-a52a-f6422556a84d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread BJ
I've put a demo here:

http://typestemplatedemo.tiddlyspot.com/

On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>
> @BJ
> Still cannot make your typestemplate plugin work. I tried it directly on 
> your site. Maybe for this I should better open a new thread.
>

-- 
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/652f3526-7a7c-4b84-a6c4-b25beb9040f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread mauloop
Hi, Mario.

Thanks for your several answers. I'm reading them on my phone, that is not much 
comfortable. 

I plan to come back soon to review everything carefully and look at the 
threads, videos and other resources that you suggested. 

But I can't wait to thank you for your kindness and express my admiration for 
your skill. You are a mine of knowledge.

I've already posted here in the past and every time I found kind people that 
spended some of their time for me. Thanks to everyone.

)+(auloop

-- 
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/6d5130f2-3b70-4663-9772-856d815c3a10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread PMario
On Saturday, October 28, 2017 at 12:17:28 AM UTC+2, mauloop wrote:
>
> Now click on any link in the page (both in the story or in the sidebar): 
> it seems that tiddlers are opened, but the page doesn't scroll to the 
> clicked tiddler. Il looks very strange to me that simply adding a newline 
> could change the wiki behaviour. 
>

Yea, ... You found a rare behaviour, that I did also experience some time 
ago, when I did experiment with my own custom ViewTemplates. ... The point 
here is, that the code, that you have to dig down, is buried deep in the 
"core internals". I was too lazy, and at that time I even couldn't, dig 
deep enough ;) ... I try to describe it as high level as possible :)

--- high level info

Scrolling in TW is handled by different story-views, that you can find in 
the "right-sidebar: tools" menu.

At tiddlywiki.com there are 3 story-views

 - classic (default)
 - pop
 - zooming

Each of them treat "showing, removing, scrolling" tiddlers in a slightly 
different way. ... There are several other plugins.

 low level info

Every storyview has a corresponding javascript module. classic.js, pop.js 
and zooming.js. ... 
Every js module implements a function named: .navigateTo()


 high level info

We can trigger this navigation function with eg: tw messages like 
tm-navigate  which 
are created by different elements. eg: buttons, (see link docs)

tm-navigate is a user facing message, that can work with tiddler names. ... 
that's nice and easy (for users :)

--- low level info

When tm-navigate is executed, internally somewhere in the code a new low 
level message is triggered: tm-scroll 


The tm-scroll message can't be directly used by the user, since it needs a 
DOM element as a target parameter, which can only be created by javascript. 

Within js we call this mechanism "event-mechanism" and tm-scroll is an 
event-name or short event. 

--- higher level info

Starting with V5.1.9-beta  
jeremy introduced the scrollable-widget 
which allows us users access to 
some of these mechanisms.  

The widget docs says: 

If a scrollable widget can't handle the tm-scroll message because the inner 
> DIV fits within the outer DIV, then by default the message falls through to 
> the parent widget. Setting the *fallthrough* attribute to no prevents 
> this behaviour.
>

Let's try a ASCII-art for the "fallthrough" mechanism:

child
   |
   +-- parent
|
+-- grandparent

So "child" triggers an event, but can't handle it. (That happens from time 
to time ;) 
That's why it hands the event down to the parent. ... 

The parent thinks: "I have no time", that's perfect for grandparent, so 
it's handed down again

Grandparent knows what to do and does, what needs to be done ;) 

... In case that the child want's to keep the event secret, it set's 
"fallthrough" to no and doesn't hand it over.

--- low level info

In case of the "new-line" that you introduced, it now looks like this. 
(still simplified)

child
   |
   + new-line (stranger)
   +-- parent
|
+-- grandparent

As every child should know. Don't trust strangers. So it doesn't pass on 
the event. 

And that's exactly what happens in the code 
.
 
It detects the "stranger" and doesn't pass on the event. 



That's exactly what you describe. 

I first found something similar on a wiki I was working on, with a little 
> different result. In that case I had a  *working* custom ViewTemplate 
> with more changes and I inserted some newline to make the code more 
> readable. When I saved the "beautified" ViewTemplate it happened that 
> clicking on any link raised a Javascript error.
>
> TypeError: this.getLastFrame(...).getBoundingClientRect is not a function
>

This shouldn't happen, because there are several "stranger" tests along the 
line. The point is. We can't navigate to whitespace, because the browser 
API doesn't provide enough info. We can only navigate to "wrapping" DOM 
elements. 

 low low level.

The line that cause your js error is: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/scroller.js#L63

  high level

hope that makes sense and helps

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/d88322e9-a96e-4e06-8160-04cb765470e4%40googlegroups.com.
For more options, visit 

Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread BJ
unfortunately 'bjtools' is out of date, the current version of this plugin 
in 1.13.3. I will put up a new version.

On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>
> @BJ
> Still cannot make your typestemplate plugin work. I tried it directly on 
> your site. Maybe for this I should better open a new thread.
>

-- 
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/371eba31-fdfe-4b20-aa04-33654823a33d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
@BJ
Still cannot make your typestemplate plugin work. I tried it directly on 
your site. Maybe for this I should better open a new thread.

-- 
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/de601b09-5b6f-405e-8d83-1ba73ecd4e0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mau loop
Yes, I did the same. I mean I changed PageTemplate/story, not PageTemplate
as I said before.

By the way, I tried your plugin but was not able  to make it work. I will
give it another try. I do not want to reinvent the wheel.

Il 31/Ott/2017 23:14, "BJ"  ha scritto:

> sometimes there is no other way. I have a few plugins that modify the
> core, one of which allows custom template - http://bjtools.tiddlyspot.com/
> #typestemplate here I modified the $:/core/ui/PageTemplate/story
>
>
> On Tuesday, October 31, 2017 at 11:05:10 PM UTC+1, mauloop wrote:
>>
>> Yes, of course.
>>
>> Il 31/Ott/2017 23:02, "BJ"  ha scritto:
>>
>>> The problem is that when the next version is released, if the shadow
>>> tiddler you modified has been updated you will have to redo all you changes
>>> in the context of the new shadow tiddler.
>>>
>>> On Tuesday, October 31, 2017 at 9:35:53 PM UTC+1, mauloop wrote:

 Why not?

 Probably I will be burned as an heretic, but I have already overwritten
 the $:/core/ui/PageTemplate. This let me have custom view and edit
 templates, dinamically selected based on a tiddler field. It works for me
 (at least it seems to work since about one week ago, that is when I did
 it). What's wrong in this?

 However I appreciate very much your suggestions. Thanks for the
 attention.

 )+(auloop

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@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/ms
>>> gid/tiddlywiki/7a7359b3-cf27-4606-b740-386a6d0bfef1%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/e8f0efcb-9c20-400f-8960-bada2374c31a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPZC%2BHPU8s-Dbk13Ezmjf%3D7K6fyXTHoSr01rHgJa%2BVxpgTwEmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread BJ
sometimes there is no other way. I have a few plugins that modify the core, 
one of which allows custom template - 
http://bjtools.tiddlyspot.com/#typestemplate here I modified the 
$:/core/ui/PageTemplate/story


On Tuesday, October 31, 2017 at 11:05:10 PM UTC+1, mauloop wrote:
>
> Yes, of course.
>
> Il 31/Ott/2017 23:02, "BJ"  ha scritto:
>
>> The problem is that when the next version is released, if the shadow 
>> tiddler you modified has been updated you will have to redo all you changes 
>> in the context of the new shadow tiddler.
>>
>> On Tuesday, October 31, 2017 at 9:35:53 PM UTC+1, mauloop wrote:
>>>
>>> Why not?
>>>
>>> Probably I will be burned as an heretic, but I have already overwritten 
>>> the $:/core/ui/PageTemplate. This let me have custom view and edit 
>>> templates, dinamically selected based on a tiddler field. It works for me 
>>> (at least it seems to work since about one week ago, that is when I did 
>>> it). What's wrong in this?
>>>
>>> However I appreciate very much your suggestions. Thanks for the 
>>> attention.
>>>
>>> )+(auloop
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@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/7a7359b3-cf27-4606-b740-386a6d0bfef1%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/e8f0efcb-9c20-400f-8960-bada2374c31a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mau loop
Yes, of course.

Il 31/Ott/2017 23:02, "BJ"  ha scritto:

> The problem is that when the next version is released, if the shadow
> tiddler you modified has been updated you will have to redo all you changes
> in the context of the new shadow tiddler.
>
> On Tuesday, October 31, 2017 at 9:35:53 PM UTC+1, mauloop wrote:
>>
>> Why not?
>>
>> Probably I will be burned as an heretic, but I have already overwritten
>> the $:/core/ui/PageTemplate. This let me have custom view and edit
>> templates, dinamically selected based on a tiddler field. It works for me
>> (at least it seems to work since about one week ago, that is when I did
>> it). What's wrong in this?
>>
>> However I appreciate very much your suggestions. Thanks for the attention.
>>
>> )+(auloop
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/_nZI7Kt-UR0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/7a7359b3-cf27-4606-b740-386a6d0bfef1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPZC%2BHOg4oJnKJVqaovV8sKXcVr93WoXLKB96AoFSX5qwGGfSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread BJ
The problem is that when the next version is released, if the shadow 
tiddler you modified has been updated you will have to redo all you changes 
in the context of the new shadow tiddler.

On Tuesday, October 31, 2017 at 9:35:53 PM UTC+1, mauloop wrote:
>
> Why not?
>
> Probably I will be burned as an heretic, but I have already overwritten 
> the $:/core/ui/PageTemplate. This let me have custom view and edit 
> templates, dinamically selected based on a tiddler field. It works for me 
> (at least it seems to work since about one week ago, that is when I did 
> it). What's wrong in this?
>
> However I appreciate very much your suggestions. Thanks for the attention.
>
> )+(auloop
>

-- 
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/7a7359b3-cf27-4606-b740-386a6d0bfef1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Why not?

Probably I will be burned as an heretic, but I have already overwritten the 
$:/core/ui/PageTemplate. This let me have custom view and edit templates, 
dinamically selected based on a tiddler field. It works for me (at least it 
seems to work since about one week ago, that is when I did it). What's 
wrong in this?

However I appreciate very much your suggestions. Thanks for the attention.

)+(auloop

-- 
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/7bca9940-cce7-467c-b2ef-3cd011772831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
I hope I will find the time to learn more about HTML IDs. But the fact is 
(by the point of view of an absolutely HTML newbye, that is just what I am) 
that i simply clicked between two tags and pressed the ENTER key, unaware 
of IDs, links mechanism and all that stuff.

I think that having the chance to override the shadows tiddler to customize 
the wiki to own's taste is a great feature. This combined with macros and 
widgets gives to people like me the opportunity to build a wiki that fit 
exactly their needs. But if one falls in troubles with strange behaviour 
like this there could be chances that  one gives away thinking the work is 
to hard for him.

I spent about an hour rolling back my changes one by one to find the trick. 
:^(((


-- 
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/6f6bb06b-0a4a-4ad6-9709-c9ffd4439f75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread @TiddlyTweeter
Ciao Mark S. & mauloop

I assume this is part of default TW action going into play that behaves 
untypically--i.e. HTML IDs don't work in TW as you'd normally think? They 
are reserved for Tiddler Titles only, I think.

I found it VERY confusing when I started--that a tiddler can't use IDs (#) 
within it for normal business.

Josiah

On Tuesday, 31 October 2017 17:16:24 UTC+1, Mark S. wrote:
>
> I've been waiting to see any responses re part #1. The whole mechanism for 
> scrolling/navigating to a tiddler are a mystery. As far as I could tell 
> looking through the development console, there is no  link 
> exposed. Yet, the sidebar links are using  so maybe it's 
> hidden away in the dom somewhere.
>
> On part #2, my guess is that this is leftover code from development. When 
> I tried the template without the <$tiddler... it worked fine.
>
> Good luck,
> Mark
>
> On Tuesday, October 31, 2017 at 9:10:35 AM UTC-7, mauloop wrote:
>>
>> Is there someone here about that could help me to understand the reasons 
>> for the behaviour I described?
>> And also the meaning of <$tiddler tiddler=<>>?
>>
>
>

-- 
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/c61cbe95-582e-4a4a-8c09-0acecbf484b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Thanks, Mark. I am not experienced with HTML, nor with CSS. Every answer is 
chance for me to learn something.

-- 
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/f94c29b4-1450-42fc-99b5-809d8ee5f1d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Is there someone here about that could help me to understand the reasons 
for the behaviour I described?
And also the meaning of <$tiddler tiddler=<>>?

-- 
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/5a1b38f1-64e7-4af2-a9e2-211383137a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-27 Thread mauloop
I run one more test on tiddlywiki.com

Changed all the stuff in the ViewTemplate from:

\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>



to (just added some newline):

\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end

\define folded-state()
$:/state/folded/$(currentTiddler)$
\end

<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<
<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem">
<$transclude tiddler=<>/>







It is no possible to separate with any kind  of blank (I tried newline and 
space) the two SetWidget, the TiddlerWidget and the Div. It is still 
possible, as usual, to insert newlines between the opening and closing tag 
brackets (<>).

I can survive with this. I just would like to understand why.

-- 
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/af80afc8-920e-487d-ae35-1f5d1d54ef73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.