Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-06 Thread infurnoape


How about 
http://t5a.tiddlyspot.com/#%24%3A%2Fplugin%2Fajh%2Ftiddlytime%2FDateTime.js
Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

 Original message 
From: Antaeus Feldspar  
Date: 10/06/2015  7:13 PM  (GMT-07:00) 
To: TiddlyWiki  
Subject: Re: [tw] [TW5] How to create a button that replaces a field value 
based on the current field value? 

Actually, perhaps I should share what my macro will do - I went looking to see 
if there was an existing plugin that handled such things, and didn't find one, 
but that could be just because I wasn't looking in the right places.

My macro will take a 17-character string as used in a Date field as its first 
parameter, and as its second, a string indicating an amount of time to 
increment it ("1d", for instance, would be one day.)  It will calculate and 
return the incremented date.  With being able to read, modify, and write back a 
date values, I can create easy "reschedule" buttons for task tiddlers.

To tell the truth, there are some terrific JS libraries that do all of that and 
much more, and I was hoping there would be a simple way they might be 
incorporated into TW5, but if there is, I haven't found documentation for it.  
Is there such a way?  Or has someone already created awesome date-manipulation 
plugins?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6786561-3bd5-4f31-876c-ef4185e9e9e1%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/rf56qqk14jllu2kq7ecw3do7.1444193878039%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread 'Mark S.' via TiddlyWiki

What I was expecting was a single file with a separator between tids.

One tid file per tiddler with each tiddler either being auto-numbered or 
named for the original tiddler would also work. Having them zipped might be 
a nice touch.

The only thing I wouldn't expect is that, after seeing a list of 40 
tiddlers, only one gets exported. If it was in the documentation, that 
would be a different matter. But as far as I can tell, there isn't a 
tiddler on TiddlyWiki.com that explains exports. If there is, it isn't 
under a title containing the word "export".  I suppose I could write one 
now.

Thanks!
Mark

On Tuesday, October 6, 2015 at 1:02:10 AM UTC-7, Danielo Rodríguez wrote:
>
> What you were expecting?
>
> One tid file containing all the tiddlers ? This is a multids file that it 
> is very similar to JSON.
> One tid file for each tiddler? Then, how should it be managed? One 
> download prompt per tiddler? One zip file containing the tiddlers?
>
> Please note that I'm asking seriously, I want to know what your 
> expectations were for this because I have experienced the same confusion on 
> the past.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b54ddd9-07b9-4701-9568-76ff847820a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Tobias Beer
Hi Jeremy,

Because the mechanism works on draft tiddlers, and there’s no draft tiddler 
> involved when you use the edit-text widget directly.


So, could we perhaps introduce a single state tiddler to...

   - store the information of any edit-text widget instance given focus
   - store the text being edited in it
   - only commit the text back to the tiddler (field) after the edit delay 
   passed?

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/200f09a2-4450-4b3a-94b5-6cf6b86b4aa0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez

>
> Posts to all three places come through to my inbox so I see them all.
>
> Tobias is correct: development questions belong in the tiddlywikidev 
> group, out of respect for newcomers who find them overwhelming. They also 
> give a misleading impression that all TiddlyWiki users need to have 
> developer skills.
>

Ok, both of you are right, :P

It is my fault because I am more or less lazy.
Then, Jeremy, If I place an element manually outside that template, and I 
trigger an event, Will it be cached by the root widget? I suppose the 
answer is yes, but I am not sure at all.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b2df0f40-2e85-43b4-9409-a73827ff76df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Tobias Beer
@Jeremy,

Now, I'm a little confused, again. Sorry.

With this...

I'd urge you to examine the implementation of the existing refresh 
> dampening mechanism:
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/render.js


...how come this delay works well with the preview in edit mode
but not when I edit a field of the current tiddler in view-mode?

<$edit-text field="foo"/>

Best wishes,

— tb 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5136ae8c-1b71-4d4e-be69-7832133b3084%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-06 Thread Antaeus Feldspar
I absolutely plan to offer it for public consumption when I have it working 
well.  I also have some ideas for some useful filter-operators, but since I'm 
just getting started with the macros, the filter-operators are some distance in 
the future!

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7451dcad-c41c-4872-b1ab-4e1c77fc54c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Jeremy Ruston
Hi Danielo

> What do you think that would be the best way to place a tiddler at the top of 
> the page and hide all the rest of the elements? Including story river, 
> sidebars and everything else.

You can easily overlay the main page using a position: fixed div, just like the 
backdrop for the modals.

Best wishes

Jeremy

> 
> Regards 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/5fc38cea-8ae0-4581-9f22-8f336e5b3e27%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/D4B0E1DF-CCE2-4A1A-93FF-4C5EED9B30E5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Jeremy Ruston
Hi Tobias

> So, could we perhaps introduce a single state tiddler to...
> store the information of any edit-text widget instance given focus
> store the text being edited in it
> only commit the text back to the tiddler (field) after the edit delay passed?
You’re circling around the same point that we generally end up at!

