[tw5] Re: New tiddlywiki, same setup

2020-07-15 Thread Saq Imtiaz
@dan have you looked at http://snowgoon88.github.io/TW5-extendedit/ ?

On Wednesday, July 15, 2020 at 8:40:16 AM UTC+2, danraymond wrote:
>
> Hi Eric;
>
> I was looking at this solution for Sara and realised it may help me with 
> an issue I have been trying to solve. I am a very long term TiddlyWiki 
> Classic (Thank you Jeremy!) user and am now learning the internals of TW5 
> and loving it.
>
> I am trying to develop some ZettelKasten bits so I can move away from 
> Zettlr (which is fabulous by the way worth exploring). Zettlr and other 
> similar programs offer a list of existing MD files in the same folder when 
> you type the [[ to start a link, you can select one and the link inserts or 
> ESC and type your own link details.
>
> Whilst I think its impossible to do that directly when editing a tiddler, 
> I thought I could add a toolbar button in the editor that:
> 1. produced a selectable list of existing tiddlers (similar to your 
> solution here) and
> 2. When selected inserted it in the text area of the tiddler.
>
> I am trying to modify the first part of your code to do the dropdown list 
> of tiddlers, but not sure how to have it insert the tiddler name as a [[my 
> selected tiddler]]?
>
> Can you help me please?
>
>

-- 
You received this message because 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/1cfcaec8-846f-47b6-9c4b-8b6217d5e1fao%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-14 Thread danraymond
Hi Eric;

I was looking at this solution for Sara and realised it may help me with an 
issue I have been trying to solve. I am a very long term TiddlyWiki Classic 
(Thank you Jeremy!) user and am now learning the internals of TW5 and 
loving it.

I am trying to develop some ZettelKasten bits so I can move away from 
Zettlr (which is fabulous by the way worth exploring). Zettlr and other 
similar programs offer a list of existing MD files in the same folder when 
you type the [[ to start a link, you can select one and the link inserts or 
ESC and type your own link details.

Whilst I think its impossible to do that directly when editing a tiddler, I 
thought I could add a toolbar button in the editor that:
1. produced a selectable list of existing tiddlers (similar to your 
solution here) and
2. When selected inserted it in the text area of the tiddler.

I am trying to modify the first part of your code to do the dropdown list 
of tiddlers, but not sure how to have it insert the tiddler name as a [[my 
selected tiddler]]?

Can you help me please?

-- 
You received this message because 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/548aaba4-f068-4e0d-8b54-d86034cbef8ao%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-05 Thread Jon
I'll try and remember that next time I'm talking to my boss!

On Sunday, 5 July 2020 09:22:14 UTC+1, Eric Shulman wrote:
>
> On Sunday, July 5, 2020 at 12:57:04 AM UTC-7, Jon wrote:
>>
>> The positive approach something that I've always observed on the forum - 
>> interesting to read that it is not just by accident.
>>
>
> The key to constructive discussions is this:
>
> "It is possible to disagree, without being disagreeable."
>
>  -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e37956c1-2b7a-4ea8-b764-9abed3a31678o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-05 Thread Eric Shulman
On Sunday, July 5, 2020 at 12:57:04 AM UTC-7, Jon wrote:
>
> The positive approach something that I've always observed on the forum - 
> interesting to read that it is not just by accident.
>

The key to constructive discussions is this:

"It is possible to disagree, without being disagreeable."

 -e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd9d5f9d-3386-440e-b6e2-4918861c31b7o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-05 Thread Jon
The positive approach something that I've always observed on the forum - 
interesting to read that it is not just by accident.

Regards
Jon

On Sunday, 5 July 2020 03:46:39 UTC+1, Sara wrote:
>
>
>
> On Sunday, 5 July 2020 10:25:35 UTC+10, Eric Shulman wrote:
>>
>>
>> I like to think that, in addition to the truly awesome technology that 
>> Jeremy has created, it is the nature and tone of these groups that has made 
>> TiddlyWiki a success for so long.
>>
>> -e
>>
>
> This whole exchange shows they clearly go hand in hand! :)
>

-- 
You received this message because 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/50ab33f8-fa28-401f-8ade-a98cdbc3e81co%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-04 Thread Sara


On Sunday, 5 July 2020 10:25:35 UTC+10, Eric Shulman wrote:
>
>
> I like to think that, in addition to the truly awesome technology that 
> Jeremy has created, it is the nature and tone of these groups that has made 
> TiddlyWiki a success for so long.
>
> -e
>

This whole exchange shows they clearly go hand in hand! :)

-- 
You received this message because 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/f9a37c34-25c7-4ef6-83ea-901dcea42e77o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-04 Thread Eric Shulman
On Saturday, July 4, 2020 at 3:05:03 PM UTC-7, Sara wrote:
>
> If this group is a reflection of TW itself, it's no surprise it's full of 
> heart!
>

Along with Jeremy Ruston (creator of TiddlyWiki), I have been the 
administrator of this GoogleGroup for over 15 years.  Very early on, we 
established a policy of "positiveness" to guide all communication about 
TiddlyWiki.  Working by example, both Jeremy and I have encouraged people 
to maintain a focus on the technology itself and avoid injecting any 
judgmental negativity into the conversations.

Over the years, there have been a few moments when aggressive attitudes or 
snarky tones have arisen.  In most cases, these have been quickly and 
politely remedied, and only in a handful of instances have we had to remove 
people from the group for persistently hostile personalities.  The result 
is that the TiddlyWiki groups are all friendly, welcoming places to get 
help and share our ideas and individual achievements with others.

I like to think that, in addition to the truly awesome technology that 
Jeremy has created, it is the nature and tone of these groups that has made 
TiddlyWiki a success for so long.

-e

>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b73783aa-4f45-46e3-bab8-3296c16ec13fo%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-04 Thread Sara
thanks Jon (and all) I'll check it out.

If this group is a reflection of TW itself, it's no supirse it's full of 
heart!

On Saturday, 4 July 2020 16:11:33 UTC+10, Jon wrote:
>
> Going forward Sara, you might also find Tiddler Commander 
>  useful for doing batch 
> operations. 
>
> Regards
> Jon
>
> On Saturday, 4 July 2020 05:40:45 UTC+1, Eric Shulman wrote:
>>
>> On Friday, July 3, 2020 at 9:38:28 PM UTC-7, Sara wrote:
>>>
>>> PS. Apologies for my over exuberance... I'd spent too much time with so 
>>> little success... so your quick response and solution was deeply 
>>> appreciated!
>>>
>>
>> No apologies are needed!  It feels good to know that my help is so 
>> resoundingly appreciated.  So, thank YOU!
>>
>> -e
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7e9f1028-1d37-4daa-9a1f-32da68a3121do%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-04 Thread passingby
Well if you stick around this group, you will realize that this group is 
totally unlike other groups. You can ask a question, any question, any 
level, and nobody ever chides you or give you  'show your efforts first' or 
'we are not here for your homework' type of responses. People here are very 
helpful, honestly. And of course, Eric is a total master of his craft, I 
respect him a lot.

On Friday, July 3, 2020 at 8:49:45 PM UTC-7 Sara wrote:

> Wow!
>
> Thanks so much Eric!! I tried it and it works perfectly :)
>
> Thanks you so so much for taking the time to respond so fully! And giving 
> an explanation of how it works me keen to explore more of the functionality 
> and know-how in this great piece of code!
>
> It's so cool when people can share and give so freely. You've made my day 
> :)
>
> Sara
>
>
> On Saturday, 4 July 2020 12:46:43 UTC+10, Sara wrote:
>>
>> Hi all,
>> Firstly, many thanks for an extraordinary resource! I'm relatively new to 
>> TW and I'm sure I'm only using a fraction of it's ability but I love it!
>>
>> Something I want to do but cannot find anywhere, is to start a new 
>> tiddlywiki with the same setup as my old. I really like the theme, plugins 
>> and what I have set up works just right for me. If I want to start a new TW 
>> and keep all those setting (some of which are tags) how do I get rid of all 
>> the tiddlers in the old one?
>>
>> Hopefully that makes sense and that there's a straightforward solution 
>> that somebody can help me with...
>>
>> Many thanks (again!)
>>
>> Sara
>>
>

