Re: [tw] TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread Alex Hough
Dear all

I think the hypertext stuff Steve is talking about is really interesting
and also important for TiddlyWiki adoption. It's almost that we have to
sell hypertext before tiddlywiki. Tiddlywiki is simply a wonderful
hypertext tool.

Exciting stuff, Steve if you are reading, please count me in!


Best wishes

Alex

On Saturday, 5 December 2015, Erwan  wrote:

>
> Hi Matabele,
>
> I remember thinking about doing something similar but very basic in pure
> TW (because I don't know better!).
>
> It was more a backup system for individual tiddlers actually, not a proper
> versioning system: the idea was to redefine the save and delete buttons so
> that the previous version of the tiddler is saved as a system tiddler, for
> instance under the tittle $:/tiddlers-backup/my-tiddler/revision-no. The
> tags field would have to be renamed as "tags.bak", because the backup
> tiddlers should not appear in the drop down list of tags pills, and system
> tags should not be activated. There could be options to select the tiddlers
> to backup, the number of versions to store, delete any backup...
>
> This idea might or might not be relevant... I mention it just in case it
> inspires anyone!
>
> Regards
> Erwan
>
>
>
> On 05/12/15 19:46, Matabele wrote:
>
> Hi Eric
>
> Yes -- that is the sort of thing I had in mind. However, the undo
> functionality needs to persist over a save/re-open cycle to be useful for
> authors. Perhaps a combination of an undo function for the current session,
> and a versioning system (such as Github) for saved tiddler content between
> sessions would suffice, although it would be nice to have a UI within TW to
> revert to tiddler versions from previous sessions.
>
> regards
>
> On Saturday, 5 December 2015 21:28:46 UTC+2, Eric Shulman wrote:
>>
>> For TWClassic, I did this:
>>http://www.TiddlyTools.com/#UndoPlugin
>> maybe it will spark some ideas for TW5.
>>
> --
> 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/aeb6a7ae-8676-4ae0-aa95-25d2b2cbbe16%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/56635753.7030801%40gmail.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/CALc1hYfH4L-M3TgqTegzv_L1t07LRtQCKWOYrsq3TUWmJ2qDVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] TiddlyDesktop v0.0.7 Link Javascript error

2015-12-05 Thread CL
Hi.

I am using TiddlyDesktop v0.0.7 running under 64bits Windows 10.
I noticed that external website link does not open my default web browser 
anymore.
Instead, the website is opend in TiddlyDesktop window.
I also get javascript error as well when I click the link.

Uncaught ReferenceError: gui is not defined

This is the error message I've got.
I am not sure if it's just me. Does anyone else get this error?

-- 
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/d478a8c9-e651-42a6-bde8-c3b2abf48b0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread PMario
On Saturday, December 5, 2015 at 8:10:48 AM UTC+1, Matabele wrote:
>
> 'Versioning' of individual tiddlers -- an interesting idea not currently 
> covered in TW5 -- would be useful for writing. Wondered if anyone has any 
> ideas as to how this could be implemented?
>

If we want real versioning we should use real tools that are specifically 
designed to be used for versioning. 

Using the "WikiFolder" feature with the upcoming TiddlyDesktop will lower 
the barrier to create "single tiddler" editions. Tiddlers are stored as 
single files. .. This behaviour will make it super simple to use any 
specialised versionig system that we like. (github, gitlab, bitbucket, .. 
you name it)

 - All those systems are specialised in providing a platform for public and 
private content.
 - All those systems provide a platform that allows massive multi user 
contributions, if needed.  
 - Discussion / issue boards come for free. 
 - Ideas / contributions from other users are easy to include in a very 
democratic way. 
 - Chat rooms come for free. see: gitter.im
 - TiddlyWiki single file hosting comes for free. 
 - Automatic building systems come for free. (So pushing to the repo 
automatically creates all the needed files)
 - ...