The problem with the approach you’ve outlined is that while an edit is deferred 
the only copy of the edited text is that within the DOM node. But any parent 
widget of that DOM node is free to destroy the widget tree containing it, and 
reconstruct it. That loses the deferred state.

We’ve discussed this before: it’s why the existing mechanism defers the refresh 
cycle, and doesn’t try to defer updating the value of the tiddler.

Best wishes

Jeremy.



> Best wishes,
> 
> — tb
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/200f09a2-4450-4b3a-94b5-6cf6b86b4aa0%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/B0B7FC50-DFDC-4711-800D-8F5F9247F56C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Jeremy Ruston
Hi Danielo

> It is my fault because I am more or less lazy.
> Then, Jeremy, If I place an element manually outside that template, and I 
> trigger an event, Will it be cached by the root widget? I suppose the answer 
> is yes, but I am not sure at all.

The root widget only catches widget messages, it doesn’t catch DOM events. If 
you create an element outside of the page container, and trigger an event from 
that DOM tree, then there’s nothing in the core that will catch that event.

Best wishes

Jeremy.

> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b2df0f40-2e85-43b4-9409-a73827ff76df%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F103F5B7-C46A-4309-AE06-06B9CB4C62DA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Jeremy Ruston
Hi Danielo

> Hello Tobias, you're right. 
> But it is also hard for jeremy for checking on three different places, tw 
> group, tw dev group and github. People not interested on a topic does not 
> need to read it. Anyway, I understand what you say, and I agree with  you. 

Posts to all three places come through to my inbox so I see them all.

Tobias is correct: development questions belong in the tiddlywikidev group, out 
of respect for newcomers who find them overwhelming. They also give a 
misleading impression that all TiddlyWiki users need to have developer skills.

> But, I hope you don't mind if I make another question on this same thread.
> 
> Is there any tag similar to rawMarkup tag but placing the content outside the 
> page container instead of the head section?

Not at the moment. Have a look at the template:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/templates/tiddlywiki5.html.tid

I’d consider extending it. In particular, it would be useful to have a decent 
mechanism for specifying meta tags.

Best wishes

Jeremy.


> 
> Regards
> 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e445048a-19d7-47cf-ad89-2c48185f529f%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/FD6A243A-76D2-4D97-9D66-FDECC49BDA06%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Jeremy Ruston
Hi Tobias

> ...how come this delay works well with the preview in edit mode
> but not when I edit a field of the current tiddler in view-mode?

Because the mechanism works on draft tiddlers, and there’s no draft tiddler 
involved when you use the edit-text widget directly.

Best wishes

Jeremy.

> 
> <$edit-text field="foo"/>
> 
> Best wishes,
> 
> — tb 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54D5A7A7-8645-4DD6-8142-07B825AB604C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread Tobias Beer
Hi Mark,
 

> If there is, it isn't under a title containing the word "export".
>

It might indeed be non-existent.

I'm also not seeing any "Toolbars" tiddler
explaining how toolbars are collections of buttons...
and then perhaps listing or linking to further details about those.

I suppose I could write one now.
>

That sounds good. :-)

Best wishes,

— tb 
 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f14e2386-0597-4ce8-977f-7dc5d126309e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 get changed tiddlers

2015-10-06 Thread Danielo Rodríguez

>
> So, at startup, and each time the user clicks the button, you’d scan the 
> changecounts of all the tiddlers in the store, and compare against the 
> record you kept from the last check. The difference tells you which 
> tiddlers have changed. You don’t need to change anything in the store; you 
> just need to keep track of the last change count you’ve seen for each 
> tiddler you are processing.
>
> Best wishes
>
> Jeremy.
>

That is exactly what I'm going to do. Thank you very much.

Regards 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/566259c3-0e7b-459f-8cea-0d7ec962da75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] using highlight.js for transcluded code

2015-10-06 Thread James
Hi Jeremy,

Can I use codeblock for external file?  For instance:

<$codeblock language="vb" />
<>