-- 
You received this message because 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/8d69e560-62ca-45a3-9162-6bff9298a071n%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-03 Thread Jon
Going forward Sara, you might also find Tiddler Commander 
 useful for doing batch operations. 

Regards
Jon

On Saturday, 4 July 2020 05:40:45 UTC+1, Eric Shulman wrote:
>
> On Friday, July 3, 2020 at 9:38:28 PM UTC-7, Sara wrote:
>>
>> PS. Apologies for my over exuberance... I'd spent too much time with so 
>> little success... so your quick response and solution was deeply 
>> appreciated!
>>
>
> No apologies are needed!  It feels good to know that my help is so 
> resoundingly appreciated.  So, thank YOU!
>
> -e
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b8f4de3-47ec-4858-be6d-29426be09abdo%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-03 Thread Eric Shulman
On Friday, July 3, 2020 at 9:38:28 PM UTC-7, Sara wrote:
>
> PS. Apologies for my over exuberance... I'd spent too much time with so 
> little success... so your quick response and solution was deeply 
> appreciated!
>

No apologies are needed!  It feels good to know that my help is so 
resoundingly appreciated.  So, thank YOU!

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c707ab9f-7fc8-4f0f-b757-545821bc9c55o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-03 Thread Sara
PS. Apologies for my over exuberance... I'd spent too much time with so 
little success... so your quick response and solution was deeply 
appreciated!