Everything I named here already works out of the box. No new development 
needed. Including all this stuff in to TW imo is a nightmare. TW may be 
able to provide some very basic "in file" versioning, which in return, will 
bloat the file. .. I'm thinking about users, that will use the system to 
version images. or even worse videos. 

I know, there is some learning of "new tools" involved. But there are also 
big companies behind those products, with many developers assigned to this 
one specific task. Making versioning easy. We basically have one developer 
for many tasks ;)

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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e2201214-4671-4325-b5fe-1b84b18b85c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread Matabele
Hi PMario

I agree -- Github would be my choice (looking forward to the new 
TiddlyDesktop for this.)

 What I had in mind are easy mechanisms (preferably from within TW5) to do 
things like:
- revert a single tiddler to a previous version (useful for authors)
- recover a deleted tiddler 

The intention would not be to duplicate a versioning system, but rather to 
provide a UI from within TW5. Any ideas?

regards

On Saturday, 5 December 2015 14:57:40 UTC+2, PMario wrote:
>
> If we want real versioning we should use real tools that are specifically 
> designed to be used for versioning. 
>
>

-- 
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/b053e448-d922-4715-bfa7-cfc852319506%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: rendering abcjs music notation in tiddlywiki

2015-12-05 Thread vpl
Hi BJ,

This is exactly what I was looking for.
How did you do that ?
On my side I was blocked at the following stage 
I'm not a plugin expert and much more confortable at the moment with the 
macro option (at least I can make running a small one..)
It seems that you developed a plugin to solve that ?
Will appreciate any description as I need to use this capabilities now and 
would like to understand how it is integrated with tiddlyWiki

Regards



What I've done
- copy the abcjs_basic_latest-min.js file in the same directory as my 
tiddlywiki
- created a "abcjs_basic_latest-min.js" tiddler, tagged with 
$:/tags/RawMarkup and containing

- created a tiddly called "$:/inmysocks/macros/render-abc.js" 
   - of type application/javascript 
   - with an attribute module-type called macro
   - containing
