[tw] How to prevent TW5 to send (false) signal to the browser ?

2016-01-31 Thread ParisWiki
Hello,

I intend to use a read-only TW5 for non techies users with a quizz  the 
answers of which  are sent by mail to me (via the  Formspree platform,  
https://formspree.io/).

But TW5 is too zealous in that case and browsers (Chrome and Firefox at 
least) alert the reader that closing the windows without saving the wiki 
may inccur loss of data.

I am guessing that this alert is triggered by TW. If  this is the case, how 
can I prevent such a message in a read only wiki ?

Thank you,

JCG 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/89aae67e-735b-4d04-a5aa-973d3dd3aedb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Matabele
Hi Mat

In my environment, those dropdowns have remained the original silver, and 
don't respond to theme colour settings. I don't know which setting is 
supposed to apply, and I can't see the color :-/

I'll have to style them separately -- I think they need widening and 
shortening in any case. The colour scheme is becoming bit of a mess now as 
my emoji have been fiddling with the settings without really knowing what 
they're doing :-)

regards

On Sunday, 31 January 2016 20:14:21 UTC+2, Mat wrote:
>
> Turning into a very colorful project! Great work!
>
> A detail, the emoji dropdown from clicking the tagpill has a coloring so 
> you can't really see the emojis unless you hover.
>
> <:-)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/77428a4e-b08e-4030-b49a-ff81c3a52b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Eric Shulman
On Sunday, January 31, 2016 at 9:11:21 AM UTC-8, Scott Simmons (Secret-HQ) 
wrote:
>
> On Sunday, January 31, 2016 at 1:25:50 AM UTC-5, Eric Shulman wrote:
>
> Have you tried:
>> \define trans() {{||$(x)$}}
>> <$list filter="[my[filter]]" variable="x"><>
>> * using variable="x" prevents the $list widget from changing the current 
>> tiddler context.
>> * the trans() macro assembles the transclusion syntax using the current 
>> value of "x"
>>
>
> I had hoped to avoid macros altogether (one less thing to remember about 
> an exceptional case if I transclude newhere buttons from time to time in 
> the future) — but that's a dead-brilliant workaround.  I *had* considered 
> using Tobias's <$setvars> to build newhere buttons on the fly in a macro, 
> but your answer is *so much* more elegant.
>
>  
>
>> Note: I thought that the <$transclude> widget had params for both 
>> tiddler="..." and template="...", so that template transclusion using 
>> variable params could be done without needing a macro to assemble the 
>> {{tiddler||template}} syntax... but it doesn't seem to be the case.
>>
>
> There doesn't seem to be a "template" parameter — although it seems to 
> have been proposed a few times, given the number of times it crops up in 
> the archives of this Group.
>
> According to TiddlyWiki.com 
>  (and the thread here 
> ),
>  
> I'd expect you to be able to use:
>
> <$tiddler tiddler=<> ><$transclude tiddler="MyButton" 
> />
> ... as the long-form version of {{||MyButton}}.
>
That works if you write it into a tiddler on its own, so perhaps there's 
> something about <$list> widget that throws a spanner into <$tiddler>?
>

<$tiddler tiddler=<>> basically does nothing, since 
<> IS the current tiddler, the widget is setting the 
tiddler value to the *same* name and the behavior of the inner content (the 
$transclude) is not affected and still just performs a "simple" 
transclusion, rather than the template transclusion" that you want.

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/853bb2d6-e425-4486-9433-530c6b1475a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Simple tagging utility

2016-01-31 Thread Alex Hough
wow! Now there's a surprise!



Alex

On Sunday, 31 January 2016, Mat  wrote:

> This is what I see in  Chrome on my Mac (FF is similar):
>
> What OS are you using? Not that I know what to make with the answer, but
> anyway.
>
>
>  -- do I go dark or light?
>>
>
> Not sure I understand the question. In my Chrome, the emojis inside the
> tags appear white and the ones in the dropdown list have turned bluish so
> they blend with the gray background. Other colors appear as they should.
> (Who knows, maybe it is related to issue #643
> ?)
>
> <:-)
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com
> 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/01c00ade-7f29-462b-92b1-55aa2f4d5bfa%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALc1hYf%3DgutOScU8bat1hsz2muEUV9M1Q74hE7DgrYNG1rNojg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Scott Simmons (Secret-HQ)
Sweet!  And no macro to remember (though I do have to remember to include 
the somewhat extraneous-seeming variable).
 

> <$list filter="[get[those_buttons]]" variable="button">
> <$transclude tiddler=
> 
>

I had a test case/demo I hadn't gotten around to sharing, but it's here in 
case anyone comes through and wants to see — now updated with the solution:

http://tiddlywiki.secret-hq.com/testing/TemplateTransclusionInListMacro.html

—

This is *NOT* a bug — right?  Just an edge case where how parameters get 
wikified plays a bigger role.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0946741a-dcdb-4e38-81c9-f4943d4a1ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to prevent TW5 to send (false) signal to the browser ?

2016-01-31 Thread ParisWiki
Thank you so much Eric !

Best,

JCG