On Tuesday, 6 October 2015 20:42:29 UTC+8, Jeremy Ruston wrote:
>
> Hi Danielo
>
> That depends on the platform! I can import a tiddler as an external file 
> (like the Alicia's tiddler) and then transclude it with text. Can't I ? 
> And even if that is not possible, there is at least one project I am 
> working at that can make good use of this.
>
>
> What I’m trying to say is that the codeblock widget doesn’t have any 
> impact on the functionality available for loading remote content. it is a 
> presentation feature, and nothing to do with loading external content.
>
> So, yes, you can use the codeblock widget to view the content of a tiddler 
> loaded via the new external text tiddler support, but the two features are 
> entirely independent.
>
> Best wishes
>
> Jeremy
>
>
>
> Regards
>
> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/26396d9c-d8d6-4e40-b049-01b2f46fc1f6%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87761944-6fd2-4e59-8939-297e90fa1be6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [How to] [TW5] Multiple tag fields

2015-10-06 Thread Danielo Rodríguez
El domingo, 4 de octubre de 2015, 17:56:44 (UTC+2), Tobias Beer escribió:
>
> Hi Danielo and Jed,
>
> I'm wondering why you two chose to touch the fieldmangler for that.
>
> Best wishes,
>
> — tb 
>

I have not touched the fieldmangler in any way. Field mangler widget 
remains untouched, I just extended it and I have created a new widget 
called fieldmangler-ext 

I changed to using action widgets. It turns out it is a much easier way to 
> go and should be better for future updates.


My field mangler extended relies on action widgets sending the appropriate 
parameters. Do you mean something different ? 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e69a1d6c-5da2-4bf2-8f8f-821ece1876a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez


El martes, 6 de octubre de 2015, 21:53:12 (UTC+2), Tobias Beer escribió:
>
> @Danielo,
>
> I don't see why a widget should not be able to store a reference to its 
> context somewhere, no matter where it resides. Can it not?
>

Yes, it is possible. The problem is that I don't know deep enough TW event 
mechanism (and JS event mechanism in general) to know  how to use it. So, 
even knowing how to store a reference to the root widget, I'm not sure 
about how to trigger an event.

Jeremy, I saw some very interesting functions on the core like 
$tw.utils.setStyle 
for managing animations. And the createTranscludewidget seems to be key in 
dom creation from wikitext.


Regards 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7b5f2e48-13d5-4aab-9d67-7cba7be6b874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Tobias Beer
Hi Jeremy,
 

> We’ve discussed this before: it’s why the existing mechanism defers the 
> refresh cycle, and doesn’t try to defer updating the value of the tiddler.
>

If we managed to dynamically rebind the input to a state tiddler during 
editing — rather than the tiddler which we look at — then no refresh of the 
tiddler we look at should take place (while typing). But yes, the moment 
after the delay when we refresh the current tiddler we still have the 
problem of re-focusing the widget that got destroyed at the position we 
were when editing. However (!), the state tiddler that we use to store the 
edited text could (perhaps) via some qualify identifier be used to store a 
reference to the editing widget and thus a widget could check upon creation 
if it is that widget and steal the focus back.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c14303fa-7379-4f19-bb34-53766451dee4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Request: Refresh Delay in edit-text widget

2015-10-06 Thread Evan Balster
I'll get around to finishing the message I drafted two weeks ago here...

I see a lot of sense in Jeremy's point about always editing the Tiddler
store directly, and I won't contest that.  My main objection to the tag /
field approach to refresh delay is that the delay isn't a descriptor of the
data being changed.  To attach that data to a persistent tiddler would mean
associating ephemeral data with long-term information.  This is
particularly unintuitive if it must be applied by hand.

To review, the basic UX problem is that it feels very bad when >250ms of
processing delay the response to each keystroke in an edit-box.  The
necessary solution involves a query within the rendering mechanism that
determines a quantity of delay to be associated with a given change.
Ideally this solution should be as similar to the existing one as possible.

Within the architectural constraints discussed so far, we could:

   1. Add associative state to data which should be delayed, such as a tag,
   or slow.refresh field (where the latter could specify a millisecond
   value).  Editor widgets would apply these tags or fields in addition to
   normal changes.
   2. Have a global state tiddler, like "$:/Delay", governing the render
   mechanism, which describes which tiddlers should be refresh-delayed at any
   given moment.  Editor widgets would modify this state tiddler if delay is
   specified.
   3. Use some datapath not involving the tiddler store to communicate a
   list of delayed changes between the editor widgets and the rendering
   mechanism.

I would tend to prefer (2) because it's simple, avoids the associativity
issue and also seems like it would be easier to "clean up" when the refresh
goes through.  In most cases there would only be one delayed item (because
only one editor widget is typically be used at a time) so it doesn't seem
like the performance hit from parsing the refresh state would be too bad
either.

...But of course this is all relatively uninformed opinion.  Interested in
your thoughts, Jeremy.

Regards,
Evan

On Tue, Oct 6, 2015 at 2:49 PM, Tobias Beer  wrote:

> Hi Jeremy,
>
>
>> We’ve discussed this before: it’s why the existing mechanism defers the
>> refresh cycle, and doesn’t try to defer updating the value of the tiddler.
>>
>
> If we managed to dynamically rebind the input to a state tiddler during
> editing — rather than the tiddler which we look at — then no refresh of the
> tiddler we look at should take place (while typing). But yes, the moment
> after the delay when we refresh the current tiddler we still have the
> problem of re-focusing the widget that got destroyed at the position we
> were when editing. However (!), the state tiddler that we use to store the
> edited text could (perhaps) via some qualify identifier be used to store a
> reference to the editing widget and thus a widget could check upon creation
> if it is that widget and steal the focus back.
>
> Best wishes,
>
> — tb
>
> --
> 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/hlIvXE6jRys/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 http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/c14303fa-7379-4f19-bb34-53766451dee4%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEKipH%3DQKSueRg7y_GFxq%2BHkTsBM5s3-7pGFZ9wtAyophq0wew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Tobias Beer
@Danielo,

I don't see why a widget should not be able to store a reference to its 
context somewhere. Can it not?

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b5d5053-9b91-49c9-b4fb-a0b1d739c5b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bibTex

2015-10-06 Thread Jed Carty
I made something that is the start of what you are talking about. If you 
check out the citation library here 

 
you can see what I have.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/deddf3ee-6829-429f-b2fd-46be386f4bc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bibTex

2015-10-06 Thread Tobias Beer
Hi Jed,
 

> If you check out the citation library here 
> 
>  
> you can see what I have.
>

That's quite interesting, although I can't see how it's about importing and 
then reusing / presenting BibTeX entries.

Anyway, selecting anyhing from the main dropdown in those bookmarks and 
then chosing a further value from the second one it happens that the result 
list is empty. So, why would you show that option in the second select box 
if there was no item matching the combination of first select plus second 
select? Or maybe it's just that the results list doesn't quite update 
correctly and there are items indeed. Not sure.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b900e61-d2a0-4f8a-9099-913705b00cde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bibTex

2015-10-06 Thread BJ
see also this thread

https://groups.google.com/forum/#!topic/tiddlywiki/kIbDTiXZqJk

all the best
BJ
On Tuesday, October 6, 2015 at 5:35:49 PM UTC+1, Muad Abd El Hay wrote:
>
> I found this plugin from TW classic. I am fairly new to all of this so I 
> have no idea how to make this work under TW5. Any ideas?
>
> https://github.com/jonkje/bibtexplugin
>
> On Tuesday, February 2, 2010 at 8:10:40 AM UTC+1, alessio c wrote:
>>
>> Hi all,
>>
>> I was trying to design a macro that could take a bibTex text in a tiddler 
>> and put the citation in another one.
>>
>> For example, the tiddler A has this text:
>>
>> @article{franklin1997agent,
>>   title={{Is it an Agent, or just a Program?: A Taxonomy for Autonomous 
>> Agents}},
>>
>>   author={Franklin, S. and Graesser, A.},
>>   journal={Lecture Notes in Computer Science},
>>   volume={1193},
>>   pages={21--36},
>>   year={1997},
>>   publisher={Springer}
>> }
>>
>> I want to insert a macro in the tiddler B in order to have something 
>> like: 
>>
>> Franklin, S. and Graesser, A., Is it an Agent, or just a Program?: A 
>> Taxonomy for Autonomous Agents, etc.
>>
>> Do you have any ideas?
>>
>>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/531bcbb7-3454-44c0-8e10-a1c5c6faa825%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bibTex

2015-10-06 Thread Jed Carty
Tobias,

The default is on bookmarks, switching to the citation library using the 
menu to the left will show the citation library. It uses bibtex stuff. Here 
is the direct link to it:
http://inmysocks.tiddlyspot.com/#%24%3A%2Fplugins%2Finmysocks%2FCitations%2FCitation%20Library

And the bug with the bookmarks is something that I haven't figured out how 
to fix yet. I haven't looked at it in a while though. The problem is that 
the item picked by the second or third dropdown isn't cleared when you 
change the first one and that breaks the filter used to generate the list 
of links.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf91482b-3d38-41bd-b21b-5b1ef6970650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread BJ
HI Danielo,
It is possible to write a widget that created a dom element and attaches it 
outside of the page container - it can then listen for dom events - this is 
how tiddlyclip works:

var messageBox = doc.getElementById("tiddlyclip-message-box");
if(!messageBox) {
messageBox = doc.createElement("div");
messageBox.id = "tiddlyclip-message-box";
messageBox.style.display = "none";
doc.body.appendChild(messageBox);
}
// Attach the event handler to the message box
messageBox.addEventListener("tiddlyclip-save-file", onSaveFile,false);


and the onSaveFile() function generates messages.

Cheers
BJ


On Tuesday, October 6, 2015 at 3:43:36 PM UTC+1, Danielo Rodríguez wrote:
>
> The root widget only catches widget messages, it doesn’t catch DOM events. 
>>
> That is the part that I knew
>
>  
>
>> If you create an element outside of the page container, and trigger an 
>> event from that DOM tree, then there’s nothing in the core that will catch 
>> that event.
>>
>
> That is the answer I did not wanted to hear :P
>
> What do you think that would be the best way to place a tiddler at the top 
> of the page and hide all the rest of the elements? Including story river, 
> sidebars and everything else.
>
> Regards 
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3619c648-94ac-4c07-90b1-a360d0a9c7d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TiddlyMap v0.9.11 released

2015-10-06 Thread George ZP
Hello Felix,

Everything updated fine. Thanks!

On Monday, October 5, 2015 at 2:57:57 PM UTC+3, Felix Küppers wrote:
>
> I forgot to mention that I added and removed some style options so in case 
> of node colors, font-colors and border colors you might need to readjust a 
> bit. In any case I recommend an update.
>
> -Felix
>
> On 10/05/2015 10:25 AM, Felix Küppers wrote:
>
> Hi George
>
> I have TiddlyMap 8.5.1 installed in my json server. How can I go about 
> updating my plugin installation? Do I need to uninstall and re-install the 
> plugin? 
>
>
> Updating TiddlyMap is the same procedure as installing it. In *no case* 
> you need to remove your previous installation.
>
> Did you install it per dragndrop? Then you need to go to 
> http://tiddlymap.org and click on installation 
> instructions follow the steps.
>
> Do you use TiddlyMap with TiddlyMap in nodejs mode? Then you need follow 
> these instructions 
> https://github.com/felixhayashi/TW5-TiddlyMap#when-running-tiddlywiki-in-nodejs
> .
>
> Will I lose my views and filter if I do so?
>
>
> Theoretically: No, your views, filters, positions, styles (most of the 
> styling at least) should always remain intact after an update. Even though 
> TM is in beta, I always try to make sure that I do not break existing 
> stuff. If your wiki internal structure is not up to date, TiddlyMap will 
> try to fix that with a dedicated Fixer module 
> 
>
> However, some minor aspects may change. Also TiddlyMap behaviours might 
> change.
>
> *disclaimer* It can also happen, that an update breaks your wiki by 
> accident. So always make a backup before upgrading, then test if everything 
> works fine (e.g. add a node or create a dummy view) and if this is the case 
> it should be fine to work with the new wiki (but always keep the backup for 
> safety reasons!).
>
> I always recommend to upgrade periodically as many bugs get fixed.
>
> Hope this helps :)
> -Felix
>
>
> Thanks in advance,
> George
>
> On Sunday, October 4, 2015 at 9:40:22 PM UTC+3, Felix Küppers wrote: 
>>
>> To everybody who recently downloaded TiddlyMap, I suggest that you 
>> install v0.9.11 (or later) as many bugs were fixed after v0.9 was first 
>> introduced.
>>
>> In case you do/did not follow the discussions at the TiddlyMap GitHub 
>> repo, there is a new cut'n'paste feature included in v0.9 that allows you 
>> to move/copy nodes between graphs. See 
>> http://tiddlymap.org/#Moving%20nodes%20between%20graphs
>>
>> In case something doesn't work, there is a bug or something somehow seems 
>> strange in the course of an installation, when doing an update or while 
>> using TiddlyMap in general: Please always tell me (preferrably at GitHub) 
>> so I am aware of it. Otherwise, I might not even know that the problem 
>> exist as TiddlyMap has gotten quite complex and I cannot test all the 
>> features all the time. Thanks.
>>
>> -Felix
>>
>> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> 
> https://groups.google.com/d/msgid/tiddlywiki/d76f1d1d-4fcc-482c-8f8c-2430950eb41d%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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> 
> https://groups.google.com/d/msgid/tiddlywiki/BLU436-SMTP258E63C4EDA9DBCA28EEF01CE480%40phx.gbl
> .
> 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa76e6b9-921e-4429-8cfe-addec98a7717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread Danielo Rodríguez
What you were expecting?

