[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-03 Thread TonyM
Melvin,

I know you have walked down a different path but I suggest making a tiddler 
tagged $:/tags/ViewTemplate that transcludes a template tiddler (containing 
the edit text) on the tiddler where you require the edit to take place.

This allows you appear to be editing the current tiddler without the focus 
problem, but you are actually editing it from the template tiddler.

Regards
Tony

On Friday, August 2, 2019 at 10:13:17 PM UTC+10, Melvin wrote:
>
> I am trying to find a suitable workaround for edit-text. I'm using 
> TiddlyWiki as my journal.
>
> I have a template Tiddly for questions with radio buttons and all that. I 
> clone it for the day, change the date and that is my new Tiddler.
>
> However, the amount of stuff I need to edit within my tiddler just to 
> answer some questions is becoming a lot. I'd like to do it via input fields.
>
> For example, I have questions such as: what goal do you have for today (up 
> to a max of 3 goals).
>
> Now I'd need to edit the Tiddler for it.
>
> But I'd like to simply see an input tag with a button save next to it and 
> when I type in my goal and click "save!" it replaces the text that was 
> within the field.
>
> In that sense it looks a lot like the appender of the following TiddlyWiki 
> at http://skeeve.tiddlyspot.com/
>
> Another example (but then with a dropdown menu instead of free input text) 
> is 
> http://inmysocks.tiddlyspot.com/#Concatenating%20Strings%20-%20What%20Breaks
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b9499ae6-1d46-488a-9859-6485be668605%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
Yes, that's right

On Sat, Aug 3, 2019, 7:03 PM TonyM,  wrote:

> Aidan,
>
> Thanks for sharing the final solution. This is easy to readapt to using a
> shortcut to trigger any action or set of actions.
>
> Would it be better to write?
>
> $:/config/ShortcutInfo/*newShortcutname*
>
> Regards
> Tony
>
> On Sunday, August 4, 2019 at 7:09:41 AM UTC+10, Aidan Grey wrote:
>>
>> It was the story bit - just tested it, and that fixed it. I did have tagS
>> vs tag, that was just a typo here.
>>
>>
>> So here's my step by step to create a custom global shortcut, where you
>> don't need a button, or to be in a textarea, or anything. Just hit your
>> shortcut at anytime, and voila. Obviously, your action can be changed
>> easily to whatever you need.
>>
>>
>> 1. Create tiddler named $:/config/ShortcutInfo/<>
>> 2. Give a description in textarea, if you want
>> 3. Go to Control Panel, then Keyboard Shortcuts
>> 4. Select your new shortcut name, and give it a unique shortcut (just
>> type the shortcut you want, for example alt+M)
>> 5. Create a new tiddler tagged $:/tags/Keyboard/Shortcut
>> <#m_-4584092567572515247_CAJu7H0apAFb-+hJnFPhta0Ewp=WgyXc1jTf=jzDW8Kiei=5dZQ@mail.gmail.com_%24%3A%2Ftags%2FKeyboard%2FShortcut>
>> 6. Create a new field "key", which value = your shortcut (e.g. "alt+M")
>> 7. In the textarea, add your action:
>> <$navigator story="$:/StoryList" > <$action-sendmessage
>> $message="tm-new-tiddler" $param="meaningTemplate" title="This is newly
>> created tiddler" tags="OneTag [[Another Tag]]" text=<> MMM ">> /> 
>>
>>
>> On Sat, Aug 3, 2019 at 1:53 PM 'Mark S.' via TiddlyWiki <
>> tiddl...@googlegroups.com> wrote:
>>
>>> I think you do need to wrap it with a minimum of
>>>
>>> <$navigator story="$:/StoryList" >
>>> ...
>>> 
>>>
>>> In your original post, you said $:/tag/KeyboardShortcut, but it should
>>> be $:/tags/KeyboardShortcut
>>>
>>> I'm thinking that the error you're getting suggests something wrong in
>>> your template. Perhaps you could share that?
>>>
>>> Good luck!
>>>
>>> On Saturday, August 3, 2019 at 11:05:04 AM UTC-7, Aidan Grey wrote:

 What Birthe said, and also because of the previously noted requirement
 specified in how to create a keyboard shortcut, global section.

 On Sat, Aug 3, 2019, 12:02 PM Birthe C,  wrote:

> Hi Mat,
>
> When you do not use a button, but want to create a new tiddler from
> keyboard shortcut, you are not creating the tiddler from inside the story
> riverat least that is what I am thinking.
>
>
> Birthe
>
> --
> 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 tiddl...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/138dfb40-c4de-49ab-a759-58930054d761%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0Yv4Zi-cRLUVFY%2BmZQd261cayXp%2Bfx8d64M%2Bs0Vt9%2B5Ew%40mail.gmail.com.


Re: [tw5] Re: Update to TiddlyServer 2.1 Beta

2019-08-03 Thread TonyM
Arelen,

I raised an issue in GitHub but I have the new version running. 


   - With a node WIki I had a look at the address 
   http://192.168.1.81/Node/HPSaT/Home (no Hash) VS 
   http://192.168.1.81/Node/HPSaT/#Home and can see the static tiddlers are 
   present, I wonder if this was possible on earlier versions?
  - I would like to find a way to publish json, text and other file 
  types through the same above mechanism
   

   - With Version 5.1.20 Coming out soon (maybe). Can we upgrade 
   TiddlyServer using the normal node tiddlywiki upgrade?
   - Is there documentation I can't find that can tell me about the use of 
   the login process?

By the way I found it very useful to add another IP address on my windows 
machine and host TiddlyServer on that. It takes the default port 80 and 
does not interfere with any other server on my computer.

Thanks heaps
Tony

Regards
Tony

On Sunday, August 4, 2019 at 7:30:51 AM UTC+10, Arlen Beiler wrote:
>
> Thank you. Keep the feedback and suggestions coming. It helps me to know 
> what features to add and what problems need to be solved. 
>
> Arlen
>
> On Fri, Aug 2, 2019 at 7:30 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
>> Hello Arlen,
>>
>> What are the differences between the two links you provided? They seem to 
>> lead to the same place ??
>>
>> It looks like single-file wikis are now correctly indicating their "save" 
>> state -- great!
>>
>> In terms of documentation ... if I didn't already have a settings.json 
>> file, I would be totally lost. There's no
>> place that tells you how to set the port. There's no example of trees and 
>> sub-trees (children?). I think most 
>> first-timers aren't going to know where to use $element and how to create 
>> more "roots" and branches. 
>>
>> The format for TS 2.0.14 was easy to understand, but I find TS 2.1 
>> confusing. Presumably the complexity brings some new abilities?
>> Or is this required for the new node JSON parser? I noticed that Bob also 
>> had an uptick in configuration complexity.
>>
>> I'm curious what the new features in 2.1 are. It looks very similar to 
>> 2.0.14.
>>
>> There's a visual distraction problem where missing branches have no icon. 
>> See image below.
>>
>> Thanks!
>>
>>
>>
>> On Friday, August 2, 2019 at 1:41:47 PM UTC-7, Arlen Beiler wrote:
>>>
>>> And then I forgot to push the last bit. So here's the updated link.
>>>
>>>
>>> https://github.com/Arlen22/TiddlyServer/tree/02b47908381a987411ec2fdf1c8d4f0e64055bd4
>>>
>>> Enjoy!
>>>
>>> Arlen
>>>
>>> On Fri, Aug 2, 2019 at 4:39 PM Arlen Beiler  wrote:
>>>
 Hi TiddlyServer testers,


 https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d

 Here is an update to TiddlyServer 2.1 Beta. The simplified tree format 
 from 2.0 is back, but the expanded format is available. A string 
 represents 
 a folder element and an object with no $element property represents a 
 group 
 element. 

 You can use this for a basic settings.json file

 {
 "tree": "../webroot",
 "bindInfo": {"bindAddress": ["127.0.0.1"]},
 "$schema": "./settings-2-1.schema.json"
 }

 Backup your current settings.json and don't depend on 
 upgrade-settings.js at this point. I will update that soon.

 Let me know if you run into any problems.

 Here's the link again. 


 https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d

 Arlen

>>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/cca16cdf-7ae3-4486-8045-1fe5f65610bb%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/280067c2-38fc-4a25-bf3c-9b734efcb061%40googlegroups.com.


[tw5] Re: Counting all Tiddlers

2019-08-03 Thread Mark Krieg
TonyM, thank you so much!  This is precisely what I was looking for!!!


On Saturday, August 3, 2019 at 8:58:52 PM UTC-4, TonyM wrote:
>
> <$count filter="[all[]]"> ?
>
> But perhaps you really mean
> <$count filter="[all[tiddlers]]">
>
> Tony 
>
> On Sunday, August 4, 2019 at 10:30:40 AM UTC+10, Mark Krieg wrote:
>>
>> Maybe I'm missing something very obvious, but is there a way for me to 
>> count the total number of tiddlers in my TiddlyWiki? For example I have a 
>> tiddler that currently counts up various tags:
>>
>> |Journal Entries |<$count filter="[tag[personal_journal]] "/>|
>> |Dreams |<$count filter="[tag[dream]] "/>|
>> |joke |<$count filter="[tag[joke]] "/>|
>> |Memories |<$count filter="[tag[memories]] "/>|
>>
>> But how can I count ALL tiddlers in my TiddlyWiki?
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ae68994-f618-411f-a6c4-f3eaebabead7%40googlegroups.com.


[tw5] Re: Counting all Tiddlers

2019-08-03 Thread Mark Krieg
Thanks, Mat!  If that were a snake, it would have bit me!


On Saturday, August 3, 2019 at 8:37:56 PM UTC-4, Mat wrote:
>
> Mark Krieg wrote:
>>
>> Maybe I'm missing something very obvious
>>
>
> You are: Ctrlpanel > Info > Basic ...bottom of 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6295ac9a-27cc-4a8f-a9b4-5ad8faf7e9dd%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread TonyM
Aidan,

Thanks for sharing the final solution. This is easy to readapt to using a 
shortcut to trigger any action or set of actions.

Would it be better to write?

$:/config/ShortcutInfo/*newShortcutname*

Regards
Tony

On Sunday, August 4, 2019 at 7:09:41 AM UTC+10, Aidan Grey wrote:
>
> It was the story bit - just tested it, and that fixed it. I did have tagS 
> vs tag, that was just a typo here.
>
>
> So here's my step by step to create a custom global shortcut, where you 
> don't need a button, or to be in a textarea, or anything. Just hit your 
> shortcut at anytime, and voila. Obviously, your action can be changed 
> easily to whatever you need.
>
>
> 1. Create tiddler named $:/config/ShortcutInfo/<>
> 2. Give a description in textarea, if you want
> 3. Go to Control Panel, then Keyboard Shortcuts 
> 4. Select your new shortcut name, and give it a unique shortcut (just type 
> the shortcut you want, for example alt+M)
> 5. Create a new tiddler tagged $:/tags/Keyboard/Shortcut 
> <#CAJu7H0apAFb-+hJnFPhta0Ewp=WgyXc1jTf=jzDW8Kiei=5dZQ@mail.gmail.com_%24%3A%2Ftags%2FKeyboard%2FShortcut>
> 6. Create a new field "key", which value = your shortcut (e.g. "alt+M")
> 7. In the textarea, add your action:
> <$navigator story="$:/StoryList" > <$action-sendmessage 
> $message="tm-new-tiddler" $param="meaningTemplate" title="This is newly 
> created tiddler" tags="OneTag [[Another Tag]]" text=< MMM ">> />   
>
>
> On Sat, Aug 3, 2019 at 1:53 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
>> I think you do need to wrap it with a minimum of
>>
>> <$navigator story="$:/StoryList" >
>> ...
>> 
>>
>> In your original post, you said $:/tag/KeyboardShortcut, but it should be 
>> $:/tags/KeyboardShortcut
>>
>> I'm thinking that the error you're getting suggests something wrong in 
>> your template. Perhaps you could share that?
>>
>> Good luck!
>>
>> On Saturday, August 3, 2019 at 11:05:04 AM UTC-7, Aidan Grey wrote:
>>>
>>> What Birthe said, and also because of the previously noted requirement 
>>> specified in how to create a keyboard shortcut, global section.
>>>
>>> On Sat, Aug 3, 2019, 12:02 PM Birthe C,  wrote:
>>>
 Hi Mat,

 When you do not use a button, but want to create a new tiddler from 
 keyboard shortcut, you are not creating the tiddler from inside the story 
 riverat least that is what I am thinking.


 Birthe

 -- 
 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 tiddl...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/138dfb40-c4de-49ab-a759-58930054d761%40googlegroups.com.


[tw5] Re: Counting all Tiddlers

2019-08-03 Thread TonyM
<$count filter="[all[]]"> ?

But perhaps you really mean
<$count filter="[all[tiddlers]]">

Tony 

On Sunday, August 4, 2019 at 10:30:40 AM UTC+10, Mark Krieg wrote:
>
> Maybe I'm missing something very obvious, but is there a way for me to 
> count the total number of tiddlers in my TiddlyWiki? For example I have a 
> tiddler that currently counts up various tags:
>
> |Journal Entries |<$count filter="[tag[personal_journal]] "/>|
> |Dreams |<$count filter="[tag[dream]] "/>|
> |joke |<$count filter="[tag[joke]] "/>|
> |Memories |<$count filter="[tag[memories]] "/>|
>
> But how can I count ALL tiddlers in my TiddlyWiki?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/304f6f53-67cd-4c44-89bf-ff70fae74285%40googlegroups.com.


[tw5] Re: [TW5] Printing and the Reveal Widget

2019-08-03 Thread TonyM
Another method is to use the list widget to reveal or hide content and have 
a dual filter that tests first for reveal and also for print mode, both 
will result in the same thing.

Regards
Tony

On Sunday, August 4, 2019 at 10:41:33 AM UTC+10, Mat wrote:
>
> Here's a strategy
>
> For your revealwidget, use state tiddlers that all start with a common 
> prefix e.g
>
> $:/state/reveal/apple
> $:/state/reveal/banana
>
> Then you can create a button that lists all tiddlers prefixed 
> $:/state/reveal that sets their content to be show/hide yes/no
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8bb7467-8002-4afa-ab61-f832dd884b8c%40googlegroups.com.


[tw5] Re: [TW5] Printing and the Reveal Widget

2019-08-03 Thread Mat
Here's a strategy

For your revealwidget, use state tiddlers that all start with a common 
prefix e.g

$:/state/reveal/apple
$:/state/reveal/banana

Then you can create a button that lists all tiddlers prefixed 
$:/state/reveal that sets their content to be show/hide yes/no

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6cc10e6c-bcf9-4548-80b2-6f3240873d8d%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread TonyM
Folks.

I care deeply about these issues.

But the first point I would make is we should ensure there are a Divercity of 
communication channels known to most if not all enthusiasts making it hard for 
one or more channels closing to stop communication. When we establish the 
ability for every tiddlywiki to open a communication channel it will help.

Regards
Tony

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99e280c6-1ead-44ca-8fa2-750f9824b3fd%40googlegroups.com.


[tw5] Re: Counting all Tiddlers

2019-08-03 Thread Mat
Mark Krieg wrote:
>
> Maybe I'm missing something very obvious
>

You are: Ctrlpanel > Info > Basic ...bottom of 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e993f460-8950-40a6-a87d-47528f7ed75c%40googlegroups.com.


[tw5] Counting all Tiddlers

2019-08-03 Thread Mark Krieg
Maybe I'm missing something very obvious, but is there a way for me to 
count the total number of tiddlers in my TiddlyWiki? For example I have a 
tiddler that currently counts up various tags:

|Journal Entries |<$count filter="[tag[personal_journal]] "/>|
|Dreams |<$count filter="[tag[dream]] "/>|
|joke |<$count filter="[tag[joke]] "/>|
|Memories |<$count filter="[tag[memories]] "/>|

But how can I count ALL tiddlers in my TiddlyWiki?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c297a17d-9901-4971-aa27-30c7d69d5cca%40googlegroups.com.


[tw5] [TW5] Printing and the Reveal Widget

2019-08-03 Thread Anjar
Hi all,

I am using the reveal widget to create accorions/sliders in many tiddlers 
(hiding answers to quiz questions), and I wondered if it is possible to 
expand all of these when printing the page (to PDF/paper)? Or even better: 
create two buttons so that one can choose whether they will be expanded or 
collapsed?


Best,
Anders

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/acb44e96-7d3c-479c-928f-7f935dbdaea8%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread TonyM
On a related issue

I was trying to get the filename.ext the wiki loaded from when using file:// 

Is there a way?

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/41576811-a0af-4f4a-b9c1-7a9b74ba6903%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread TonyM
Great stuff

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4cd8321e-457b-4293-a2bb-3df193be8443%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Jeremy, Arlen and anyone - my question did have a familiar feel to it:

https://groups.google.com/forum/#!searchin/tiddlywiki/location.js|sort:date/tiddlywiki/bDAOWS5fcHw/5jr5Xtd9CQAJ

BJ has solved 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b392633-4cbc-43c4-ac7c-acda6041f884%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread Mat
For anyone interested, here  
are some articles by Dr Ben Goertzel. The latest one ("What's so disturbing 
about Microsofts OpenAI investment") touches these matters. Dr Goertzel is 
the chief scientist behind SingularityNet, i.e the brain of the robot 
Sophia that you've all seen, but with the actual aim to create an AGI 
(Artificial General Intelligence) that is decentralized and democratized 
instead of controlled by some company or state. Here 
 is an interview with Dr. Goertzel from 
just the other day (the link skips the introductory scare mongering that is 
mandatory when talking about AI but which does not represent the interview 
at all). BTW, do not dismiss him as some hippie who doesn't know what he's 
talking about. Hippie perhaps but he is one of the foremost experts on AI 
in the world.

...

HansWobbe wrote

> In Canada, Taxes are now larger than the costs of living.  This is an 
> unstable situation that will have consequences.


Wanna come to Sweden? The average worker pays 53% in tax. Used to be even 
much more.


<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1af454c3-9280-41dc-893f-16ab624efa4d%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Arlen Beiler
If you need to read the location hash for Javascript purposes, you could
use a raw head tiddler with a script tag to save it in a global variable.
Or put it in a tiddler in the preload array.

On Sat, Aug 3, 2019 at 12:37 PM Mat  wrote:

> Then I know. Much appreciated that you replied.
>
> <:-)
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d899806d-73d8-4489-894a-9baa3ff828df%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTKy6Rx_Tkw%2BMwVN%3DnHRZnwopDNXYxfnypTpL-cMh4V5g%40mail.gmail.com.


Re: [tw5] Re: Update to TiddlyServer 2.1 Beta

2019-08-03 Thread Arlen Beiler
Thank you. Keep the feedback and suggestions coming. It helps me to know
what features to add and what problems need to be solved.

Arlen

On Fri, Aug 2, 2019 at 7:30 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Hello Arlen,
>
> What are the differences between the two links you provided? They seem to
> lead to the same place ??
>
> It looks like single-file wikis are now correctly indicating their "save"
> state -- great!
>
> In terms of documentation ... if I didn't already have a settings.json
> file, I would be totally lost. There's no
> place that tells you how to set the port. There's no example of trees and
> sub-trees (children?). I think most
> first-timers aren't going to know where to use $element and how to create
> more "roots" and branches.
>
> The format for TS 2.0.14 was easy to understand, but I find TS 2.1
> confusing. Presumably the complexity brings some new abilities?
> Or is this required for the new node JSON parser? I noticed that Bob also
> had an uptick in configuration complexity.
>
> I'm curious what the new features in 2.1 are. It looks very similar to
> 2.0.14.
>
> There's a visual distraction problem where missing branches have no icon.
> See image below.
>
> Thanks!
>
>
>
> On Friday, August 2, 2019 at 1:41:47 PM UTC-7, Arlen Beiler wrote:
>>
>> And then I forgot to push the last bit. So here's the updated link.
>>
>>
>> https://github.com/Arlen22/TiddlyServer/tree/02b47908381a987411ec2fdf1c8d4f0e64055bd4
>>
>> Enjoy!
>>
>> Arlen
>>
>> On Fri, Aug 2, 2019 at 4:39 PM Arlen Beiler  wrote:
>>
>>> Hi TiddlyServer testers,
>>>
>>>
>>> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>>>
>>> Here is an update to TiddlyServer 2.1 Beta. The simplified tree format
>>> from 2.0 is back, but the expanded format is available. A string represents
>>> a folder element and an object with no $element property represents a group
>>> element.
>>>
>>> You can use this for a basic settings.json file
>>>
>>> {
>>> "tree": "../webroot",
>>> "bindInfo": {"bindAddress": ["127.0.0.1"]},
>>> "$schema": "./settings-2-1.schema.json"
>>> }
>>>
>>> Backup your current settings.json and don't depend on
>>> upgrade-settings.js at this point. I will update that soon.
>>>
>>> Let me know if you run into any problems.
>>>
>>> Here's the link again.
>>>
>>>
>>> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>>>
>>> Arlen
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/cca16cdf-7ae3-4486-8045-1fe5f65610bb%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSSgvSGoAtz-eqn%2B1Ncrt_UtmL-g6n2ATiwhZcrNEhBoEg%40mail.gmail.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
It was the story bit - just tested it, and that fixed it. I did have tagS
vs tag, that was just a typo here.


So here's my step by step to create a custom global shortcut, where you
don't need a button, or to be in a textarea, or anything. Just hit your
shortcut at anytime, and voila. Obviously, your action can be changed
easily to whatever you need.


1. Create tiddler named $:/config/ShortcutInfo/<>
2. Give a description in textarea, if you want
3. Go to Control Panel, then Keyboard Shortcuts
4. Select your new shortcut name, and give it a unique shortcut (just type
the shortcut you want, for example alt+M)
5. Create a new tiddler tagged $:/tags/Keyboard/Shortcut
<#%24%3A%2Ftags%2FKeyboard%2FShortcut>
6. Create a new field "key", which value = your shortcut (e.g. "alt+M")
7. In the textarea, add your action:
<$navigator story="$:/StoryList" > <$action-sendmessage
$message="tm-new-tiddler" $param="meaningTemplate" title="This is newly
created tiddler" tags="OneTag [[Another Tag]]" text=<> /> 


On Sat, Aug 3, 2019 at 1:53 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> I think you do need to wrap it with a minimum of
>
> <$navigator story="$:/StoryList" >
> ...
> 
>
> In your original post, you said $:/tag/KeyboardShortcut, but it should be
> $:/tags/KeyboardShortcut
>
> I'm thinking that the error you're getting suggests something wrong in
> your template. Perhaps you could share that?
>
> Good luck!
>
> On Saturday, August 3, 2019 at 11:05:04 AM UTC-7, Aidan Grey wrote:
>>
>> What Birthe said, and also because of the previously noted requirement
>> specified in how to create a keyboard shortcut, global section.
>>
>> On Sat, Aug 3, 2019, 12:02 PM Birthe C,  wrote:
>>
>>> Hi Mat,
>>>
>>> When you do not use a button, but want to create a new tiddler from
>>> keyboard shortcut, you are not creating the tiddler from inside the story
>>> riverat least that is what I am thinking.
>>>
>>>
>>> Birthe
>>>
>>> --
>>> 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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0apAFb-%2BhJnFPhta0Ewp%3DWgyXc1jTf%3DjzDW8Kiei%3D5dZQ%40mail.gmail.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread HansWobbe
I absolutely agree that mutiNational corps are a bigger problem that 
sovereign governments.  One of the compelling arguments is the "too big to 
fail" argument put forward to justify the bailouts of the Banks from the 
2008 financial crises.  

That "too big to..." argument is now evidently extended to include:

* "Too Big To Manage" ( with only celebrity executives )
* "Too Big To Punish" ( Facebook's share price went up when the markets 
realized that a $5billion fine was a trivial cost of doing business )
* "Too Big To Control" (by any country worried about job losses to another 
or via Trade Wars)
* etc.

Things will change simply because elected representaives will not restrict 
the growth in taxation.  In Canada, Taxes are now larger than the costs of 
living.  This is an unstable situation that will have consequences.

Open communication technologies that counter government "spin" are 
essential to efficient progress.

~Hans



> IMO. The large corporations on the internet are far too big for a healthy 
> future.
>
> I actually think government is currently the lesser evil.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/521bc639-c4f4-4152-b8e6-762805e4abdb%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread passingby
This is a bit of rant here.

>From a layman's point of view, I feel the talk and ideas of software and 
concept of sharing and openness has changed a lot. It seems internet is no 
more the internet which it was envisioned to be.

A long time ago, I used to think if something was open source, it was 
trustworthy, free in terms of money, and free in terms of freedom, that 
nobody controlled it. I used to think that a software which was open source 
was something which stood in defiance against companies whose main motive 
was money and dominance. In this spirit I was a fan of firefox for a long 
time. Then Google Chrome came along and I became its fan. Later on I heard 
there are new smarter phones with touch screen and they are based on 
Android which is open source. I readily adopted it, and my next phone after 
a Nokia symbian phone was Samsung s4. 

Well fast forward to current times, I now realize that open source or not, 
the products are tightly controlled by companies. Companies control what 
update is rolled out, when it is rolled, and even in which region it is 
rolled out. I had no idea that Google could choose whether or not to allow 
a company to use its version of Android. I had no idea that even if a 
software was open source, it was still a controllable creature. Fifteen 
years ago when ever I came across the word ecosystem I thought it was just 
another word used by experts to sound like experts. 

I have to agree that there may be times where blocking of communication may 
be warranted. But I have seen its instances of misuse. I know a few 
instances of this happening in India in past couple of years. There was a 
police crackdown in Haryana state not long ago and the government totally 
cut off social media apps for several days, because they wanted to shut 
down live or almost live news sharing. And nobody spoke out. Nothing 
happened. They did their thing and life went on. Later I got to know that 
it was happening elsewhere too.

If a machine runs on electricity, no matter how smart that machine may be, 
all that needs to be done to defeat that machine is to cut off electricity. 
Governments control ISPs. A simple court order, brought about by the power 
that be, can make them fall in line.

Understandably, if internet connection is shut down, and that too with 
legal tools, there is nothing common person can do. But there should be 
tools to communicate and share when there is at least some internet going 
on. That is something which deserves support.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/736f0322-3776-44dc-b591-b7b38f3b85eb%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread 'Mark S.' via TiddlyWiki
That might be possible.

We should have a list of todos/ideas at the top.

So far I've got

* Refactor for relative addresses
* Use windows variables in definitions
* Loop back to menu after action
* Launch in browser per ini list
* Scan wiki-dirs and add contents to pollies list

Thanks!

On Saturday, August 3, 2019 at 3:53:51 AM UTC-7, @TiddlyTweeter wrote:
>
> Mark: * We should probably make our own routine library file at this point
>
>
> You show what that would look like and I'll follow :-).
>
> I do think hiving off repeated things is a good idea.
>
> I also thinking about "extensions". The heart of Polly is your "while" 
> looping magic. 
>
> I'm trying to better understand if we could, maybe, add an entry point 
> that isn't for the more complex restore part but for things like "forced 
> parrot" or "launch" that are not restore infinite processes, just a  single 
> loop over settings. 
>
> For instance in "menu" mode be able to run "once-menu", that would be 
> "once" mode, but after completion returns to the menu. The point being ONE 
> loop over the settings and *return to menu*. Hope this is clear!
>
> Thoughts!
>
> TT
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31a2b36b-524c-4ce7-9f9e-f54f1d188f40%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Birthe C
Hi again Mohammad,

I just uploaded to tiddlyspot using Chromium. *BUT* I had to try 3 times 
before it stopped saving locally and uploaded.
For other work I am very much enjoying your latest version of todolist. 
Thanks to your advice I got It from github.


Birthe


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfe33091-9c21-4139-8e9e-897f5d18cc47%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter
Mark S. wrote:
>
> Did you find any actual downside? Once we have a function in place, it 
> shouldn't be hard to implement. We just have to 
> "sanitize" the four+ directory types. Unless of course ... it breaks 
> relative addressing or something.
>

No downside I can see at all. And I doubt it would break the relative thing 
in that, even with full relative addressing for everything else, its more 
than likely that downloads would remain absolute anyway.

TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4cb4c248-c88e-4115-8a69-b74ae479ae79%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread 'Mark S.' via TiddlyWiki
Did you find any actual downside? Once we have a function in place, it 
shouldn't be hard to implement. We just have to 
"sanitize" the four+ directory types. Unless of course ... it breaks 
relative addressing or something.

Thanks!

On Saturday, August 3, 2019 at 6:43:22 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao Mark
>
> I'm not sure its worth it on bespoke %env%. I toyed around a bit. I kinda 
> felt it was bending a bit backwards on it. A user who needs that special 
> path only needs enter it once, (literally) right, anyway in Polly settings? 
> So its seems like overkill to worry the point? But maybe I''m missing 
> something?
>
> But I do think automating a default o/s determined downloads dir does have 
> traction in that its a common situation and (hopefully) makes immediate 
> sense to many users (when we have more than two).
>
> TT
>
> On Friday, 2 August 2019 21:33:08 UTC+2, Mark S. wrote:
>>
>> That would be the original request. After some research, it looks like if 
>> we bring in the settings like this:
>>
>>   $backupdir= $general["backupdir"]
>>   $backupdir= 
>> [System.Environment]::ExpandEnvironmentVariables($backupdir) 
>>
>> (which we would probably put into a function to simplify)*
>>
>> And have a setting entry like:
>>
>> backupdir=%userprofile%\Downloads\polly-backup
>>
>> That it works. Maybe you want to try that and see what you think. Is the 
>> extra complexity 
>> worth the results?
>>
>> Thanks!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c12c3927-fdb0-4522-9726-1233b9f50b4b%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread 'Mark S.' via TiddlyWiki
I think you do need to wrap it with a minimum of

<$navigator story="$:/StoryList" >
...


In your original post, you said $:/tag/KeyboardShortcut, but it should be 
$:/tags/KeyboardShortcut

I'm thinking that the error you're getting suggests something wrong in your 
template. Perhaps you could share that?

Good luck!

On Saturday, August 3, 2019 at 11:05:04 AM UTC-7, Aidan Grey wrote:
>
> What Birthe said, and also because of the previously noted requirement 
> specified in how to create a keyboard shortcut, global section.
>
> On Sat, Aug 3, 2019, 12:02 PM Birthe C, > 
> wrote:
>
>> Hi Mat,
>>
>> When you do not use a button, but want to create a new tiddler from 
>> keyboard shortcut, you are not creating the tiddler from inside the story 
>> riverat least that is what I am thinking.
>>
>>
>> Birthe
>>
>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Birthe C
Hi Mohammed,

Go to http://tiddlyspot.com 
fill out the form and createbut do not go to your new site. Open the 
the tiddlywiki you want to upload in your browseropen control panel 
saving...and enter the name of your wiki and your password. When you save 
it should upload to your newly created tiddlyspot. I think we still need to 
use Chrome or chromium browser for this part.


Birthe

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b19f651e-d50b-493d-a934-21f152d6d623%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread @TiddlyTweeter
passingby, good to see your post!

It was a serious mistake that governments were stupidly slow when the net 
evolved. So far behind it is now a joke. That went so far that "common 
cause" has become reduced to "consumer trends".

The net--Google et al--is largely organised by corporations at the moment 
focused on markets.

It is a double whammy in that governments pressure those corps at points 
to, for instance, block Iranians. Giving the illusion government run things 
on the net. They don't.

The day to day logic is corporate, based in the dominant economic model, 
hugely successful economically. THAT is dangerous.

Its a weird situation to say the least.

IMO. The large corporations on the internet are far too big for a healthy 
future.

I actually think government is currently the lesser evil.

Thoughts
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6002661b-a281-4810-a6d8-188b7e74655b%40googlegroups.com.


[tw5] Re: TwederateBOB

2019-08-03 Thread Birthe C
Hi Jed,

That is overwhelming - totally excited about your news.
Jed, please do not give up on us. I am sure I am not the only one having 
some difficulties understanding it all. But curious and eager.that I am.


Birthe

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32580ccd-3930-419c-9a2a-a71d2aff5638%40googlegroups.com.


[tw5] Re: TwederateBOB

2019-08-03 Thread Jed Carty
Ste,

Yes, it is possible with what currently exists.

I got tired of trying to promote the single html file version of 
TWederation because it has been around for about 3 years and with 4 or 5 
very notable exceptions there was almost no response past 'I would like to 
try it when it is ready' despite it being ready.

After that I just didn't care enough to try and publicise it.

I am currently working on making inter-server federation work on Bob so 
that you can selectively sync with remote servers and have a mesh of 
servers working as a forum/IM system.

And on top of that I am playing with the components needed so that you 
could run it on your computer/phone/whatever and it could hook into the 
mesh as long as you could contact at least one other node on it. Or you 
could just run your own local or publicly available mesh.

In short, yes I am interested and this is a big reason that the next 
version of Bob is taking so long.

OokTech is probably going to start offering hosting for wikis on a Bob 
server in the near future (shh, it's a secret)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e76df2e3-9ab6-4b9e-ba8a-83a4b936f816%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Mat
(sorry for deleted post. I misunderstood Birthes reply)

Birthe, Aidan, thanks that explains 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e9d810cc-02d3-49cf-b460-25730ece58d5%40googlegroups.com.


[tw5] Re: TwederateBOB

2019-08-03 Thread Ste Wilson
I did not know any of that!
And I thought I kept up on this board! 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/adb7b433-d472-47f1-b439-9aefc49e454c%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Mat
Birthe C wrote:
>
> When you do not use a button, but want to create a new tiddler from 
> keyboard shortcut, you are not creating the tiddler from inside the story 
> riverat least that is what I am thinking.
>

Thanks but my question was more general; what contexts allow for action 
widgets? 
But it was intended as an aside, I shouldn't hijack Aidans thread so let's 
just drop it. 
I appreciate your reply Birthe.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d15d7ac9-6301-4449-b5d7-271ae598a435%40googlegroups.com.


[tw5] Re: TwederateBOB

2019-08-03 Thread Mat
I assume Jed / inmysocks will reply if when he reads this but if you're 
serious about engaging Ste...

Jed already has a server that he is willing to let people use for free! Here 
.

He has even invited people to put up e.g plugins for a central plugin 
repository!

He has also built much of the infrastructure for it, i.e a plugin 
 
that people can install so they have direct download access to the things 
on the server (a.k.a plugin library)

The single thing he is not brilliant at is to promote it ;-) ;-) ;-)

Now, the whole thing does need more "polishing" for most people to use it 
comfortably. In addition, my own opinion is that fetching tiddlers 
shouldn't have to be only from dedicated servers but from any tiddlywiki 
publicly hosted anywhere. I'm currently working on a UI for this (also 
based on Jeds creations). It is a rather slow process, partly because of my 
difficulty in expressing exactly what I need to make it possible to build 
on top of what he has created but also partly because, as indicated, people 
won't use it unless it is polished enough. People are accustomed to Apple 
design quality for everything.

Do you want to engage?

<:-)

>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c41a2b8-506f-4c2a-a1f6-1d2f72b5d428%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread Jed Carty
We are making reasonable progress with the inter-wiki federation so far. I 
am working on a project at the same time that uses hyperswarm (it is 
inspired by the BitTorrent DHT but it is made to make communication easier 
in the sense of finding specific peers instead of just some peers). It will 
be much harder to squish than most existing methods.

That doesn't mean it will be impossible, in order for it to not be possible 
we need to get a working large scale mesh in place (speaking of other 
projects I am working on)

But yeah, it is always going to be a race to see if people can find new 
ways to communicate before the existing ones are put under the control of 
some type of authority.

If it makes you feel better, most of the inspired engineers that I know are 
strongly anti-authoritarian (hail eris anyone?)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b619723-ab21-48bc-813b-4281541709c0%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread Mohammad
I recommend to watch the movie by Oliver Stone: 
https://en.wikipedia.org/wiki/Snowden_(film)
The Snowden movie: https://en.wikipedia.org/wiki/Snowden_(film)
You will learn much better about what governments interpret the word 
freedom!

--Mohammad 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/babcbe42-d5bc-45ef-ac5a-e3c8bdb3a7a5%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Mohammad
Birthe,
 I did and I got this error
 Uncaught TypeError: self.addIndexer is not a function

I used this page http://tiddlywiki5.tiddlyspot.com/ to create a new site
Seems does not work with TW 5.1.20pre
Mohammad

On Saturday, August 3, 2019 at 9:37:58 PM UTC+4:30, Birthe C wrote:
>
> Hi Mohammad,
>
> I do not think you can use Mats setup wiki. But you should be able to 
> upload to tiddlyspot directly using chrome or chromium. Are you having 
> problems with that?
>
>
> Birthe
>
> lørdag den 3. august 2019 kl. 16.23.41 UTC+2 skrev Mohammad:
>>
>> Mat,
>> Is it possible to upload 5.120pr?
>>
>> --Mohammad
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f1000f46-3a68-4e5b-8395-88be93384c88%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
What Birthe said, and also because of the previously noted requirement
specified in how to create a keyboard shortcut, global section.

On Sat, Aug 3, 2019, 12:02 PM Birthe C,  wrote:

> Hi Mat,
>
> When you do not use a button, but want to create a new tiddler from
> keyboard shortcut, you are not creating the tiddler from inside the story
> riverat least that is what I am thinking.
>
>
> Birthe
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0bo0tdMzEu_yt_Kxb2p%3Dy9OeVvdo9RFTrU%3DcLQRPCkZzg%40mail.gmail.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Mohammad
Hi Birthe,
 Do you mean to create a page on tiddlyspot and then drag and drop a 
TW5.1.20 over it?
Lets try!

--Mohammad

On Saturday, August 3, 2019 at 9:37:58 PM UTC+4:30, Birthe C wrote:
>
> Hi Mohammad,
>
> I do not think you can use Mats setup wiki. But you should be able to 
> upload to tiddlyspot directly using chrome or chromium. Are you having 
> problems with that?
>
>
> Birthe
>
> lørdag den 3. august 2019 kl. 16.23.41 UTC+2 skrev Mohammad:
>>
>> Mat,
>> Is it possible to upload 5.120pr?
>>
>> --Mohammad
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95edc3cb-aa25-4b03-a3d4-7818a10e8e7e%40googlegroups.com.


[tw5] TwederateBOB

2019-08-03 Thread Ste Wilson
The fabled holy grail... 

I believe it's possible right here right now thanks to the awesome bob. 
My understanding is we just need a server. 
And someone competent to do things. 

https://www.mythic-beasts.com/ seem to offer a very cheap hosting solution 
where we could have access to the command line on our own raspberry pi. 

Would that do the job? Would anybody contribute (I'm happy to put some quids 
in). 

What domain name? 

Would this be something anyone else is interested in? 




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e2d1cfff-ffde-4354-b27a-35b50e561f5e%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Birthe C
Hi Mat,

When you do not use a button, but want to create a new tiddler from 
keyboard shortcut, you are not creating the tiddler from inside the story 
riverat least that is what I am thinking.


Birthe

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.com.


[tw5] Re: Internet and freedom of communicating with fellow human beings

2019-08-03 Thread Mat
(I personally welcome off-topic discussions if they are few and also have 
*some* relevance like this one does even if just barely... but you should 
perhaps prefix the topic title with [off topic] or similar)

I think TW is very much created in the "freedom" spirit. Unfortunately it's 
most important project in this direction is still not quite here even if it 
is close (federation). There was some attention on the Beaker Browser 
 project a few years ago, with some vague 
connections to TW. If I understand the project ambitions right, it makes 
every computer be a server.

Your post talks about the political question at large though and I can only 
agree with your hinted concern. If Google groups was blocked, which is 
totally likely in some places, and possibly even the case in some other, 
then... yeah, what can we do? We're all citizens somewhere. I guess we'd do 
what they do in Hong Kong and Moscow just now? Or, better yet, prevent 
governments that oppose free speech from taking root to begin with, by 
educating people about how different forms of government work and not 
permit such forces to take charge. The most concrete action I can think of 
is to use your voting rights while the government is still not corrupt - 
and to shout out whenever there are tendencies in the wrong direction. 
Freedom is not for free.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3280a3a4-a6d7-41c6-bc67-b3bf1ad1c1d9%40googlegroups.com.


[tw5] Internet and freedom of communicating with fellow human beings

2019-08-03 Thread passingby
While trying to stay non-political, I think there is a need to discuss 
these issues where governments stop certain services in certain parts of 
the world. What if a part of the world is completely cut off? What if 
tomorrow, Google groups is stopped from being accessed from a country? In 
that situation how should fellow human beings communicate/share-resources 
on internet? 
Are we at mercy of governments ( well, yes, we are, but..)?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/464a5963-e6bc-49c6-ae56-94022103c960%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Mat
I'm curious; What made you choose specifically the navigator widget as the 
thing to trigger the action? 

I'm not saying I have any better suggestion, I'm just curious, and actually 
I'm wondering what things that can trigger actions other than a button and 
apparently also navigation. Anybody knows?

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4cd38a33-b10f-46cc-9a88-7fa4f232023d%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
I specifically DON"T want a button, so I was following the directions for a
global shortcut, which don't use buttons. As I noted, it works, but that
one weird error.

On Sat, Aug 3, 2019 at 11:10 AM Mat  wrote:

> Aidan, actionwidgets typically have to be inside a button. Try this:
>
> <$button>
> <$action-sendmessage
>  $message="tm-new-tiddler"
>  $param="meaningTemplate"
> />
> xxx
> 
>
> <:-)
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4645e285-4fd6-4b9e-be13-eea0db35fa26%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0bC0xy7H2X%2Ba0%3D4tSq_V5UieM8z%2BdYz%3Ds6sMzrakq9jng%40mail.gmail.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Mat
Aidan, actionwidgets typically have to be inside a button. Try this:

<$button>
<$action-sendmessage 
 $message="tm-new-tiddler" 
 $param="meaningTemplate"
/>
xxx


<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4645e285-4fd6-4b9e-be13-eea0db35fa26%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Birthe C
Hi Mohammad,

I do not think you can use Mats setup wiki. But you should be able to 
upload to tiddlyspot directly using chrome or chromium. Are you having 
problems with that?


Birthe

lørdag den 3. august 2019 kl. 16.23.41 UTC+2 skrev Mohammad:
>
> Mat,
> Is it possible to upload 5.120pr?
>
> --Mohammad
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b01eaf74-2979-4a90-b7dd-95faeeadf555%40googlegroups.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
Thanks Birthe,

I'll give that a shot and see if I can make it work.

On Sat, Aug 3, 2019 at 10:27 AM Birthe C  wrote:

> Hi Aidan,
>
> I looked in $:/core/ui/KeyboardShortcuts/new-tiddler, I think you could
> clone that and make a few changes
>
> That would look like this:
> <$navigator story="$:/StoryList" history="$:/HistoryList"
> openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}}
> openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}}
> relinkOnRename={{$:/config/RelinkOnRename}}>
> <$action-sendmessage
> $message="tm-new-tiddler"
> $param="meaningTemplate"
> />
> 
>
>
> Birthe
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/ba5dfa8a-37b6-4e80-825d-b4715d18dc92%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0aO8H7jo_FaqywVYX-bh%3DvGaiBoFVL7LCrTaNAn8jQAFw%40mail.gmail.com.


Re: [tw5] Re: Shortcut issue

2019-08-03 Thread Aidan Grey
Heya Mario,

[[How to create keyboard shortcuts]] says that some actions require to be
wrapped within a $navigator  widget.
That is necessary for the following list of widgets and messages in order
to work if used within global keyboard shortcuts, and tm-new-tiddler is in
the list.

It didn't do anything at all before I put the <$navigator>  in, which is
needed to capture the global shortcuts.

Aidan

On Sat, Aug 3, 2019 at 6:46 AM BurningTreeC 
wrote:

> Hi Aidan, does it work if you provide a storylist to the navigator widget
> like
>
> <$navigator story="$:/StoryList">
>
> ?
>
> Hey all,
>
>>
>> I created a global shortcut that creates a new tiddler from a template.
>> It works, except that I get this error:
>>
>> Uncaught TypeError: Cannot read property 'indexOf' of null
>>
>> I'm expecting to create a ton of tiddlers with the shortcut, so closing
>> the error every time defeats the purpose. What would be the fix for the
>> error?
>>
>> The action widget is tagged $:/tag/KeyboardShortcut, the key field is
>> "alt+M", and the widget text is:
>>
>> <$navigator>
>> <$action-sendmessage
>> $message="tm-new-tiddler"
>> $param="meaningTemplate"
>> />
>> 
>>
>> What did I miss?
>>
>> Thanks,
>> Aidan
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/158c5a09-32a2-4633-bf4d-e955a4a81d92%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0Yx2YG_viSgO_K2xnKHioZa%2B5VwRiZNB8Amfqor5WbL-A%40mail.gmail.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Then I know. Much appreciated that you replied.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d899806d-73d8-4489-894a-9baa3ff828df%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
Hi Mat

> Yes, the fragment (tiddler) - but if the whole url could be retrieved then I 
> could do the slicing myself.
> 
> BTW, I initially used "$:/info/url/full" which caused some confusion because 
> I assumed it really was the full url. Maybe it is misnamed? (Or maybe I don't 
> know what the "full url" is).

As I say, I don’t think it’s currently possible to read the fragment; it is not 
included in $:/info/url/full.

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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ef4b460e-aa9b-42f9-9f1c-3b2e34730239%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1D41BBF0-ED20-4A8B-8A7E-BF66CC2E7541%40gmail.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat

>
> If you are talking about fragment, then there’s no direct way to read it 
> at the moment.
>

Yes, the fragment (tiddler) - but if the whole url could be retrieved then 
I could do the slicing myself.

BTW, I initially used "$:/info/url/full" which caused some confusion 
because I assumed it really was the full url. Maybe it is misnamed? (Or 
maybe I don't know what the "full url" is).

<:-) 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef4b460e-aa9b-42f9-9f1c-3b2e34730239%40googlegroups.com.


[tw5] Re: Shortcut issue

2019-08-03 Thread Birthe C
Hi Aidan,

I looked in $:/core/ui/KeyboardShortcuts/new-tiddler, I think you could 
clone that and make a few changes

That would look like this:
<$navigator story="$:/StoryList" history="$:/HistoryList" 
openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} 
openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} 
relinkOnRename={{$:/config/RelinkOnRename}}>
<$action-sendmessage 
$message="tm-new-tiddler" 
$param="meaningTemplate"
/>



Birthe

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba5dfa8a-37b6-4e80-825d-b4715d18dc92%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
> So how would I test if the url has the suffix "foo”?

Just to check, in the example http://example.com/index.html#fragment 
 are you talking about “fragment” or 
“index.html”, or something else?

If you are talking about fragment, then there’s no direct way to read it at the 
moment.

Best wishes

Jeremy

> 
> I hope to do it at startup.
> 
> <:-)
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/84bff70b-a045-47f8-889d-75521fad6517%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A99A340C-CB3A-4005-ACB8-8E0118EE5312%40gmail.com.


[tw5] Re: Case insensitive fuzzy search of title in filter?

2019-08-03 Thread MagoArcade
Thanks all. I'd forgotten about regex, which solved it:

\define SearchTerm(term)
(?i)($term$)
\end





Set Parent Item:


<$edit-text tiddler="$:/_opTaskStore" field="itemsearch" tag="input" default
="" class='tc-edit-texteditor' placeholder='Test text'/>


<$button set="$:/state/ItemSearch" setTo={{$:
/_opTaskStore!!itemsearch}}>Search


test: {{$:/state/ItemSearch}}


<$wikify name="SearchTermWikid" text=<> 
>


wikid: <>


<$select field="SearchTermDD" class="tw-edit-texteditor myTextEdit">
<$list filter="[regexp:]" emptyMessage="No Results" >
>><$view field='title'/>






The "(?i)" in the regex makes it case insensitive.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7b33e404-d9a9-4510-b2f7-72212fd7fd01%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Thanks. 

So how would I test if the url has the suffix "foo"?

I hope to do it at startup.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84bff70b-a045-47f8-889d-75521fad6517%40googlegroups.com.


Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
Hi Mat

> Non of the info commands seem to access the marked out part. How do it?

There’s no consensus but it’s often called the “location hash”, “fragment 
identifier” or “named anchor”. In any case, it is not currently exposed by the 
info mechanism because   it instead exposed through the navigation mechanism.

Best wishes

Jeremy.

> 
> 
> 
> 
> Thanks!
> 
> <:-)
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/aff51d57-35ab-4092-b6c1-4f9962b99462%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8248AA03-4EC9-4945-B0B9-AAE90DE560F5%40gmail.com.


[tw5] Re: Case insensitive fuzzy search of title in filter?

2019-08-03 Thread Mohammad
Thats true ste

see

   - 
   
https://groups.google.com/forum/#!searchin/tiddlywiki/fuzzy$20search$20plugin|sort:date/tiddlywiki/ZvvLTxQz3Ag/xcDKMVr9CgAJ
   - 
   
https://groups.google.com/forum/#!searchin/tiddlywiki/fuzzy$20search$20plugin|sort:date/tiddlywiki/Co2dWbbCHTc/jaAbQKnNAgAJ
   
are some of those

--Mohammad

On Saturday, August 3, 2019 at 7:29:36 PM UTC+4:30, Ste Wilson wrote:
>
> I'm sure someone tackled this a while ago... 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82cbc97b-9b8c-428e-ba05-ad270fc5424f%40googlegroups.com.


[tw5] Re: Case insensitive fuzzy search of title in filter?

2019-08-03 Thread Ste Wilson
I'm sure someone tackled this a while ago... 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/708e19f7-b7cd-42f8-834c-fe6b12d1a7cd%40googlegroups.com.


[tw5] Re: Case insensitive fuzzy search of title in filter?

2019-08-03 Thread Mohammad
Nice stuff!
 I also recommend to  have a look at 
https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#z=qvnb1tyGX-Zfd0n7kl_Moj-d

-Mohammad


On Saturday, August 3, 2019 at 6:36:33 PM UTC+4:30, MagoArcade wrote:
>
> Hi - I'm trying to write a fuzzy search routine. At the moment I only know 
> how to search on the Prefix, but this only returns results on exact prefix 
> matches of precise case. What I'm aiming for is something like below. 
>
> Let's say I have 3 tiddlers:
>
> "The cat sat on the mat"
> "Cat littler needed"
> "Fight like fish and dog"
>
> If I type "cat" into the search box, it should return:
> "The cat sat on the mat"
> "Cat littler needed"
>
> Present code (abridged + working code with debug}:
>
> \define SearchTerm()
> [prefix[{{$:/state/ItemSearch}}]]
> \end
>
>
> 
>
>
> Set Parent Item:
>
>
> <$edit-text tiddler="$:/_opTaskStore" field="itemsearch" tag="input" 
> default="" class='tc-edit-texteditor' placeholder='Test text'/>
>
>
> <$button set="$:/state/ItemSearch" setTo={{$:
> /_opTaskStore!!itemsearch}}>Search
>
>
> test: {{$:/state/ItemSearch}}
>
>
> macrod: <>
>
>
> <$wikify name="SearchTermWikid" text=<> >
>
>
> wikid: <>
>
>
> <$select field="SearchTermDD" class="tw-edit-texteditor myTextEdit">
> <$list filter=<> >
> >><$view field='title'/>
> 
> 
>
>
> 
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2b1739b6-92d8-43ec-83d8-4343347af665%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-08-03 Thread Mohammad
Mat,
Is it possible to upload 5.120pr?

--Mohammad

On Thursday, July 25, 2019 at 6:26:08 PM UTC+4:30, Mat wrote:
>
> @Mohammad - if it is only a matter of demo sites, then I can recommend 
> tiddlyspot (most easily set up via this 
>  page)
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2e665d0c-8906-4808-bc25-aae557ea9438%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread Mohammad
Tony! 

> See this post!
>

https://groups.google.com/d/msg/tiddlywiki/xiCrpbATFqE/w-UjRxroFQAJ 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68b17c34-95e8-40d8-ad92-1ff9c33412f8%40googlegroups.com.


[tw5] Conditional Operators in TW 5.1.20

2019-08-03 Thread Mohammad
While there were alot of request for simple conditional operations, it 
seems the new TW 5.1.20 has this great feature

See

   - https://tiddlywiki.com/prerelease/#Conditional%20Operators

I think this needs to be discussed and examples are needed for clrification!

So, interested people, please give their use cases questions here!

-Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/08991d2b-017d-4c56-8997-d8496221587b%40googlegroups.com.


[tw5] Case insensitive fuzzy search of title in filter?

2019-08-03 Thread MagoArcade
Hi - I'm trying to write a fuzzy search routine. At the moment I only know 
how to search on the Prefix, but this only returns results on exact prefix 
matches of precise case. What I'm aiming for is something like below. 

Let's say I have 3 tiddlers:

"The cat sat on the mat"
"Cat littler needed"
"Fight like fish and dog"

If I type "cat" into the search box, it should return:
"The cat sat on the mat"
"Cat littler needed"

Present code (abridged + working code with debug}:

\define SearchTerm()
[prefix[{{$:/state/ItemSearch}}]]
\end





Set Parent Item:


<$edit-text tiddler="$:/_opTaskStore" field="itemsearch" tag="input" default
="" class='tc-edit-texteditor' placeholder='Test text'/>


<$button set="$:/state/ItemSearch" setTo={{$:
/_opTaskStore!!itemsearch}}>Search


test: {{$:/state/ItemSearch}}


macrod: <>


<$wikify name="SearchTermWikid" text=<> >


wikid: <>


<$select field="SearchTermDD" class="tw-edit-texteditor myTextEdit">
<$list filter=<> >
>><$view field='title'/>







-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f1349c5-ffdc-4516-a18e-d4c0da7e80a1%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread Mohammad
Tony
Have a look here, then else operator

https://github.com/Jermolene/TiddlyWiki5/issues/4147



On Saturday, August 3, 2019 at 4:00:07 PM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> Your first resort would be to the reveal widget since it already permits 
> such comparisons. I had raised the development of less than and greater 
> than operators but there is a real issues these raise because such tests 
> need to take account of the complexity inherent in numbers. I am sure 
> JavaScript can help.
>
> Never the less I will give your questions some thought and see if I can 
> craft a method with existing features. Then if we can't get something that 
> resembles plain English or is not too complex we can ask the developers.
>
> One method may be using one of the sort operators then testing the first 
> in the list. One trick could be to test if the original list ie two items 
> is in the same order after sorting or not. If such tests can be written in 
> a subfilter they could be easy to read 
> Eg [] [] +[subfilter[firstgreater]]
> Is true or not.
>
> Thanks for the challenge, I hope others take it on as well.
>
> Though do remember the rereleased version of Evans formulas plugin can do 
> all of this.
>
> Regards
> Tonu
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b0b13e83-62b1-4a14-8b13-fd72bbb3aead%40googlegroups.com.


[tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat

Non of the info commands seem to access the marked out part. How do it?

[image: Capture.PNG]

Thanks!

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aff51d57-35ab-4092-b6c1-4f9962b99462%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter
Ciao Mark

I'm not sure its worth it on bespoke %env%. I toyed around a bit. I kinda 
felt it was bending a bit backwards on it. A user who needs that special 
path only needs enter it once, (literally) right, anyway in Polly settings? 
So its seems like overkill to worry the point? But maybe I''m missing 
something?

But I do think automating a default o/s determined downloads dir does have 
traction in that its a common situation and (hopefully) makes immediate 
sense to many users (when we have more than two).

TT

On Friday, 2 August 2019 21:33:08 UTC+2, Mark S. wrote:
>
> That would be the original request. After some research, it looks like if 
> we bring in the settings like this:
>
>   $backupdir= $general["backupdir"]
>   $backupdir= [System.Environment]::ExpandEnvironmentVariables($backupdir) 
>
> (which we would probably put into a function to simplify)*
>
> And have a setting entry like:
>
> backupdir=%userprofile%\Downloads\polly-backup
>
> That it works. Maybe you want to try that and see what you think. Is the 
> extra complexity 
> worth the results?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7790ee11-99a6-4651-ab5f-9bb713cd8a02%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread Mohammad
Yes, the reveal widget is one solution!
It is important to have a readable and maintainable code!

--Mohammad

On Saturday, August 3, 2019 at 4:00:07 PM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> Your first resort would be to the reveal widget since it already permits 
> such comparisons. I had raised the development of less than and greater 
> than operators but there is a real issues these raise because such tests 
> need to take account of the complexity inherent in numbers. I am sure 
> JavaScript can help.
>
> Never the less I will give your questions some thought and see if I can 
> craft a method with existing features. Then if we can't get something that 
> resembles plain English or is not too complex we can ask the developers.
>
> One method may be using one of the sort operators then testing the first 
> in the list. One trick could be to test if the original list ie two items 
> is in the same order after sorting or not. If such tests can be written in 
> a subfilter they could be easy to read 
> Eg [] [] +[subfilter[firstgreater]]
> Is true or not.
>
> Thanks for the challenge, I hope others take it on as well.
>
> Though do remember the rereleased version of Evans formulas plugin can do 
> all of this.
>
> Regards
> Tonu
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1696ee1-e631-4ee3-a22e-1afaf3d94d96%40googlegroups.com.


[tw5] Re: Shortcut issue

2019-08-03 Thread PMario
Hi,

The navigator widget is very heavy weight. ... I think it should be 
possible to get what you want, without it. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2de11ecb-d790-4099-8aa2-75824a6933be%40googlegroups.com.


[tw5] Re: Shortcut issue

2019-08-03 Thread BurningTreeC
Hi Aidan, does it work if you provide a storylist to the navigator widget 
like

<$navigator story="$:/StoryList">

?

Hey all,

>
> I created a global shortcut that creates a new tiddler from a template. It 
> works, except that I get this error:
>
> Uncaught TypeError: Cannot read property 'indexOf' of null
>
> I'm expecting to create a ton of tiddlers with the shortcut, so closing 
> the error every time defeats the purpose. What would be the fix for the 
> error?
>
> The action widget is tagged $:/tag/KeyboardShortcut, the key field is 
> "alt+M", and the widget text is:
>
> <$navigator>
> <$action-sendmessage 
> $message="tm-new-tiddler" 
> $param="meaningTemplate"
> />
> 
>
> What did I miss?
>
> Thanks,
> Aidan
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/158c5a09-32a2-4633-bf4d-e955a4a81d92%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter
FYI, we now have two people interested ...

[image: Annotation 2019-08-03 143846.jpg]


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cbe29c4d-1519-4ab5-ab0a-be94c606a025%40googlegroups.com.


[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-03 Thread Mat
Melvin wrote:
>
> Thanks! I'll try it out. On thinking about it though (if I understand it 
> correctly), that also means that this will be displayed in all my other 
> edittext tags, even in other journal entries. That means this might make it 
> more error prone if I accidentally select another eddittext tag from 
> another journal entry, since I'll be overwriting the data.
>

It almost sounds as if you're modifying the actual edittext widget 
itself??? 

Exactly where do you put your code? What is the name of the tiddler and how 
is this tiddler tag(-pilled) ?
 

I'm not that deep into 'TiddlyWiki programming' yet.
>
> In fact, I just modified my TW to turn the 

[tw5] Re: TiddlySmile ...

2019-08-03 Thread @TiddlyTweeter
We received a message from April Mackenzie of Oxford, New Zealand. She asks 
...

Dear TT

 

Thank you for the onions.

 

I was wondering if in the upcoming  5.1.23 I will be able to automate the 
> feeding of my gerbils when I am on holiday?

 

 Yours, April

 
Dear April

I'm not sure. 5.1.23 may still not be able to do that, though it will be 
close.

You may want to look at Bob, that is already gerbil friendly.

Yours as ever
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cfd6fab8-c00b-4d16-89bb-fad65ffe9907%40googlegroups.com.


[tw5] Re: Shortcut issue

2019-08-03 Thread PMario
Hi, 
Why did you use the navigator widget?
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/276d9d87-8a0a-4e34-8eb8-5e52e626b802%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread TonyM
Mohammad,

Your first resort would be to the reveal widget since it already permits such 
comparisons. I had raised the development of less than and greater than 
operators but there is a real issues these raise because such tests need to 
take account of the complexity inherent in numbers. I am sure JavaScript can 
help.

Never the less I will give your questions some thought and see if I can craft a 
method with existing features. Then if we can't get something that resembles 
plain English or is not too complex we can ask the developers.

One method may be using one of the sort operators then testing the first in the 
list. One trick could be to test if the original list ie two items is in the 
same order after sorting or not. If such tests can be written in a subfilter 
they could be easy to read 
Eg [] [] +[subfilter[firstgreater]]
Is true or not.

Thanks for the challenge, I hope others take it on as well.

Though do remember the rereleased version of Evans formulas plugin can do all 
of this.

Regards
Tonu

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/10daccad-f495-41cc-bc88-ca6937161c00%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter

>
> Mark: * We should probably make our own routine library file at this point


You show what that would look like and I'll follow :-).

I do think hiving off repeated things is a good idea.

I also thinking about "extensions". The heart of Polly is your "while" 
looping magic. 

I'm trying to better understand if we could, maybe, add an entry point that 
isn't for the more complex restore part but for things like "forced parrot" 
or "launch" that are not restore processes, just a  single loop over 
settings. 

For instance in "menu" mode be able to run "once-menu", that would be 
"once" mode, but after completion returns to the menu. The point being ONE 
loop over the settings and return to menu. Hope this is clear!

Thoughts!

TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cd3a4ec6-8a90-447a-bb4e-7a7a145c6a56%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread Mohammad
Tony,
 One question, how do you propose to implement the below construct using 
$list widget

if a>b then
 do this part one
else if a
> Your welcome
>
> So on 5.1.20 
> <$list filter="[] ~[[false]]" variable=case>
><$list filter="[match[false]]" variable=case>
> Do this if no case value
>
><$list filter="[match[caseone]]" variable=case>
> Process "caseone"
>
><$list filter="[match[casetwo]]" variable=case>
> Process "casetwo"
>
><$list filter="[match[casethree]]" variable=case>
> Process "casethree"
>
>
> 
><$list filter="[match[casetwo]] [match[casethree]]" 
> variable=case>
> Process "casetwo" and "casethree"
>
> 
>
> Regards
> Tony
>
> On Thursday, August 1, 2019 at 3:34:59 AM UTC+10, Mohammad wrote:
>>
>> Thanks Tony!
>>  This is great for code readability!
>>
>> Cheers
>> Mohammad
>>
>> On Wednesday, July 31, 2019 at 5:46:25 PM UTC+4:30, TonyM wrote:
>>>
>>> Folks,
>>>
>>> Ad a result of Jeremy adding a new match operator to 5.1.20 the case 
>>> statements in this code pattern will be even more user friendly.
>>>
>>> First we would say
>>>
>>> [prefix[caseone]suffix[caseone]]
>>>
>>> Now we would say
>>> [regexp[^caseone$]]
>>>
>>> But this Will become which is easier to remember
>>> [match[caseone]]
>>>
>>> The regex example still points us to the best approach for more complex 
>>> tests but match will work for many common cases. 
>>>
>>> I will now abandon only testing the negative in binary comparisons such 
>>> as
>>> [] -[[false]]
>>>
>>> becomes
>>> [match[true]]
>>>
>>> the case insensitive option may also help when var or 
>>> [{$:/temp/tiddler}] was provided by the user in case they entered tRue and 
>>> other combinations by mistake.
>>>
>>> Thanks Jeremy
>>> Tony
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/886c14b0-6519-42e7-91d8-c46c8554d2ea%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread Mohammad
Added to TW-Scripts!

On Thursday, August 1, 2019 at 3:46:23 AM UTC+4:30, TonyM wrote:
>
> Your welcome
>
> So on 5.1.20 
> <$list filter="[] ~[[false]]" variable=case>
><$list filter="[match[false]]" variable=case>
> Do this if no case value
>
><$list filter="[match[caseone]]" variable=case>
> Process "caseone"
>
><$list filter="[match[casetwo]]" variable=case>
> Process "casetwo"
>
><$list filter="[match[casethree]]" variable=case>
> Process "casethree"
>
>
> 
><$list filter="[match[casetwo]] [match[casethree]]" 
> variable=case>
> Process "casetwo" and "casethree"
>
> 
>
> Regards
> Tony
>
> On Thursday, August 1, 2019 at 3:34:59 AM UTC+10, Mohammad wrote:
>>
>> Thanks Tony!
>>  This is great for code readability!
>>
>> Cheers
>> Mohammad
>>
>> On Wednesday, July 31, 2019 at 5:46:25 PM UTC+4:30, TonyM wrote:
>>>
>>> Folks,
>>>
>>> Ad a result of Jeremy adding a new match operator to 5.1.20 the case 
>>> statements in this code pattern will be even more user friendly.
>>>
>>> First we would say
>>>
>>> [prefix[caseone]suffix[caseone]]
>>>
>>> Now we would say
>>> [regexp[^caseone$]]
>>>
>>> But this Will become which is easier to remember
>>> [match[caseone]]
>>>
>>> The regex example still points us to the best approach for more complex 
>>> tests but match will work for many common cases. 
>>>
>>> I will now abandon only testing the negative in binary comparisons such 
>>> as
>>> [] -[[false]]
>>>
>>> becomes
>>> [match[true]]
>>>
>>> the case insensitive option may also help when var or 
>>> [{$:/temp/tiddler}] was provided by the user in case they entered tRue and 
>>> other combinations by mistake.
>>>
>>> Thanks Jeremy
>>> Tony
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71451245-1488-4b3f-9c73-135b65e0c2d6%40googlegroups.com.


[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-03 Thread Melvin
Thanks! I'll try it out.

I'm not that deep into 'TiddlyWiki programming' yet.

In fact, I just modified my TW to turn the 

[tw5] Re: Announcement: A small horizontal timeline

2019-08-03 Thread Mohammad
Sure :-)

On Saturday, August 3, 2019 at 1:11:05 PM UTC+4:30, TonyM wrote:
>
> Mohammad
>
> One word
>
> Beautiful.
>
> We must do a history of computing ending with its peak at tiddlywiki of 
> course.
>
> Regards
> Tony
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/931b1dd2-8126-41c9-b3bf-ac71ecb3cdd3%40googlegroups.com.


[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-03 Thread Mat
Thanks for sharing Melvin.

Just a note; your use of the html term "input tag" risks causing confusion 
here because in TW "tag" is the visual tag pills seen in tiddlers. Just 
sayin'.

A thought: Do you necessarily want to apply the text using a button or 
wouldn't it be more convenient if the text was simply applied as you type 
it? You can do this by this construct;

<$vars curr=<>>
<$tiddler tiddler=dummy>
<$edittext tiddler=<> field="thefieldyouwant" />




<:-)

>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c90e049b-12dc-464a-a9a1-f679dddc8251%40googlegroups.com.


[tw5] Re: Interesting Code Patterns? Handling the emptyMessage condition in the ListWidget Body, a CASE structure, complex formulas

2019-08-03 Thread @TiddlyTweeter
Ciao TonyM

I sat a bit with this and your last post that lists useful requests I've 
noted.

I think the issue, at root, is "regex" is an powerful pattern matching 
"language" built into JavaScript that TW has access to.

And its wortrh noting that a lot of TiddlyWiki, behind the scenes, uses it 
extensively (most "pragma" for instance use regexes within an "AST" (a 
framework that controls them) in applying WikiText).

Regex as a [filter] is interesting and useful, but I'm not sure it can be 
leveraged without slightly better understanding what regex can and can't do.

Important to note is regex has NO understanding of maths at all. YET you 
can use it, for instance, to support a system that needs proper accurate 
dates, including leap years and month days from 1000 to  in both the 
Grgeorian and Julian clanders. But it does NOT do it though calculation. It 
does it through pattern matching only.

Its this apparent weirdness in regex I think that is very confusing if you 
looking for a logical operator that can say "yes" or "the total is". That 
is not its strength and it will confound you thinking it might be (because 
it sort of looks "intelligent"--its actually more like using 
crossword-puzzles).

*So maybe what is perhaps needed most are some basic examples of what regex 
patterns are and how they match example data?*

BTW, the examples you ask about, when they involve matching strings in TW 
(not evaluation or math), are all easily doable via regex.

Thoughts
Josiah



TonyM wrote:
>
> With  *2019-08-01* give  *20190801* (remove delimiters
> or return 
> 2019
> 08
> 01
>
> Do the reverse? add "-" tt position 4 6 8
>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90579911-41c9-4b24-8444-3bcc6d63aaa5%40googlegroups.com.


[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-03 Thread Melvin
My final working code is:

goal 1: <$view field=g1_value/> <$edit-text 
tiddler="StoreDailyQuestionnaireData" field="g1_value"/> 
<$button>
<$action-setfield $field=g1_value 
$value={{StoreDailyQuestionnaireData!!g1_value}} />
<$action-setfield $tiddler="StoreDailyQuestionnaireData" $field="g1_value" 
$value="" />
change goal 1
 



On Friday, August 2, 2019 at 2:45:56 PM UTC+2, Melvin wrote:
>
> I got it by doing
>
> <$edit-text tiddler="StoreDailyQuestionnaireData" field="mytestfield"/>
> <$button><$action-setfield $field=demonstration1 
> $value={{StoreDailyQuestionnaireData!!mytestfield}} />Set the field 
> 1
> <$button><$action-setfield $field=demonstration2 
> $value={{StoreDailyQuestionnaireData!!mytestfield}} />Set the field 
> 2
>
> ---
> <$view field=demonstration1/>
> 
> <$view field=demonstration2/>
>
> On Friday, August 2, 2019 at 2:13:17 PM UTC+2, Melvin wrote:
>>
>> I am trying to find a suitable workaround for edit-text. I'm using 
>> TiddlyWiki as my journal.
>>
>> I have a template Tiddly for questions with radio buttons and all that. I 
>> clone it for the day, change the date and that is my new Tiddler.
>>
>> However, the amount of stuff I need to edit within my tiddler just to 
>> answer some questions is becoming a lot. I'd like to do it via input fields.
>>
>> For example, I have questions such as: what goal do you have for today 
>> (up to a max of 3 goals).
>>
>> Now I'd need to edit the Tiddler for it.
>>
>> But I'd like to simply see an input tag with a button save next to it and 
>> when I type in my goal and click "save!" it replaces the text that was 
>> within the field.
>>
>> In that sense it looks a lot like the appender of the following 
>> TiddlyWiki at http://skeeve.tiddlyspot.com/
>>
>> Another example (but then with a dropdown menu instead of free input 
>> text) is 
>> http://inmysocks.tiddlyspot.com/#Concatenating%20Strings%20-%20What%20Breaks
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a92b950f-6d44-49c7-a940-1c4d6d2e048e%40googlegroups.com.


[tw5] Re: Announcement: A small horizontal timeline

2019-08-03 Thread TonyM
Mohammad

One word

Beautiful.

We must do a history of computing ending with its peak at tiddlywiki of course.

Regards
Tony

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5b479d9-7cfc-400d-a438-bdf35590e638%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter
Mark S. wrote:
>
> Oops. Ok, changes ...
>

Thanks. Zip archives are named as expected now. But I'll do a but more 
testing too.

I revised the test system to list the new nested backups and zips. I'll 
include that in my next update.

Re "." or "-" in names. I prefer the way you did it with "-". Just a 
preference not to see an ".ext" in the middle of a file name. 
I think its good though you used "." in the sub dir names. Makes explicit 
the connection to the source wiki.

FYI, I'm slightly delayed on settings creation thing. I got it working but 
need to now integrate it properly.

TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/12f98761-3821-4ca3-ac45-ab9bf3b4180c%40googlegroups.com.


[tw5] Re: position in a list

2019-08-03 Thread Mohammad
Smart solution Mark!

Added to TW-Scripts.

On Saturday, August 3, 2019 at 12:30:01 AM UTC+4:30, Mark S. wrote:
>
> I think this answers your question as described in your text -- note that 
> it specifies both numbers to compare. It uses pre20
>
> <$vars selected=7 whereami=8>
> <$list filter="[range[1,10]allbeforematch]">
> <>  is before selected item <>
> 
> <$list filter="[range[1,10]allaftermatch]">
> <>  is after selected item <>
> 
> 
>
>
> On Friday, August 2, 2019 at 5:41:33 AM UTC-7, Mohammad wrote:
>>
>> A partial solution
>>
>> <$set name=selected value=7>
>> <$list filter="[range[1,10]]"  variable="item" >
>> <$list filter="[range[1,10]allbefore] +[prefix]">
>> <>  is before selected item: <>
>> 
>> 
>> 
>>
>>
>>
>> This works, any better idea? Any TW intrinsic solution?
>>
>>
>> --Mohammad
>>
>> On Friday, August 2, 2019 at 4:59:10 PM UTC+4:30, Mohammad wrote:
>>>
>>> I have a list of tiddlers, I iterate over the list and I want to know if 
>>> an item is before or after the selected item!
>>>
>>> How to do this?
>>>
>>>
>>> --Mohammad
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/41005933-9387-481f-ba29-3c8d67d8b189%40googlegroups.com.


[tw5] Re: Announcement: A small horizontal timeline

2019-08-03 Thread Mohammad
Hi,
 I am happy you like these stuff!

Cheers
Mohammad

On Saturday, August 3, 2019 at 2:59:12 AM UTC+4:30, A Gloom wrote:
>
> Mohammad!
>
> I can't keep up with all your nifty stuff!  That's not a complaint, but a 
> good thing-- you'll keep me bust for a long 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7e305a1c-57fd-497c-8240-8fcf95532900%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-03 Thread @TiddlyTweeter
Scott Kingery wrote:
>
> You are right, Polly is more of a saving/restoring solution than a 
> launcher and development should go in that direction
>

Actually auto-launch of a few wiki is not a bad idea at all! We're thinking 
about it. Its just being able to launch one when settings has more than one 
that is the issue--since Polly is designed to recurse over all entries for 
wiki in settings.  

The %userprofile%/downloads was just an example. I could easily see where 
> I'd put my wikis in Google Drive (for example) and reference them locally 
> as %userprofile%\Google Drive\tiddlywiki  This has the potential of only 
> needing 1 .ini file across my synced devices. 
>

Right. But Mark & I just testing on this. It raised some interesting, 
relevant,  questions.
 

> Can I run Polly.bat with different ini files? I see that is available with 
> polly-once.bat
>

Yes you can have as many different settings files as you want. And all of 
them can be run in any one of the current *-run* modes ("auto", "once", 
"menu"). Later we'll probably write a few examples of bat files that load a 
specific settings profile. Testing indicates that you can, if needed, run 
more than one at a time.

Best
TT 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec6fdea1-f7ff-4054-9b8d-3c4f25d6cc0b%40googlegroups.com.


[tw5] Re: TW single file 5.1.19 upgrade saved file size

2019-08-03 Thread A Gloom

>
> When you save a wiki there is a filter in which you can exclude temp or 
> other tiddlers if desired.
>
> Thanks for sharing your observations.
>

I shall check into that, that was quite a few "$:/state/edit-title" 
tiddlers that spparently weren't needed.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc1926c7-7b88-4c0d-a669-c03ab23dfa1c%40googlegroups.com.