Le dimanche 31 janvier 2016 20:28:44 UTC+1, Eric Shulman a écrit :
>
> On Sunday, January 31, 2016 at 10:57:45 AM UTC-8, Jed Carty wrote:
>>
>> The easiest way to prevent that is to make your wiki use put all state 
>> data in tiddlers with titles prefixed with '$:/state/' or '$:/temp/'.
>> I am sure there is a way to turn off the notification but I don't know 
>> what it is and if you can change use the tiddler naming convention it would 
>> be better.
>>
>>
> The system tiddler you want is:
>
>$:/config/SaverFilter
>
> The default contents are:
>
> [all[]] -$:/HistoryList -$:/StoryList -$:/Import -$:/isEncrypted 
> -$:/UploadName -[prefix[$:/state/]] -[prefix[$:/temp/]]
>
> and defines a filter that produces the list of tiddler that are to be 
> checked for changes.  The filter starts with "[all[]]", which includes all 
> *real* tiddlers (i.e., not shadows).  It then excludes specific named 
> tiddlers and tiddlers that start with special names like $:/state/ and 
> $:/temp/.
>
> Anything tiddlers excluded from list will NOT cause the document to be 
> considered 'dirty', even if the content of those tiddler have changed.
>
> To exclude your own tiddlers, simply add more filter runs to the end. 
>  Make sure to use the "-" prefix so that your matching tiddlers are removed 
> from the list, instead of being added.
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a8769ca-c4f3-4081-a9f5-854f48e55f9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Article about rediscovering TiddlyWiki

2016-01-31 Thread Mat
Great stuff!

TW deserves to be discovered by the millions.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/640eea5f-bce7-4308-bb84-42d6e9fe8d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Matabele
Hi

My emoji have gone crazy  -- they've 
been playing with my colour scheme while I wasn't watching :-)
-- no changes to the utility
-- improvements to make the selection of emoji to create a package of emoji 
tiddlers a little easier
-- new ideas on pinning tiddlers in the sidebar using emoji


regards

On Tuesday, 19 January 2016 14:55:32 UTC+2, Matabele wrote:
>
> Hi
>
> Playing around with the ActionListops widget, and came up with a simple 
> utility for editing tags , which I 
> thought might be of use:
> -- Have you ever wanted to quickly add a tag from the view template rather 
> than entering edit mode?
> -- this utility opens with the info button (available as a tab)
> -- may be instlalled above the tabs by overwriting the system tiddler (as 
> in the demo wiki)
> -- multiple tags may be added in one go
> -- existing tags may be deleted with a click
> -- button to delete all tags
> -- fetch the current tags for editing
> -- or fetch the tags from one tiddler
> -- and tag other tiddlers with the same tags
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3448485c-b0ef-4d21-987a-dc920a7dff1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread HansWobbe
Let me start by saying that Matabele's explanation is a good expansion of 
what I was starting to express. I believe this is a relatively large topic 
that may be "slippery" to grasp, but I have found it to be worth the 
struggle.

With respect to the reference to "vectors", it may be easier to consider 
the individual sequences of tags to "dimensions", each increment of which 
is named (or represented) is an arbitrary character.  In Matabele's 
example: 32 weeks, 5 days, ...   I have simple recognized that ...

* There are 26 letters in our alphabet x 2 ( assuming case sensitivity) = 
52 distinct symbols A-z.  I use these to "name" the weeks.  To ensure that 
I have unique names for each week, I simply pick a unicode range that has a 
different set of code points of these apparently similar 52 symbols.  Then, 
its very easy to create a field of these 52 symbols that cycleTags lets be 
increment to move items from one week to the next.  Obviously another field 
can have these symbols in reverse order, to decrement the values via 
cycleTags.

* In a hierarchical context (for "zoom" purposes), I often use a set of 
symbols for different levels of encapsulation.  
** e.g. Millennium, Century, Decade, Year, Quarter, Month, Fortnight, Week, 
Day, Hour
*** In this case I find it easiest to make use of the Chinese characters 
fpr Day Week (telegraphy) Month, (astronomical) Year since they are easily 
recognized, single characters that can even be used as leading or trailing 
sigils, in either the tiddler name or the tag value.

I have worked at this long enough and explained it to to enough groups that 
I know thus can be a bit hard to grasp.  Since it seems to come up 
frequently throughout my activities, I'll try to put together a minimal 
explanation in a TwFive file.  Unfortunately, that won't happen quickly 
since I am fully pre-occupied building a new house, in a new city and 
disposing of the current home until late spring.

I should, however, have time to participate in further in these 
discussions. 


On Sunday, January 31, 2016 at 5:35:06 AM UTC-5, Tobias Beer wrote:
>
> Hi Matabele, Mat, Hans,
>
> I think I'm getting there, in how this helps encode things to short and 
> sweet identifiers, and can actually be understood as a, dunno, 
> pseudo-vector. I'm not sure I would call each radixed chunk a vector 
> though... since they hardly have meaning other than representing buckets to 
> encode ...well, symbols ...based on a predefined table / list(s), I presume.
>
> I'm also not sure on the practicality of using this... for emojis. What 
> would be the benefit over a simple enumeration? Or, perhaps asked 
> differently, what do those "vectors" represent in your view?
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e80c13fc-a028-4c3e-a30f-062edb3d95c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Date stamp - any method to do this in mid text?

2016-01-31 Thread Mat
Tobias, both of your codes in #2258 
 cause problems when 
the text has a quotation mark at end, i.e when typing e.g:

anything like this "

(disregard the coloration)

I'm guessing the quotation mark in the text is interpreted as some end or 
start of something in the code.

Is there any way to prevent this?

Thanks!

BTW, if anyone is curious, I'm using Tobias' little creation in this 
 tiddler.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd80e021-7f11-4b78-b29b-925dade95e87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to prevent TW5 to send (false) signal to the browser ?

2016-01-31 Thread Eric Shulman
On Sunday, January 31, 2016 at 10:57:45 AM UTC-8, Jed Carty wrote:
>
> The easiest way to prevent that is to make your wiki use put all state 
> data in tiddlers with titles prefixed with '$:/state/' or '$:/temp/'.
> I am sure there is a way to turn off the notification but I don't know 
> what it is and if you can change use the tiddler naming convention it would 
> be better.
>
>
The system tiddler you want is:

   $:/config/SaverFilter

The default contents are:

[all[]] -$:/HistoryList -$:/StoryList -$:/Import -$:/isEncrypted 
-$:/UploadName -[prefix[$:/state/]] -[prefix[$:/temp/]]