One tid file containing all the tiddlers ? This is a multids file that it 
is very similar to JSON.
One tid file for each tiddler? Then, how should it be managed? One download 
prompt per tiddler? One zip file containing the tiddlers?

Please note that I'm asking seriously, I want to know what your 
expectations were for this because I have experienced the same confusion on 
the past.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/16f313e4-8628-4477-95ca-68103a95d86f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-06 Thread Antaeus Feldspar
Actually, perhaps I should share what my macro will do - I went looking to see 
if there was an existing plugin that handled such things, and didn't find one, 
but that could be just because I wasn't looking in the right places.

My macro will take a 17-character string as used in a Date field as its first 
parameter, and as its second, a string indicating an amount of time to 
increment it ("1d", for instance, would be one day.)  It will calculate and 
return the incremented date.  With being able to read, modify, and write back a 
date values, I can create easy "reschedule" buttons for task tiddlers.

To tell the truth, there are some terrific JS libraries that do all of that and 
much more, and I was hoping there would be a simple way they might be 
incorporated into TW5, but if there is, I haven't found documentation for it.  
Is there such a way?  Or has someone already created awesome date-manipulation 
plugins?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6786561-3bd5-4f31-876c-ef4185e9e9e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [How to] [TW5] Multiple tag fields

2015-10-06 Thread Jed Carty
I just made a new action widget. It will probably be put into the 
action-setfield widget if it does make it to the core but this allows 
things to be much more modular since this is a single file that adds a 
single widget.