/*
Run the macro
*/
exports.run = function(music) {
//Make each date object.
var result;
result = ABCJS.renderAbc('notation', music);

//result = 'ABC';
return result;

- created a test-abc tiddler containing
<>

- the macro is running in the sense that when I comment the result = 
ABCJS.renderAbc ... and uncomment the result = 'ABC' I get the ABC display
- But when I do the reverse I don't have anything displayed.

The Dev tools does nott give me any error ...

I've also tried to copy paste the full content of abcjs_basic_latest-min.js 
file into bcjs_basic_latest-min.js tiddler. 
  In this case, when I close and re-open tiddlyWiki I get the content of 
the .js displayed just below the getting-start tiddler ...

---


Le vendredi 4 décembre 2015 19:29:57 UTC+1, BJ a écrit :
>
> Hi vpl,
> I have put a widget together that could be used as a starting point:
>
> http://abcmusic.tiddlyspot.com/
>
> view it in ff (chrome won't load the lib from github)
>
> Feel free to use this if you want to develop abc as a plugin, if you don't 
> then maybe I will push it forward a bit more.
>
> cheers
> BJ
>
> On Friday, December 4, 2015 at 9:10:11 AM UTC, vpl wrote:
>>
>> Hi,
>>
>> I'm trying to render abcjs music notation in tiddlywiki
>> Bopland.org is closed now and Vexflow licensing model is not adapted.
>> abcjs (http://abcjs.net/) looks very interesting and maintained.
>>
>> Looking at other thread I understand that 
>>  - I have to create a tiddler containing the abcjs_basic_latest-min.js 
>> content (available here 
>> https://raw.githubusercontent.com/paulrosen/abcjs/master/bin/abcjs_basic_2.2-min.js
>> )
>>  - tag it with systemConfig
>>
>> Then I block as I don't understand how to render the music content using 
>> abcjs
>>
>> I've tested on a html page the following code and it works
>>
>> 
>> 
>> 
>> 
>> abcjs basic demo
>> 
>> 
>> 
>> abcjs basic demo page
>> 
>>
>> 
>> var chorus = '%%staffwidth 500\nX: 1\nT: Chorus\nV: T1 clef=treble 
>> name="Soprano"\nV: T2 clef=treble name="Alto"\nV: B1 clef=bass 
>> name="Tenor"\nV: B2 clef=bass name="Bass"\nL:1/8\nK:G\nP:First Part\n[V: 
>> T1]"C"ed"Am"ed "F"cd"G7"gf |\n[V: T2]GGAA- A2BB |\n[V: B1]C3D- DF,3 |\n[V: 
>> B2]C,2A,,2 F,,2G,,2 |';
>> 
>>
>> 
>> 
>> ABCJS.renderAbc('notation', chorus);
>> 
>> 
>>
>> 
>> 
>>
>>
>> As you see, abcjs renders the content using ABCJS.renderAbc(). 
>> But we have to pass to this method a string content (in our case a 
>> javascript variable) representing the music I want to render.
>>
>>
>> Could somebody help me here, 
>> I'm block on tiddly and need an expert to unlock me ..
>>
>> With regards
>>
>> Vpl
>>
>

-- 
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/e67acad2-b17e-4d41-926e-e314469b681e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Announcing TiddlyDesktop v0.0.7

2015-12-05 Thread Jeremy Ruston
I’m please to announce the release of TiddlyDesktop v0.0.7 for Windows, Mac and 
Linux.

* Experimental support for "wiki folders" (the Node.js format for TiddlyWiki, 
where each tiddler is a separate file), including the ability to serve wiki 
folders over HTTP so that you can use any browser or device to access them
* Switched from representing wikis as thumbnails to favicons
* New system tray/menu icon for quick access to TiddlyDesktop
* Fixed problem with restarting after quitting with minimised windows on 
Windows (#77)
* Added TiddlyDesktop version number to "Help" window

Note: Upgrading to this release will clear your list of loaded wiki files. The 
files themselves are not affected; you can re-add them by dragging and dropping 
them into the wiki list window.

It’s worth stressing that the support for wiki folders has some limitations, 
and may not be suitable for all users at this point. This release has given me 
a chance to figure out some of the issues with moving to a multiprocess 
architecture (which is necessary to support multiple Node.js wikis); I’ll post 
separately about my thoughts for future development.

Download the new release here:

https://github.com/Jermolene/TiddlyDesktop/releases 


As ever, please remember the first rule of TiddlyWiki, and take very, very 
careful backups.

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/15A7A486-0B0E-4B20-A720-016639CE50D6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread Eric Shulman
On Saturday, December 5, 2015 at 6:06:33 AM UTC-8, Matabele wrote:
>
>  What I had in mind are easy mechanisms (preferably from within TW5) to do 
> things like:
> - revert a single tiddler to a previous version (useful for authors)
> - recover a deleted tiddler 
> The intention would not be to duplicate a versioning system, but rather to 
> provide a UI from within TW5. Any ideas?
>

For TWClassic, I did this:
   http://www.TiddlyTools.com/#UndoPlugin
maybe it will spark some ideas for TW5. 

The TiddlyTools Classic UndoPlugin maintains a "stack" of changes to 
tiddlers.  Every time a tiddler is edited or deleted, the previous tiddler 
definition is pushed onto the undo stack.  UndoPlugin provides a popup menu 
that displays the stack, most recent changes first.  Selecting an item from 
the stack restores all the saved tiddlers back to that point, effectively 
reverting any changes (or deletions) you made after then.

Note that the undo stack items are stored in memory, but are not written 
into tiddler, and are not saved with the document.  It is *only* intended 
to provide in-session persistence of changed data during the current 
browser session.  When you exit the session, the undo stack is discarded.  

enjoy,
-e

-- 
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/298ea43f-6f71-444a-80d5-52d02bee1388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread Matabele
Hi Eric

Yes -- that is the sort of thing I had in mind. However, the undo 
functionality needs to persist over a save/re-open cycle to be useful for 
authors. Perhaps a combination of an undo function for the current session, 
and a versioning system (such as Github) for saved tiddler content between 
sessions would suffice, although it would be nice to have a UI within TW to 
revert to tiddler versions from previous sessions.

regards

On Saturday, 5 December 2015 21:28:46 UTC+2, Eric Shulman wrote:
>
> For TWClassic, I did this:
>http://www.TiddlyTools.com/#UndoPlugin
> maybe it will spark some ideas for TW5. 
>

-- 
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/aeb6a7ae-8676-4ae0-aa95-25d2b2cbbe16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Tidgraph question

2015-12-05 Thread Pit.W.

Hi All, Tobias, ihm4u,

I couldnt answer earlier, Ive been travelling.

Thank you for the massive support! These curly brackets scare me out of 
my shoes :)


Both versions work fine, both {{!!title}} and <>. Huge 
progress for my project. And lots of other ideas for additional applications


Indeed a root tiddler without children is shown as a single box. The 
question of a non-existant start tiddler does not appear in my 
situation, since the conditional template (the footer) by definition 
refers to an existing tiddler.


I have the honor to remain Your most obediant servant,

Pit

Am 15.11.2015 um 23:19 schrieb ih...@newsfromgod.com:

Hi Tobias, Pit.W


Try...

<$list filter="[all[current]tagging[]limit[1]]">
<$tidgraph start=<>/>



Maybe
<$tidgraph start={{!!title}} />

is better and simpler, what do you think?


@ihm, when the root tiddler has no children,
the tidgraph widget probably should not output anything (empty 
dropshadow).

What do you think?


Well, if the root tiddler has no children then it should show the 
graph with one node, the root tiddler. That should be happening 
already, let me know if it is not.


Maybe the question is more what to do if the start tiddler does not 
exist, right now it graphs an  'undefined'  node. I think it is better 
for it  not output anything like you said.


I will add that asap.

BTW, I am making great progress on node templates, beta release coming 
soon!!


thanks!!

ihm





--
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/56631BCB.8000405%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to resolve a (currentTiddler) variable when in use as a parameter for a js macro?

2015-12-05 Thread NT


Am Samstag, 5. Dezember 2015 00:47:03 UTC+1 schrieb BJ:
>
> HI NT, try this:
>
>  <$macrocall $name="pathtype" filename="<>"/>
>
> all the best
> BJ
>

Hey BJ, thanks for suggestions!

OK, this works partly, but I spotted a strange behavior.
If I just return the filename inside the js function your solution works 
fine and the currentTiddler variable is resolved to it's value.

But if I want to return something from the js function like 

"[img[" + path + filename + ".jpg" + "]]" 
(the variable concatenated inside a string)

the result is something like 

[img[./path/<>.jpg]]

so again the variable is not resolved.
Seems I have to change something inside the js function or the way I return 
it.
Can you tell me what or how 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/f213-9b87-474f-9857-e1b33775bb25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to resolve a (currentTiddler) variable when in use as a parameter for a js macro?

2015-12-05 Thread Eric Shulman
On Saturday, December 5, 2015 at 3:44:25 AM UTC-8, NT wrote:
>
> Am Samstag, 5. Dezember 2015 00:47:03 UTC+1 schrieb BJ:
>>
>>  <$macrocall $name="pathtype" filename="<>"/>
>>
>> the result is something like 
> [img[./path/<>.jpg]]
> so again the variable is not resolved.
> Seems I have to change something inside the js function or the way I 
> return it.
>

The syntax for widget parameters support the following general use-cases:
   foo="literal string"
   foo=<>
   foo={{TiddlerName!!fieldname}}
   foo={{DataTiddlerName##index}}

In your example, you have quotes around "<>", which makes 
it a literal text string, rather than getting it's current value.  Remove 
the quotes around "<>" and it should work.

enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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/7bd3a8ba-96e6-4ae6-81e4-15ae5bae4f20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: make action work in view mode and edit mode

2015-12-05 Thread Erwan


To anyone interested in the original problem I described: I think I 
found a way to make my button work in both view mode and edit mode. 
Instead of saving the new field value to the draft and non-draft version 
of the tiddler, I modified $:/core/ui/Buttons/save (the save-tiddler 
button) so that it would save the draft version but keep the non-draft 
version of the field. this is done with two action widgets, one for 
saving the draft and the other to set the field back to its original value:


<$set name="draftTitle" value=<>>
  <$list filter=<>>
<$set name="status" value={{!!task-status}}>
  <$button tooltip={{$:/language/Buttons/Save/Hint}} 
aria-label={{$:/language/Buttons/Save/Caption}} 
class=<>>


[regular button content here]

<$action-sendmessage $message="tm-save-tiddler" 
$param=<>/>

<$action-setfield task-status=<>/>
  

  


my explanation might not be very clear... don't hesitate to ask me.

Erwan



On 01/12/15 12:36, Tobias Beer wrote:

Hi Erwan,

do you know if it is possible (and how) to make that work with a
checkbox widget and a select widget, instead of a button?


The current approach is to store the selected option at a state / 
temporary tiddler

and then use another button widget to actually perform the action.

So, I'm afraid to directly execute the desired action on multiple tiddlers
is not possible today, since non-button-control-widgets are only bound 
to a single tiddler.
Technically it's quite doable to bind any of these control widgets to 
a *filter*, instead.

*@Jeremy*, would you find this useful? I think it would be,
especially for some utility tool that would batch-modify a bunch of 
tids no matter which control is used.


Best wishes,

Tobias.
--
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/220a8edd-adb0-4bd4-829d-9d3488e2ef00%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/56638373.1010007%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using a variable to extract a sentence from a DataTiddler

2015-12-05 Thread ParisWiki
Thank you Matabele,

It works perfectly with

<$transclude tiddler={{!!mydata}} index={{MySettings!!language}} 
mode="block"/>

(remark: when using tiddler=<> as per your second exemple, I got a 
transclusion error)

Thanks again,

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/7fee7779-92a3-4a38-90ee-94af98e79950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TiddlyWiki Hangout #92 is about to start

2015-12-05 Thread Erwan


Hi Matabele,

I remember thinking about doing something similar but very basic in pure 
TW (because I don't know better!).


It was more a backup system for individual tiddlers actually, not a 
proper versioning system: the idea was to redefine the save and delete 
buttons so that the previous version of the tiddler is saved as a system 
tiddler, for instance under the tittle 
$:/tiddlers-backup/my-tiddler/revision-no. The tags field would have to 
be renamed as "tags.bak", because the backup tiddlers should not appear 
in the drop down list of tags pills, and system tags should not be 
activated. There could be options to select the tiddlers to backup, the 
number of versions to store, delete any backup...


This idea might or might not be relevant... I mention it just in case it 
inspires anyone!


Regards
Erwan



On 05/12/15 19:46, Matabele wrote:

Hi Eric

Yes -- that is the sort of thing I had in mind. However, the undo 
functionality needs to persist over a save/re-open cycle to be useful 
for authors. Perhaps a combination of an undo function for the current 
session, and a versioning system (such as Github) for saved tiddler 
content between sessions would suffice, although it would be nice to 
have a UI within TW to revert to tiddler versions from previous sessions.


regards

On Saturday, 5 December 2015 21:28:46 UTC+2, Eric Shulman wrote:

For TWClassic, I did this:
http://www.TiddlyTools.com/#UndoPlugin

maybe it will spark some ideas for TW5.

--
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/aeb6a7ae-8676-4ae0-aa95-25d2b2cbbe16%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/56635753.7030801%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: make action work in view mode and edit mode

2015-12-05 Thread Erwan


Hi Tobias,

sorry for the delay and thanks for the comments. I opened an issue: 
https://github.com/Jermolene/TiddlyWiki5/issues/2108


Erwan


On 02/12/15 15:09, Tobias Beer wrote:

Hi Erwan,

What do you think? Should I open a new issue on github about that?


I think it's worth discussing in the context of an issue,
although perhaps not too pressing at the moment.
However, the more there is server-talky-talky coming up in the future,
the more important will be consistent and reliable handling of drafts
and changes to the store while "away" or otherwise occupied doing 
something else,

which turned out affecting the thing you initially went to edit
with the results you just described.

Eventually, although possible, leaving draft's open while doing other 
things

that even affect the draft doesn't seem like a good workflow.

Best wishes,

Tobias.
--
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/bfa4ea4f-6ecd-4d3a-bbb5-d457511e21a3%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/5663515F.8000400%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] mathjs insertBefore error when using list widget

2015-12-05 Thread Brian Theado
I'm trying to create a button which creates a new tiddler with a field
value one larger than the previous max value in that field. I'm using the
mathjs plugin and also plan to use the domtext macro to feed the value into
the sendmessage widget call.

My code is using the element hierarchy p->$list->$calc.  The 'p' is there
so I can eventually use the domtext macro.

But I'm not there yet because when I click my button, I get this error:

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The
node before which the new node is to be inserted is not a child of this
node.

Here is my code:


<$list filter="[has[binindex]!nsort[binindex]limit[10]]"/>



  <$list filter="[has[binindex]!nsort[binindex]limit[1]]" emptyMessage="0">
<$calc>{{!!binindex}}+1
  



<$button>
  <$action-sendmessage $message="tm-new-tiddler"  binindex="15"
text="test"/>
  New



Paste this code into a new tiddler at
http://mklauber.github.io/tiddly-mathjs/latest.html and click the "New"
button and the above error should result.

I looked into it a little and couldn't tell if the listwidget is at fault
for passing a wrong nextSibling to the calc widget or if the calc widget
somehow did something wrong to cause the listwidget to calculate a wrong
nextSibling. Anyone have any ideas?


As a workaround, I tried to replace the listwidget with a set widget. This
prevented the error, but now I'm having a refresh issue. Every time I click
the 'new' button, the same value is reused for binindex until I force the
entire tiddler containing this code to be refreshed by closing and
reopening.


<$list filter="0 [get[binindex]] +[!nsort[]limit[10]]"/>



  <$set filter="0 [get[binindex]] +[!nsort[]limit[1]]" name="maxindex">
<$calc><>+1
  



<$button>
  <$action-sendmessage $message="tm-new-tiddler"  binindex=<> text="test"/>
  New



Paste the above code into a new tiddler at
http://tobibeer.github.io/tw5-plugins and click the new button multiple
times. The $list widget at the top of the tiddler changes each time I hit
the 'new' button, but $calc value doesn't change until I close and re-open
the tiddler. And since the $calc value didn't change, each new tiddler gets
the same binindex value.

Brian

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


[tw] Re: mathjs insertBefore error when using list widget

2015-12-05 Thread Brian Theado
I looked more into this and think it is an issue with the mathjs calc
widget. I have opened an issue at
https://github.com/mklauber/tiddly-mathjs/issues/5 and described the
small calc widget fix which solves the issue for me.

On Sat, Dec 5, 2015 at 3:09 PM, Brian Theado  wrote:
> I looked into it a little and couldn't tell if the listwidget is at fault for 
> passing a wrong nextSibling
> to the calc widget or if the calc widget somehow did something wrong to cause 
> the listwidget
> to calculate a wrong nextSibling. Anyone 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/CAO5X8CzSDuEt7LnB35V3Q_c3ncD8%3D07Rqd9UgTURweZctSYLmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.