and defines a filter that produces the list of tiddler that are to be 
checked for changes.  The filter starts with "[all[]]", which includes all 
*real* tiddlers (i.e., not shadows).  It then excludes specific named 
tiddlers and tiddlers that start with special names like $:/state/ and 
$:/temp/.

Anything tiddlers excluded from list will NOT cause the document to be 
considered 'dirty', even if the content of those tiddler have changed.

To exclude your own tiddlers, simply add more filter runs to the end.  Make 
sure to use the "-" prefix so that your matching tiddlers are removed from 
the list, instead of being added.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/926a0cc5-9aa7-4e41-a9af-5372d1cd7e4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Matabele
Hi Mat

This is what I see in  Chrome on my Mac (FF is similar):



That colour on your Chrome is difficult -- do I go dark or light?

regards

On Sunday, 31 January 2016 21:12:55 UTC+2, Mat wrote:
>
> Hm, I checked again and discovered the following. Top is in FF, lower in 
> Chrome. Win10.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/db7aaf62-c312-4be6-9ecd-7afd22ac36be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Mat
This is what I see in  Chrome on my Mac (FF is similar):

What OS are you using? Not that I know what to make with the answer, but 
anyway.


 -- do I go dark or light?
>

Not sure I understand the question. In my Chrome, the emojis inside the 
tags appear white and the ones in the dropdown list have turned bluish so 
they blend with the gray background. Other colors appear as they should. 
(Who knows, maybe it is related to issue #643 
?)

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01c00ade-7f29-462b-92b1-55aa2f4d5bfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Eric Shulman
On Sunday, January 31, 2016 at 11:53:57 AM UTC-8, Tobias Beer wrote:
>
> I'm not sure I follow. Please, consider the case of these two tiddlers:
>
> title: Bar
> foo: no
>
> {{!!foo}}
>
> title: Foo
> foo: yes
>
> <$transclude tiddler="Bar"/>
>
> As expected, the tiddler *Foo *shows "yes"... and I am rather positive 
> that any transcluded button is rendered in the context of whatever 
> currentTiddler is, within a list widget.
>

You are correct.  I was mistaken.  My error was due to the fact that the 
<$tiddler> widget param name is actually naming the *template* to render, 
and does not set the currentTiddler, so the transcluding tiddler remains in 
context.  Thus, <$transclude tiddler="foo"> should be equivalent to 
{{||foo}}.  Thus, there is no need for the "trans()" macro I suggested in a 
previous post, though the use of variable="..." in the $list widget is 
still needed to avoid stepping on the currentTiddler context, and your 
suggested syntax is the cleanest:

<$list filter="[get[those_buttons]]" variable="button">
<$transclude tiddler=


-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ce64412a-f6a8-457d-a127-42b72cb43d6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Feedback for TiddlyClip

2016-01-31 Thread Julio Cantarero
Hi BJ,

Thank you very much for the TiddlyClip TW5 plugin and FF addon. I use them 
very often to capture news to my TW when browsing around.

Since you were also asking about particular uses, I also tried a few months 
ago to use TW5 + TiddlyClip to create a web notebook for studying 
vocabulary of foreign languages. The goal was to easily create new 
vocabulary entries in a TW5 thanks to TiddlyClip, and then use other TW5 
features to treat these entries as flashcards to support studying them. I 
didn't get to finish it, but I found TiddlyClip was very flexible. I was 
even capable of creating new tiddlers and renaming them, as well as create 
and delete tiddler fields (I have uploaded a copy of the latest status 
here: http://juliocantarero.github.io/TW5-LanguageStudyNotebook/ . It is 
not fully working though)

Regarding suggestions, I would have never dared, but since you asked :-)

   - In the documentation, it took me a while to realize that there are 
   tags and modes settings (table columns) both at Category (operation) and 
   Rule level. Modes at Category level are BrowserConfigModes, which is 
   different than Rule modes.
   - I tried to transclude a tiddler in the tags column at Category level, 
   using {{TiddlerName}} but it did not work. I think I read somewhere in the 
   plugin documentation that the {{ }} option should work. It works in the 
   body column. The purpose of this was to be able to tag clips from different 
   sessions with different identifiers, like lesson N or subjects, etc.
   - And if I may: I guess there is a reason for it, but I found that the 
   syntax of the substitution expressions and macros was complex and rigid. I 
   guess I was stretching the use of TiddlyClip, or missed an easiest way to 
   collect information in multiple passes from a web page. The only option I 
   could think of to pass structured information to TW5 (I mean a vocabulary 
   entry with term, definition, examples, pronuntiation, etc.) was tiddler 
   fields.
   
Regards,

Julio

El martes, 26 de enero de 2016, 16:19:16 (UTC+1), BJ escribió:
>
> Hi all,
> I am working on necessary changes to tiddlyclip in order support future 
> versions of firefox. As I am current focused on tiddlyclip, this would be a 
> good time to let me know of anything that you think could be improved or 
> added to tiddlyclip or its documentation, or maybe you have a particular 
> use or setup to share that could be added to tiddlyclip's website?
>
> all the best
>
> BJ
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0c27c62d-2b2a-43ae-97c5-fa5cc0950343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Tobias Beer
By the way Scott,

Pplease pay attention to the terms (perhaps revisit the docs)
*<$list>* and *<$setvars/>* are widgets, not macros. :-)

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5798faec-4b0a-4107-af8a-15a9eb1271d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to prevent TW5 to send (false) signal to the browser ?

2016-01-31 Thread Jed Carty
The easiest way to prevent that is to make your wiki use put all state data 
in tiddlers with titles prefixed with '$:/state/' or '$:/temp/'.
I am sure there is a way to turn off the notification but I don't know what 
it is and if you can change use the tiddler naming convention it would be 
better.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d3a2be21-51eb-4205-a380-f3f6dfa30f81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Tobias Beer
Hi Eric,