What I have is here 
http://ooktech.com/jed/ExampleWikis/ListManipulation/#Demo%20Stuff:[[Demo%20Stuff]]%20%24%3A%2Fplugins%2Finmysocks%2FListManipulation%2Faction-editlist.js

It is currently full of bugs when it comes to generic list operations, but 
it should work when you want it to be like the tag field. The biggest 
problem with this compared to the other one is that there isn't yet an 
equivalent to the tag[foo] filter operator for other fields. That is easy 
enough to add but it may be a few days before I get time to do it.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bab11a49-6a67-4e06-8a2b-9d0ee0f640a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TiddlyMap v0.9.11 released

2015-10-06 Thread Felix Küppers
Hi George,

Glad to hear that, thanks for teliing me :)

-Felix

On 10/06/2015 10:50 AM, George ZP wrote:
> Hello Felix,
>
> Everything updated fine. Thanks!
>
> On Monday, October 5, 2015 at 2:57:57 PM UTC+3, Felix Küppers wrote:
>
> I forgot to mention that I added and removed some style options so
> in case of node colors, font-colors and border colors you might
> need to readjust a bit. In any case I recommend an update.
>
> -Felix
>
> On 10/05/2015 10:25 AM, Felix Küppers wrote:
>> Hi George
>>
>>> I have TiddlyMap 8.5.1 installed in my json server. How can I go
>>> about updating my plugin installation? Do I need to uninstall
>>> and re-install the plugin?
>>
>> Updating TiddlyMap is the same procedure as installing it. In _no
>> case_ you need to remove your previous installation.
>>
>> Did you install it per dragndrop? Then you need to go to
>> http://tiddlymap.org and click on installation instructions
>> follow the steps.
>>
>> Do you use TiddlyMap with TiddlyMap in nodejs mode? Then you need
>> follow these instructions
>> 
>> https://github.com/felixhayashi/TW5-TiddlyMap#when-running-tiddlywiki-in-nodejs
>> 
>> .
>>
>>> Will I lose my views and filter if I do so?
>>
>> Theoretically: No, your views, filters, positions, styles (most
>> of the styling at least) should always remain intact after an
>> update. Even though TM is in beta, I always try to make sure that
>> I do not break existing stuff. If your wiki internal structure is
>> not up to date, TiddlyMap will try to fix that with a dedicated
>> Fixer module
>> 
>> 
>>
>> However, some minor aspects may change. Also TiddlyMap behaviours
>> might change.
>>
>> *disclaimer* It can also happen, that an update breaks your wiki
>> by accident. So always make a backup before upgrading, then test
>> if everything works fine (e.g. add a node or create a dummy view)
>> and if this is the case it should be fine to work with the new
>> wiki (but always keep the backup for safety reasons!).
>>
>> I always recommend to upgrade periodically as many bugs get fixed.
>>
>> Hope this helps :)
>> -Felix
>>
>>>
>>> Thanks in advance,
>>> George
>>>
>>> On Sunday, October 4, 2015 at 9:40:22 PM UTC+3, Felix Küppers
>>> wrote:
>>>
>>> To everybody who recently downloaded TiddlyMap, I suggest
>>> that you install v0.9.11 (or later) as many bugs were fixed
>>> after v0.9 was first introduced.
>>>
>>> In case you do/did not follow the discussions at the
>>> TiddlyMap GitHub repo, there is a new cut'n'paste feature
>>> included in v0.9 that allows you to move/copy nodes between
>>> graphs. See
>>> http://tiddlymap.org/#Moving%20nodes%20between%20graphs
>>> 
>>>
>>> In case something doesn't work, there is a bug or something
>>> somehow seems strange in the course of an installation, when
>>> doing an update or while using TiddlyMap in general: Please
>>> always tell me (preferrably at GitHub) so I am aware of it.
>>> Otherwise, I might not even know that the problem exist as
>>> TiddlyMap has gotten quite complex and I cannot test all the
>>> features all the time. Thanks.
>>>
>>> -Felix
>>>
>>> -- 
>>> 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+...@googlegroups.com .
>>> To post to this group, send email to tiddl...@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/tiddlywiki
>>> .
>>> To view this discussion on the web visit
>>> 
>>> https://groups.google.com/d/msgid/tiddlywiki/d76f1d1d-4fcc-482c-8f8c-2430950eb41d%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+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki
>> .
>> To view this discussion on the web visit
>> 
>> 

Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-06 Thread Tobias Beer
Hi Antaeus, 