On Saturday, 4 July 2020 13:39:10 UTC+10, Eric Shulman wrote:
>
> On Friday, July 3, 2020 at 7:46:43 PM UTC-7, Sara wrote:
>>
>> Something I want to do but cannot find anywhere, is to start a new 
>> tiddlywiki with the same setup as my old. I really like the theme, plugins 
>> and what I have set up works just right for me. If I want to start a new TW 
>> and keep all those setting (some of which are tags) how do I get rid of all 
>> the tiddlers in the old one?
>>
>
> If you can write a *filter* that lists all the tiddlers you want to delete,
> then you can use the $:/AdvancedSearch filter tab to list those tiddlers
> and then press the delete ("trash can") button.  You will be asked to
> confirm before the tiddlers are deleted.
>
> However... since you are new to TW, it might be difficult for you to
> compose the needed filter syntax to get the list you want.  It could
> also be difficult (if not impossible) to compose a suitable filter if
> there isn't a consistent pattern that can be used to recognize which
> tiddlers you want to select.
>
> Instead, the following wiki syntax can be used:
>
> <$select tiddler="$:/temp/selected" multiple="yes" size="10">
> <$list filter="[all[tiddlers]!prefix[$:/]]">
>>><$text text=<>/>
> 
> 
> 
>
> !!There are <$count filter={{$:/temp/selected}}/> selected tiddlers: 
> <$button> delete
><$action-deletetiddler $filter={{$:/temp/selected}}/>
><$action-deletetiddler $tiddler="$:/temp/selected"/>
> 
> <$list filter={{$:/temp/selected}}><$link />
>
> Just copy/paste the above into a tiddler (e.g., "DeleteSelectedTiddlers").
>
> The first part of the above code generates a <$select> (listbox) that 
> shows all
> the tiddlers in your document (except for the ones starting with "$:/", 
> which are
> not usually "content" tiddlers).
>
> This listbox allows *multiple selections*:
>   * click an item to choose one tiddler
>   * shift-click to choose a range of tiddlers (from the last click to the 
> current one)
>   * ctrl-click toggles selection of the tiddler you click on  
>
> The second part of the code shows the total number of tiddlers you have 
> selected,
> followed by a "delete" button, and a numbered list of the selected 
> tiddlers.  Each item
> in the list is a link to that tiddler, so you can easily click on the link 
> to open the tiddler
> if you need to review/confirm that it really should be deleted.
>
> Start by MAKING A COPY of the TiddlyWiki file you want to duplicate.  If 
> you are using
> the "default download saver", then you can use the "save changes" button 
> in TW to
> create a new copy of the existing TiddlyWiki file.  If you are using some 
> other saver
> that defaults to overwriting the current TiddlyWiki, then use your 
> computer's normal
> method for making a duplicate of an existing file.
>
> Then, open the duplicated file and view the "DeleteSelectedTiddlers" 
> tiddler.  Use
> the listbox as described above to select all the tiddlers you want to 
> delete.  Once you
> are satisfied with your selection(s), just press the "delete" button, and 
> those
> tiddlers will be removed from your document.
>
> Note that this action cannot be "undone" so be sure you have the right 
> tiddlers selected
> before you press the button!  Of course, if you make a mistake and delete 
> something
> you didn't mean to, you can always start over, as long as you haven't 
> saved the current
> TiddlyWiki!
>
> If you have any questions about the above instructions, please ask!
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
> InsideTiddlyWiki - http://TiddlyTools.com/InsideTW
>

-- 
You received this message because 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/930abb67-6deb-475f-a273-39bebd8d7778o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-03 Thread Sara
Wow!