I'm not sure I follow. Please, consider the case of these two tiddlers:

title: Bar
foo: no

{{!!foo}}

title: Foo
foo: yes

<$transclude tiddler="Bar"/>

As expected, the tiddler *Foo *shows "yes"... and I am rather positive that 
any transcluded button is rendered in the context of whatever 
currentTiddler is, within a list widget.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48ed4a93-46c6-423d-a1dc-4d710ef873fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Mat
Turning into a very colorful project! Great work!

A detail, the emoji dropdown from clicking the tagpill has a coloring so 
you can't really see the emojis unless you hover.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf43302d-4b8c-4b0f-9f30-3654bca6fd1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Mat


Hm, I checked again and discovered the following. Top is in FF, lower in 
Chrome. Win10.







-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aab4d6ea-661f-46cc-9d94-ddbe0d503f69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Scott Simmons (Secret-HQ)
On Sunday, January 31, 2016 at 1:25:50 AM UTC-5, Eric Shulman wrote:

Have you tried:
> \define trans() {{||$(x)$}}
> <$list filter="[my[filter]]" variable="x"><>
> * using variable="x" prevents the $list widget from changing the current 
> tiddler context.
> * the trans() macro assembles the transclusion syntax using the current 
> value of "x"
>

I had hoped to avoid macros altogether (one less thing to remember about an 
exceptional case if I transclude newhere buttons from time to time in the 
future) — but that's a dead-brilliant workaround.  I *had* considered using 
Tobias's <$setvars> to build newhere buttons on the fly in a macro, but 
your answer is *so much* more elegant.

 

> Note: I thought that the <$transclude> widget had params for both 
> tiddler="..." and template="...", so that template transclusion using 
> variable params could be done without needing a macro to assemble the 
> {{tiddler||template}} syntax... but it doesn't seem to be the case.
>

There doesn't seem to be a "template" parameter — although it seems to have 
been proposed a few times, given the number of times it crops up in the 
archives of this Group.

According to TiddlyWiki.com 
 (and the thread here 
),
 
I'd expect you to be able to use:

<$tiddler tiddler=<> ><$transclude tiddler="MyButton" 
/>

... as the long-form version of {{||MyButton}}.

That works if you write it into a tiddler on its own, so perhaps there's 
something about <$list> widget that throws a spanner into <$tiddler>?

Maybe this is a bug that merits a GitHub ticket?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bbee4c3a-1a98-456f-a817-79964debb6b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Article about rediscovering TiddlyWiki

2016-01-31 Thread Matabele
Hi Jeremy

Great review for a grand effort :-D

regards

On Sunday, 31 January 2016 14:38:34 UTC+2, Jeremy Ruston wrote:
>
> I thought this article was pretty cool because it gives the perspective of 
> someone who has been away from TiddlyWiki for a few years: 
>
>
> http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/512675f7-e791-4412-bce5-fdd006014354%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread Mat


> I'm also not sure on the practicality of using this... for emojis. What 
> would be the benefit over a simple enumeration? Or, perhaps asked 
> differently, what do those "vectors" represent in your view?
>

Perhaps;