Tobias, you're right that the best solution may end up being something 
> other than a macro, but to keep the project going, I have a deep need to be 
> able to update certain data fields easily in great numbers of tiddlers.  An 
> imperfect solution now is tons better than a perfect solution in three 
> months.
>

Always true. What would be interesting to see is what your macro actually 
does, even if, perhaps, imperfectly so. ;-)

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65c6e4de-b077-45ed-9fcf-e2c344a7f64c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] The plugin listing (and I'm not dead yet!)

2015-10-06 Thread Erwan


Hi Jed,

Thank you for updating your list of plugins.

Did you look at 
http://erwanm.github.io/tw-community-search/#%24%3A%2FPluginIssues ? It 
might help you find issues in the list and potential new plugins. Let me 
know if there is something else I can do which would make your task easier.


Regards
Erwan

On 02/10/15 21:19, Jed Carty wrote:
I haven't disappeared, I just got caught up in moving and then had a 
contract that took up enough of my time that I couldn't play with my 
other projects much. I haven't been keeping up with any tiddlywiki 
news. I have just started going through posts here looking for new 
plugins to add to the list I try to maintain 
. As long as things 
are working correctly it should also be part of what is used by the 
community search for listing plugins 
.


I am sure that there are many that I have missed and I am working 
through the backlog of posts on the group, but if anyone has a plugin 
that I don't have listed please let me know.

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/078e037a-b7bd-4850-bd35-ee1fc41faa36%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/561451AF.1020600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez
Hello,

I want to know when TW creates the main div container. That with the class   
tc-page-container-wrapper

I know it should be on certain core module, but I would like to know the 
exact involved modules and logic behind it. I can make a search for that 
class, but that does not ensures that I will find the full flow.

Many thanks.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e2fb929-6d22-4a11-9a5b-e083d61c7744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez
I just realized that I can access the page container wrapper 
through $tw.rootWidget.domNodes. Cool! I'm one step closer.

Regards

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7227b4e2-289d-46c4-93a8-b466e82c7a84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] using highlight.js for transcluded code