Thanks so much Eric!! I tried it and it works perfectly :)

Thanks you so so much for taking the time to respond so fully! And giving 
an explanation of how it works me keen to explore more of the functionality 
and know-how in this great piece of code!

It's so cool when people can share and give so freely. You've made my day :)

Sara

On Saturday, 4 July 2020 12:46:43 UTC+10, Sara wrote:
>
> Hi all,
> Firstly, many thanks for an extraordinary resource! I'm relatively new to 
> TW and I'm sure I'm only using a fraction of it's ability but I love it!
>
> Something I want to do but cannot find anywhere, is to start a new 
> tiddlywiki with the same setup as my old. I really like the theme, plugins 
> and what I have set up works just right for me. If I want to start a new TW 
> and keep all those setting (some of which are tags) how do I get rid of all 
> the tiddlers in the old one?
>
> Hopefully that makes sense and that there's a straightforward solution 
> that somebody can help me with...
>
> Many thanks (again!)
>
> Sara
>

-- 
You received this message because 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/d3e4b87c-6ee0-4b48-86a5-49bd25c960a0o%40googlegroups.com.


[tw5] Re: New tiddlywiki, same setup

2020-07-03 Thread Eric Shulman
On Friday, July 3, 2020 at 7:46:43 PM UTC-7, Sara wrote:
>
> Something I want to do but cannot find anywhere, is to start a new 
> tiddlywiki with the same setup as my old. I really like the theme, plugins 
> and what I have set up works just right for me. If I want to start a new TW 
> and keep all those setting (some of which are tags) how do I get rid of all 
> the tiddlers in the old one?
>

If you can write a *filter* that lists all the tiddlers you want to delete,
then you can use the $:/AdvancedSearch filter tab to list those tiddlers
and then press the delete ("trash can") button.  You will be asked to
confirm before the tiddlers are deleted.

However... since you are new to TW, it might be difficult for you to
compose the needed filter syntax to get the list you want.  It could
also be difficult (if not impossible) to compose a suitable filter if
there isn't a consistent pattern that can be used to recognize which
tiddlers you want to select.

Instead, the following wiki syntax can be used:

<$select tiddler="$:/temp/selected" multiple="yes" size="10">
<$list filter="[all[tiddlers]!prefix[$:/]]">
   >><$text text=<>/>




!!There are <$count filter={{$:/temp/selected}}/> selected tiddlers: 
<$button> delete
   <$action-deletetiddler $filter={{$:/temp/selected}}/>
   <$action-deletetiddler $tiddler="$:/temp/selected"/>

<$list filter={{$:/temp/selected}}><$link />

Just copy/paste the above into a tiddler (e.g., "DeleteSelectedTiddlers").

The first part of the above code generates a <$select> (listbox) that shows 
all
the tiddlers in your document (except for the ones starting with "$:/", 
which are
not usually "content" tiddlers).

This listbox allows *multiple selections*:
  * click an item to choose one tiddler
  * shift-click to choose a range of tiddlers (from the last click to the 
current one)
  * ctrl-click toggles selection of the tiddler you click on  

The second part of the code shows the total number of tiddlers you have 
selected,
followed by a "delete" button, and a numbered list of the selected 
tiddlers.  Each item
in the list is a link to that tiddler, so you can easily click on the link 
to open the tiddler
if you need to review/confirm that it really should be deleted.

Start by MAKING A COPY of the TiddlyWiki file you want to duplicate.  If 
you are using
the "default download saver", then you can use the "save changes" button in 
TW to
create a new copy of the existing TiddlyWiki file.  If you are using some 
other saver
that defaults to overwriting the current TiddlyWiki, then use your 
computer's normal
method for making a duplicate of an existing file.

Then, open the duplicated file and view the "DeleteSelectedTiddlers" 
tiddler.  Use
the listbox as described above to select all the tiddlers you want to 
delete.  Once you
are satisfied with your selection(s), just press the "delete" button, and 
those
tiddlers will be removed from your document.

Note that this action cannot be "undone" so be sure you have the right 
tiddlers selected
before you press the button!  Of course, if you make a mistake and delete 
something
you didn't mean to, you can always start over, as long as you haven't saved 
the current
TiddlyWiki!

If you have any questions about the above instructions, please ask!

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki - http://TiddlyTools.com/InsideTW

-- 
You received this message because 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/507b898d-16e1-4875-895f-938be67d3a32o%40googlegroups.com.