{#34][#85][#77]
[#41][#99][#85]

The #xx is my own made up utf-encoding of an emoji
First row is the array, listing the "heads" e.g second item (#85) is a 
bicycle
Lower row are the "tail ends"
...i.e for bicycle+1 (i.e #85+1=#86) you get a tricycle. #87 is vespa. and 
so on untill #99 - then back up to #85 again.

Note that chain #85-#99 overlaps #77-#86 because #84 is a "skateboard" and 
in the context of #77 also bicycle (#85) fits in. But in the chain starting 
with #85 the skateboard is not considered fitting.

One could imagine further chain snips when they exist;

{#34][#85][#77]
[#41][#99][#85]
[#50]
[#58]

i.e there is the #34 chain that streches to 41 but then continues with 50 
to 58 (then up to 34 again)

The fine point, I assume, is that you don't really store any emojis. You 
store a small set of utf codes (the start and end) and "mathematially" flip 
to any emoji between them.

Freak out idea: What if instead of only cycling to next emoji, it would 
open up a visual array of the chain... and when clicking an emoji, this is 
set to be the tag but if you click this, then this now opens up a visual 
array that includes all the chains it is part of! This way you could 
*navigate* among emojis!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c4e5ad3c-196d-4e3e-8e47-08eb2e7805be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple tagging utility

2016-01-31 Thread Matabele
Hi 

Thought this might be of interest -- this is how it looks on my Mac in 
Firefox and Safari:

 


 


>
> This is what I see in  Chrome on my Mac (FF is similar):
>
>
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/72483d94-1326-4232-8240-bd776e8f9a7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Change Date Format for Journal (TW5)

2016-01-31 Thread Shay Shaked
The right way was 0MMDD.hhmm. Thank you both P)

On Sunday, January 17, 2016 at 6:03:18 PM UTC-5, Scott Simmons (Secret-HQ) 
wrote:
>
> TiddlyWiki's official datetime syntax can  also be found here:
> http://tiddlywiki.com/#DateFormat
>
> You can find the setting in the shadow tiddler $:/config/NewJournal/Title, 
> and you should also be able to find it in the ControlPanel tiddler.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aef60193-ac8a-4942-a8a9-f250d34f7bad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Scott Simmons (Secret-HQ)
On Sunday, January 31, 2016 at 6:32:52 PM UTC-5, Tobias Beer wrote:

By the way Scott,
>
> Pplease pay attention to the terms (perhaps revisit the docs)
> *<$list>* and *<$setvars/>* are widgets, not macros. :-)
>

Thanks!  A trip back to the documentation now that I've had more time to 
knock about certainly couldn't hurt.

I've struggled to grok the concept of widgets, and my current conception 
(perhaps wrong) is that they're elements of the TiddlyWiki that have 
children.  I misidentify them as macros from time to time, I suppose, but I 
think of macros as having their own child elements — but maybe that's an 
optical illusion caused by me looking at the components of macros in 
tiddlers and forgetting that macrocalls are a terminal node in the 
widget-tree (the last tips of the branches, so to speak) even if they do 
reference other parts of the tree.

I'll keep wrestling with it.  In the meantime I've cleaned up this thread 
so I don't infect anyone else with my confusion.  :P

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00e6bfd2-df67-4d22-a9a7-0fd8012be8a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread Mat
I'm not fully sure I got Hans description right, but these are thoughts it 
evokes for me.. I writing them out because if they are NOT what Hans is 
describing, then just maybe they are another idea of value;

The idea is particularly relevant for cycling of tags where you want the 
tags to be similar, i.e you click on a bicycle and then comes a tricycle 
and then a vespa, etc... i.e it is not  bicycle then a shoe then a smiley. 
This is because Hans has identified chains of characters where their 
codenumbers follow eachother. Between the chains there are unusalbe 
off-characters so to avoid these, the "chain heads" are put in a vector for 
access.

Something like that. It's a pretty cool idea because you can in a compact 
way present only the few "chain heads" instead of zillions of icons.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/650e19f9-794e-4660-95b4-873f776ad3ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread Matabele
P. S.

I think the expression must be a translation from a German word :-D

regards

On Sunday, 31 January 2016 10:44:57 UTC+2, Matabele wrote:
>
> Hi Tobias
>
> "Mixed radix positional notation" is simple a notation like we use to 
> denote time
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b02442bd-ed0c-4dd2-a8a7-b5a8c33b72a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Tobias Beer
Hi Eric,
 

> The $list widget is being used to get the names of the buttons to 
> transclude into the currentTiddler context.  However, when the $list widget 
> is processed, the currentTiddler *within* the widget content is a "button 
> tiddler", not the tiddler in which the $list is embedded.  To achieve the 
> proper results, we need to keep the currentTiddler context unchanged within 
> the $list, and use a different list variable to get the *template* name 
> used to construct the {{||template}} transclusion syntax.
>

Thanks for clarifying, I didn't get the actual goal of it all.

Yes, a list variable should do the trick.

<$list filter="[get[those_buttons]]" variable="button">
<$transclude tiddler=


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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e43b1ae2-3f1c-4429-b83f-1c72a98fd503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread Matabele
Hi Tobias

"Mixed radix positional notation" is simple a notation like we use to 
denote time: '32 weeks, 5 days, 7 hours, 45 minutes, 15 seconds'
Each position has a base unit which is a multiple of another (that's the 
"positional notation" part), and each position has a different base (that's 
the "mixed radix" part.)
In other words, emoji could be used to write a number system -- in this 
case for creating tags. The predictable sequence is necessary to enable 
sorting of the tag thus written with emoji into a predictable ordered 
sequence.
As a matter of interest, there's an idea circulating that thinks the next 
alphabet will employ emoji as its alphabet -- this promises to form the 
basis of the first successfully adopted international written language.

regards

On Sunday, 31 January 2016 03:20:58 UTC+2, Tobias Beer wrote:
>
> I had a very hard time understanding what you were actually suggesting
> and where it could perhaps play a role and how. :D
>
> Can you perhaps give some "real-world" example of what you suggested there
> as well as how and where you see it applied?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7c2df1a1-87c8-4a24-946b-0ad6007bffe2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Eric Shulman
On Saturday, January 30, 2016 at 11:46:14 PM UTC-8, Tobias Beer wrote:
>
> What's wrong with using either of:
>
> <$list filter="...">
> {{||template}}
> 
>
> Or then...
>
> <$list filter="..." template="template title"/>
>

The $list widget is being used to get the names of the buttons to 
transclude into the currentTiddler context.  However, when the $list widget 
is processed, the currentTiddler *within* the widget content is a "button 
tiddler", not the tiddler in which the $list is embedded.  To achieve the 
proper results, we need to keep the currentTiddler context unchanged within 
the $list, and use a different list variable to get the *template* name 
used to construct the {{||template}} transclusion syntax.

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1345471-2368-4acd-a14e-92352d51f4e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-31 Thread Tobias Beer
Hi Matabele, Mat, Hans,

I think I'm getting there, in how this helps encode things to short and 
sweet identifiers, and can actually be understood as a, dunno, 
pseudo-vector. I'm not sure I would call each radixed chunk a vector 
though... since they hardly have meaning other than representing buckets to 
encode ...well, symbols ...based on a predefined table / list(s), I presume.

I'm also not sure on the practicality of using this... for emojis. What 
would be the benefit over a simple enumeration? Or, perhaps asked 
differently, what do those "vectors" represent in your view?

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/426aaa0b-d875-48de-a963-913aa35dfb59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-31 Thread Matabele
Hi Sebas

Nice tip! Might be an idea to do the same for the SideBar listings.

regards

On Sunday, 31 January 2016 14:12:27 UTC+2, Sebas wrote:
>
> here is a simplified example I made:
> Customizing Tiddler Titles 
> 
>  on 
> http://sebas-uk.tiddlyspot.com/
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4d385826-b9fb-4e18-b0ca-07b31a1e5107%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Unwanted behaviour when clicking duplicated tag pills

2016-01-31 Thread Thomas Woite
Hi Eric, hi Matabele,

thank you so much for your very quick and helpfull response.
Summary: it's working now :)

To get more into detail:

@Matabele

> There's a <> macro which often simplifies things -- for example, try 
> this (in a tiddler with some tags.)
>
> <$list filter="[tags[]]"><>
>
I tried working with the tag macro as well, but is has the same basic 
problem. If you have more than one occurence of the same tag  within  the 
tiddler text, all will open up when you click on the tag pill.
Reason for that imho is, that the tag macro uses the $:/core/ui/TagTemplate as 
well, so it faces the same qualifier/ state problem metioned above by 
Alberto and Jeremy.

@Eric:

> The problem is that the state="..." param in the $reveal widget *must* be 
> the same value as the popup="..." param in the corresponding $button 
> widget.  Thus, you need to write:
> <$button popup=<>...
> <$reveal state=<> ...
>
> or perhaps this would be even better:
> <$button popup=<>
> <$reveal state=<>
>

Thank you so much, for pointing that out. And it does make absolute sense, 
when I think about it.
Quick question: Why using the $:/state/popup/tag prefix? Is this just best 
practice to make it obvious that we are dealing with a state here? Or is 
there more to that? To be honest, I tried to work myself through  
http://tiddlywiki.com/static/StateMechanism.html but did not really 
understand it. :)


One small problem here is that you forgot the quotes are $(id)$.  Since the 
> id value MIGHT contains spaces (from the tiddler title), you should write:
> ... state="""$(id)$"""
>
> Howevr, the much bigger problem here is that you can't use the $(id)$ 
> syntax to insert the value from a variable that was just $set.  Macros do 
> NOT "run" their content and return the output.  Rather, then ONLY expand 
> the $(variable)$ and $param$ references that exist when it is invoked and 
> then return THAT content for processing in the calling context.  Thus, your 
> macro, when called with <> produces this output:
> <$set name="id" value="$:/state/popup/tagfoobar">
>
> <$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
>  state=$(id)$/>
> 
> Note that the $(id)$ syntax remains, because the variable was NOT defined 
> when the macro was *invoked*.
>

I am still somehow struggling on how to call Variables, Parameters, 
Tiddler-fields in certain situation. Especially for sometimes you have to 
call the same object like a variable like $(myVar)$ and other times like 
<>. At this point it is usually try and error for me, the 
documenation and transclusions, variables and parameters helps, but seems 
not cover all situations.

But anyway: thank you very much for the help.

If somebody is interessted in the final solution, here it is:

1. Transclusion in the target tiddler, where I want to display the results:
{{||$:_/woto/ui/TasklistTemplate}}


 2. The tasklisk template, to show open tasks with their assigned task 
inline with the task title:
!! Offen 
<$list filter="[!has[draft.of]tag!tag[done]sort[created]]">

<$checkbox tag="done"> <$link to={{!!title}}><$view 
field="title"/>
<$set name="tiddlerTitle" value={{!!title}}>
<$list filter="[all[current]tags[]sort[title]]" storyview="pop">
<$set name="currentTag" value={{!!title}}>
{{||$:_/woto/ui/TagTemplateUnique}}






3. and the rewritten tagTemplate, just to keep it more structured for me. 
It would probably be better, to put all this in an macro, to make the 
parameter input more obvious:
\define tag-styles()
background-color:$(backgroundColor)$;
fill:$(foregroundColor)$;
color:$(foregroundColor)$;
\end

\define tag-body-inner(colour,fallbackTarget,colourA,colourB, state)
<$set name="foregroundColor" value=<>>
<$set name="backgroundColor" value="""$colour$""">
<$button popup=<> class="tc-btn-invisible 
tc-tag-label" style=<>>
<$transclude tiddler={{!!icon}}/> <$view field="title" format="text" />

<$reveal state=<> type="popup" position="below" 
animate="yes"><$transclude 
tiddler="$:/core/ui/ListItemTemplate"/>

<$list filter="[all[current]tagging[]]" 
template="$:/core/ui/ListItemTemplate"/>




\end

\define tag-body(colour,palette,state)

<$macrocall $name="tag-body-inner" colour="""$colour$""" 
fallbackTarget={{$palette$##tag-background}} 
colourA={{$palette$##foreground}} colourB={{$palette$##background}} 
state="""$state$"""/>

\end

\define createTag(title, tag)
<$set name="id" value="$:/state/popup/tag/$title$$tag$">
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
 state=<>/>

\end

<$macrocall $name="createTag" title=<> tag=<>/>








-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 

[tw] Re: How to get multiple text fields in Tiddler?

2016-01-31 Thread Matabele
Hi Sebas

Perhaps, instead of transcluding the contents of other fields, you should 
exchange the contents with the 'text' field. That way, you can edit your 
text in the text field, then exchange the contents with another field, edit 
the text in another language in the text field ... and so on.

Viewing could be done the same way.

regards

On Sunday, 31 January 2016 00:14:42 UTC+2, Sebas wrote:
>
> Hi  everyone,
>
> Have to say again, TiddlyWiki is great ... and more people need to know 
> about it! ...
>
> But my question: is there a way to get more than one "text" field in a 
> tiddler?
>
> I know I can just show the text of any field with {{!!myTextField}}, 
> however this is not wikified correctly ... I think because there are no 
> newline characters in it.
> I want to have only one tiddler for one topic/semantic unit. At the moment 
> I use something like this in one tiddler:
> /define text_lang_en() 
> /define text_lang_fr() 
> <>
> and so on. And then each tiddler has a macro that displays the correct 
> language. But this is really not nice when editing it, I would rather like 
> to be able to change the language with the ActionWidget so that the 
> tiddlers text field refers to "text_en" or "text_fr" ... and the editor 
> displays an empty new tiddler (for that language).
> I know there are other means for translations, but this would not only be 
> useful for translations.
>
> I would greatly appreciate any ideas on this ...
>
> Cheers,
> Sebas
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f7d88fbe-63cc-4a9d-8eab-4737c2e30a48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-31 Thread Matabele
Hi

Might work quite well if you exchanged the contents out to one or more data 
dictionaries instead of a large number of fields in the current tiddler. 
Once the dictionaries and swopping mechanism have been implemented -- the 
process of editing should be transparent, and you'll no longer have to keep 
track of all the bits and pieces yourself. You can, therefore, employ as 
many dictionaries as needed to keep things arranged in logical order.

regards

On Sunday, 31 January 2016 14:46:35 UTC+2, Sebas wrote:
>
> Hey Matabele,
>
> Yeah, thanks! That sounds like an idea I have not tried yet for text 
> fields. And I am currently doing that already with my user interface. I 
> have a dictionary tiddler that provides the names for each button in my 
> TiddlyWiki (tiddler "/$:/./user_interface") and when the user changes the 
> language, I just set this dictionary tiddler to the localized version like 
> so:
>
> <$button>
> <$action-setfield $tiddler="/$:/./user_interface_EN" $field="title" 
> $value="/$:/./user_interface" />ENGLISH
> 
>
> I guess I could just swap the text fields in a similar way.
>
> In regards to the sidebar and search fields, etc. - my approach is to 
> leave most core tiddlers unchanged. I have "user versions" for the side bar 
> and search fields so that they do not get to see the advanced search or the 
> actual tiddler titles.
>
> Thanks for the tip... I will try this.
>
> Cheers,
> Sebas
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a40da70-8b02-4ca3-abf2-a2eded330c97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-31 Thread Sebas
Hi Tobias and Matabele,

Thanks a lot for taking the time to respond. I tried the <$transclude 
field="MyTextField" mode="block"/> approach, but unfortunately then I do 
not get macro definitions to work.
In regards to the titles, I already use this in my project and I do not 
have any problems with different languages. The titles displayed in the 
story view just use Conditional Variable Assignment 
 and depending on which language is set 
up in a *language* field for a specific tiddler, that localized title is 
chosen. I just edited the $:/core/ui/ViewTemplate/title 
 
tiddler 
and here is a simplified example I made:
Customizing Tiddler Titles 

 on 
http://sebas-uk.tiddlyspot.com/

I know both of you are recommending to go the 
separate-tiddler-for-each-language approach, but this is what I am 
currently doing and I can confirm that this approach is a maintenance 
nightmare. My project uses a lot of parameterization, meaning that each 
tiddler makes heavy use of Jeremy's TiddlyWiki philosophy using the the 
smallest semantic units possible. Keeping the same context in one tiddler 
with different languages would make this easier.

I currently have a setup which works and groups tiddlers in this way:

/EN/Welcome_text
/FR/Welcome_text
/DE/Welcome_text
/ES/Welcome_text
/IT/Welcome_text
/PT/Welcome_text
...
However we are looking at hundreds of templates and we are using at least 6 
languages at the moment and each text uses macros to modify certain 
portions, because on top of the languages, these semantic units also change 
depending on the recipient ... e.g. "issue_customer", "issue_agent", 
"issue_supplier", etc.

But each tiddler is a semantic unit of its own. Grouping one text in one 
tiddler ... often just a single sentence reused in many places ... would 
really make this thing much easier to manage. The end user does not care 
about the fields and is just presented with the text.

I'm sorry to disagree with you guys, but I would like to know if this is 
currently possible with TiddlyWiki. Can I change the text field at all or 
amI at a dead end here?

Thanks,
Sebas

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab144350-022a-4eed-9c08-f9864216cb71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Article about rediscovering TiddlyWiki

2016-01-31 Thread Jeremy Ruston
I thought this article was pretty cool because it gives the perspective of 
someone who has been away from TiddlyWiki for a few years:

http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html

>From the introduction:

Way back in the mists of time (actually, January 2009) I wrote about a really 
cool tool called TiddlyWiki, a “non-linear personal web notebook”. Fast forward 
to today and I just had an out of body experience: Completely by accident I 
found a TiddlyWiki that I started when I wrote that piece and it still works! 

Finding code that works flawlessly after just two or three years is magical 
enough but after seven years?! And given that TiddlyWiki is written as a single 
page Web application and considering how different browsers are now than they 
were in 2009, the fact that the old version of TiddlyWiki still works is not 
short of miraculous.

Of course, in the intervening years, TiddlyWiki has evolved and the latest 
version is the result of the author, Jeremy Ruston, selling his company to 
British Telecom, creating related TiddlyWiki services and tools while at BT, 
then leaving and rebuilding TiddlyWiki (you can find the history in the 
TiddlyWiki’s TiddlyWiki). The result? Freakin’ awesome!

TiddlyWiki has become a very polished piece of free, open source software 
engineering and I was delighted to find that the latest version could even 
import my ancient version's content. My old TiddlyWiki was a fairly large 
collection of recipes and other than some minor formatting issues (the latest 
version supports a type of markdown called WikiText so my old version’s content 
wasn’t correctly formatted) everything was easily imported and upgraded.

---

It might be a good article to send on to friends, family, co-workers etc in our 
quest to get more people to look at TiddlyWiki:

http://tiddlywiki.com/#HelpingTiddlyWiki

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/96FC9E62-3740-41E3-84F2-482DBC634828%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-31 Thread Sebas
Hey Matabele,

Yeah, thanks! That sounds like an idea I have not tried yet for text 
fields. And I am currently doing that already with my user interface. I 
have a dictionary tiddler that provides the names for each button in my 
TiddlyWiki (tiddler "/$:/./user_interface") and when the user changes the 
language, I just set this dictionary tiddler to the localized version like 
so:

<$button>
<$action-setfield $tiddler="/$:/./user_interface_EN" $field="title" 
$value="/$:/./user_interface" />ENGLISH


I guess I could just swap the text fields in a similar way.

In regards to the sidebar and search fields, etc. - my approach is to leave 
most core tiddlers unchanged. I have "user versions" for the side bar and 
search fields so that they do not get to see the advanced search or the 
actual tiddler titles.

Thanks for the tip... I will try this.

Cheers,
Sebas

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e8038a8c-a835-4298-9ec6-bd44ba7f7eb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Unwanted behaviour when clicking duplicated tag pills

2016-01-31 Thread Tobias Beer
Hi Thomas,

The appear widget from the plugin tobibeer/appear 

makes popups and state handling easy as pie
...and then some.

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64983a1b-b789-4568-a928-ede3565f5547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-31 Thread Eric Shulman
On Sunday, January 31, 2016 at 2:25:05 AM UTC-8, Tobias Beer wrote:
>
> Hi Eric,
>  
>
>> The $list widget is being used to get the names of the buttons to 
>> transclude into the currentTiddler context.  However, when the $list widget 
>> is processed, the currentTiddler *within* the widget content is a "button 
>> tiddler", not the tiddler in which the $list is embedded.  To achieve the 
>> proper results, we need to keep the currentTiddler context unchanged within 
>> the $list, and use a different list variable to get the *template* name 
>> used to construct the {{||template}} transclusion syntax.
>>
>
> Thanks for clarifying, I didn't get the actual goal of it all.
>
> Yes, a list variable should do the trick.
>
> <$list filter="[get[those_buttons]]" variable="button">
> <$transclude tiddler=
> 
>
>
Not exactly enough though.  The $transclude above will embed the buttons, 
but doesn't use them as *templates* for the currentTiddler.  Thus, the 
problem in the OP: how to transclude the buttons, but have them work on 
fields in the transcluding tiddler.

I had thought that $transclude supported both tiddler="..." and 
template="...", so you could write something like:
<$transclude tiddler=<> template=<>
which would be the equivalent to {{||buttonname}}, but using a widget so 
you can use the template name defined in the "button" variable.

However, looking at the underlying transclude.js widget code, there doesn't 
appear to be any support for handling a "template" param in the widget.

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68727220-9109-44c4-ac7b-e03001ff5201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Image gallery macros Demo.

2016-01-31 Thread sini-Kit
Hi! I have made a very simple image gallery macros (not plugin) It takes 
img path from field imgslider:  here is my demo 
http://novye-podarki.ru/empty36_.html#Gallery

I try to make $edit-text type="file" but I get fakepath :( 
is it possible to make browse to pick all files path manual? 



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/247531ec-dacb-4c81-848d-1f110655d68d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gallery.json
Description: application/json


[tw] Re: [TW5] Transcluded Menu Bar for Tiddlers in a Tabset? (Using /tobibeer/inc Plugin?)

2016-01-31 Thread Scott Simmons (Secret-HQ)
Hi, Tobias —

I hadn't realized it until last night, but there are some other 
complications from the modified $:/core/macros/tabs.  These crop up in the 
info panel:

   - Only the most basic fields (caption, tag, and title) get listed under 
   fields.  (Look at a plugin tiddler for comparison.)
   - Tagging, References, List, and Listed all show as empty (even if 
   they're not for the current tiddler).
   - Advanced displays information about $:/core/ui/TiddlerInfo/Advanced 
   rather than the current tiddler.

I haven't dug in hard, but I wonder if it might be possible to restrict the 
effects to effects our tab wizardry to .tc-tiddler-body and thus sidestep 
the issue.  (That would mean no more hover menus in the sidebar, but 
perhaps that's a good thing.  Certainly the way I've been nesting tabs to 
create complex sidebar menus, I'd considered trying to make that limitation 
myself.  But such a modification might prevent the hover menus from 
scrambling up the info panel, too.)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/af69e864-30c6-42e3-b13d-997894307434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Article about rediscovering TiddlyWiki

2016-01-31 Thread Felix Küppers
Hi Jeremy,

Thanks for sharing this article.

I agree with the author's conclusion. TW is worth receiving a "6 out of
5" rating in usefulness :)

-Felix

On 01/31/2016 01:38 PM, Jeremy Ruston wrote:
> I thought this article was pretty cool because it gives the perspective of 
> someone who has been away from TiddlyWiki for a few years:
>
> http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html
>
> >From the introduction:
>
> Way back in the mists of time (actually, January 2009) I wrote about a really 
> cool tool called TiddlyWiki, a “non-linear personal web notebook”. Fast 
> forward to today and I just had an out of body experience: Completely by 
> accident I found a TiddlyWiki that I started when I wrote that piece and it 
> still works! 
>
> Finding code that works flawlessly after just two or three years is magical 
> enough but after seven years?! And given that TiddlyWiki is written as a 
> single page Web application and considering how different browsers are now 
> than they were in 2009, the fact that the old version of TiddlyWiki still 
> works is not short of miraculous.
>
> Of course, in the intervening years, TiddlyWiki has evolved and the latest 
> version is the result of the author, Jeremy Ruston, selling his company to 
> British Telecom, creating related TiddlyWiki services and tools while at BT, 
> then leaving and rebuilding TiddlyWiki (you can find the history in the 
> TiddlyWiki’s TiddlyWiki). The result? Freakin’ awesome!
>
> TiddlyWiki has become a very polished piece of free, open source software 
> engineering and I was delighted to find that the latest version could even 
> import my ancient version's content. My old TiddlyWiki was a fairly large 
> collection of recipes and other than some minor formatting issues (the latest 
> version supports a type of markdown called WikiText so my old version’s 
> content wasn’t correctly formatted) everything was easily imported and 
> upgraded.
>
> ---
>
> It might be a good article to send on to friends, family, co-workers etc in 
> our quest to get more people to look at TiddlyWiki:
>
> http://tiddlywiki.com/#HelpingTiddlyWiki
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/BLU436-SMTP475959F6B64DE554894B7FCEDD0%40phx.gbl.
For more options, visit https://groups.google.com/d/optout.