2015-10-06 Thread Tobias Beer
Hi Jeremy,
 

> Try: <$codeblock language=“javascript” code={{MyJavaScriptTiddler}}/>
>
 
Of course. Always the basics. :D

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01f66376-57f5-4650-96e8-2d5c7999b9f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Tobias Beer
Hi Danielo,
 

> I want to know when TW creates the main div container. That with the class 
>   tc-page-container-wrapper
>

This is all very interesting to understand ...at least, for me it is.
So, clearly, I have no wish to discourage discussion.

Nonetheless, I would invite you and others to use the TiddlyWikiDev 
 group much more,
even if the (perceived) latency might be a bit higher (although I'm not 
sure it is).

I imagine all this tech-noise to seriously shy away those
who just want to use and learn more about how to use TiddlyWiki
and are overburdened by numerous dev threads on how it all works or how to 
extend it,
considering how leveraging the power of TiddlyWiki already can have quite a 
techy feel to it.

Sure, this will never be a mere "use the save-as button" discussion group,
but let's watch out for it to not sound too much like we're all using a 
console.

Thanks for considering,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/795384ad-f56e-4d2d-a09c-1afabc3b0c0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 get changed tiddlers

2015-10-06 Thread Jeremy Ruston
Hi Danielo

> I want to allow the user make all the changes he/she wants to the wiki. Then, 
> when he cliks one button, I want to generate a report with the tiddlers that 
> have been changed for the running sesion. Creation, deletion and update. At 
> that point, if the user decides to "save" those changes, the "sessions" 
> should be reset, and when the user clicks again, then the report will only 
> include the changes made since the last time he checked the report.

So, at startup, and each time the user clicks the button, you’d scan the 
changecounts of all the tiddlers in the store, and compare against the record 
you kept from the last check. The difference tells you which tiddlers have 
changed. You don’t need to change anything in the store; you just need to keep 
track of the last change count you’ve seen for each tiddler you are processing.

Best wishes

Jeremy.


> 
> Does that make sense 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/41dfa9a5-cecf-4dd2-9848-432db2beede9%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78198607-B34A-49C1-986A-CBA445BFD41F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez
At the end I'm using $tw.pageContainer

seems that all the Node creation stuff happens at render module of the core.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bd355e56-fa8a-4c2f-bf13-7620a4e05fa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Add button to convert INPUT to TEXTAREA in tiddler edit mode, how?

2015-10-06 Thread Tobias Beer
Hi Mat,
 

> There was a similar proposal in github 
>  very recently. 
> I've started to look into it but it turned out to be more difficult (for 
> me) than I thought. If it is of any value, here's 
> how far I got. (I intend to solve 
> it eventually.)
>

Could you update your example to all that which Spangenhelm does? i.e. for 
displaying fields in the editor, too?
Also, with a little bit of html / css it should be easy to make it look as 
if one line.

<$edit-text field="foo" tag="textarea" class="one-line" autoHeight="no"/>
.one-line {height:2em;} 

The problem with the above is that I specifically turned off TiddlyWiki's 
way to auto-resize a textarea. I'd rather want to keep it but not have it 
force some min-height other than the one that I have specified.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02a34915-82f9-4109-8a62-1907477ba394%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Jeremy Ruston
Hi Danielo

As you’ve discovered, it is indeed the startup module render.js that creates 
the page container node.

Best wishes

Jeremy

> On 6 Oct 2015, at 12:44, Danielo Rodríguez  wrote:
> 
> At the end I'm using $tw.pageContainer
> 
> seems that all the Node creation stuff happens at render module of the core.
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/bd355e56-fa8a-4c2f-bf13-7620a4e05fa8%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28EED021-EE2C-4F05-A91C-BE7B1CED075B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread Tobias Beer
Hi Danielo,
 

> I want to know what your expectations were
>

As for me, this would be it...

a multids file


— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4634ae63-48f1-4998-99d0-043c7692d623%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] using highlight.js for transcluded code

2015-10-06 Thread Jeremy Ruston
Hi Danielo

> That depends on the platform! I can import a tiddler as an external file 
> (like the Alicia's tiddler) and then transclude it with text. Can't I ? 
> And even if that is not possible, there is at least one project I am working 
> at that can make good use of this.

What I’m trying to say is that the codeblock widget doesn’t have any impact on 
the functionality available for loading remote content. it is a presentation 
feature, and nothing to do with loading external content.

So, yes, you can use the codeblock widget to view the content of a tiddler 
loaded via the new external text tiddler support, but the two features are 
entirely independent.

Best wishes

Jeremy


> 
> Regards
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/26396d9c-d8d6-4e40-b049-01b2f46fc1f6%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A3B532AE-CE12-46A0-AD88-21317A4A512C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread Jeremy Ruston
Just to be clear, the multids file format is pretty limited at the moment. 
Although it allows multiple tiddlers in a file, each tiddler can only differ by 
their title and text, the other fields have to be the same.

There has been some discussion recently about introducing a new file format 
that permits multiple tiddlers in a file, Tobias can you find the reference?

Best wishes

Jeremy.


> On 6 Oct 2015, at 13:43, Tobias Beer  wrote:
> 
> Hi Danielo,
>  
> I want to know what your expectations were
> 
> As for me, this would be it...
> 
> a multids file
> 
> — tb
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/4634ae63-48f1-4998-99d0-043c7692d623%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/EEFF8783-841E-4D54-850C-C3934BDC69E5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez

>
> So, clearly, I have no wish to discourage discussion.
>
> Nonetheless, I would invite you and others to use the TiddlyWikiDev 
>  group much more,
> even if the (perceived) latency might be a bit higher (although I'm not 
> sure it is).
>
> I imagine all this tech-noise to seriously shy away those
> who just want to use and learn more about how to use TiddlyWiki
> and are overburdened by numerous dev threads on how it all works or how to 
> extend it,
> considering how leveraging the power of TiddlyWiki already can have quite 
> a techy feel to it.
>
> Sure, this will never be a mere "use the save-as button" discussion group,
> but let's watch out for it to not sound too much like we're all using a 
> console.
>
> Thanks for considering,
>

Hello Tobias, you're right. 
But it is also hard for jeremy for checking on three different places, tw 
group, tw dev group and github. People not interested on a topic does not 
need to read it. Anyway, I understand what you say, and I agree with  you. 

But, I hope you don't mind if I make another question on this same thread.

Is there any tag similar to rawMarkup tag but placing the content outside 
the page container instead of the head section?

Regards

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e445048a-19d7-47cf-ad89-2c48185f529f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Exporting as "tid" only exports one tiddler?

2015-10-06 Thread Tobias Beer
Hi Jeremy,
 

> There has been some discussion recently about introducing a new file 
> format that permits multiple tiddlers in a file, Tobias can you find the 
> reference?
>

I think you may be referring to this one...

*#1947 allow to save field-values containing linebreaks under node.js*
https://github.com/Jermolene/TiddlyWiki5/issues/1947

However, I believe we have not touched the topic of multitids in that 
thread yet,
perhaps boiling down but to specifying a safe delimiter.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4508f235-e3dd-4eaa-9ee1-1252020774a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Add button to convert INPUT to TEXTAREA in tiddler edit mode, how?

2015-10-06 Thread Mat
Tobias,

Could you update your example to...
>

I just wanted to inform Siniy-Kit about the github thread. My example isn't 
really intended to be shown. I was thinking that maybe some (very small) 
fragment of it might be useful for Siniy-Kit such as a clue about a tiddler 
name or the syntax for text field etc. I hope to work out the matter 
eventually and make a pull request but will get back on it when I have time 
proper for it. I'll look into this thread and your tips then. Thanks.

<:-)

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/58bd437f-6b19-47f9-9ae0-cd29969cb799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] At which point does TW create the main container?

2015-10-06 Thread Danielo Rodríguez
Hello Jeremy

You can easily overlay the main page using a position: fixed div, just like 
> the backdrop for the modals.
>

Now you mention the modals, that raised me an idea.

My first intention was to hide the whole  tc-page-container-wrapper div.
Then I realized that if I set it's css property display to none, then none 
of its children will be displayed. 
That is a problem for the UI elements that I want to "survive". Then I 
though about hiding all the children of the tc-dropzone div. 
That works well, but then I saw that the modals ( tc-modal-wrapper ) are 
positioned outside the dropzone div. And I am sure that they are able to 
send events both to the root widget and the navigator widget. Is that 
correct?
Maybe the best solution is to use the same approach as the modals does?

Regards

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cee77fc1-32db-4320-bc5a-a77977f25b76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bibTex

2015-10-06 Thread Muad Abd El Hay
I found this plugin from TW classic. I am fairly new to all of this so I 
have no idea how to make this work under TW5. Any ideas?

https://github.com/jonkje/bibtexplugin

On Tuesday, February 2, 2010 at 8:10:40 AM UTC+1, alessio c wrote:
>
> Hi all,
>
> I was trying to design a macro that could take a bibTex text in a tiddler 
> and put the citation in another one.
>
> For example, the tiddler A has this text:
>
> @article{franklin1997agent,
>   title={{Is it an Agent, or just a Program?: A Taxonomy for Autonomous 
> Agents}},
>
>   author={Franklin, S. and Graesser, A.},
>   journal={Lecture Notes in Computer Science},
>   volume={1193},
>   pages={21--36},
>   year={1997},
>   publisher={Springer}
> }
>
> I want to insert a macro in the tiddler B in order to have something like: 
>
> Franklin, S. and Graesser, A., Is it an Agent, or just a Program?: A Taxonomy 
> for Autonomous Agents, etc.
>
> Do you have any ideas?
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85611e0e-84df-4c7f-aac8-a0ecc7a14e4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.