[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Mohammad
Yep, That is really handy! Specially when you write codes Thanks Tnoy for the hint! Cheers Mohammad On Thursday, February 14, 2019 at 9:39:51 AM UTC+3:30, tony wrote: > > The command mode from the CodeMirror plugin with CodeMirror Keymap: vim > > works quite lovely with > > :%s/foo/bar/gc > >

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread tony
The command mode from the CodeMirror plugin with CodeMirror Keymap: vim works quite lovely with :%s/foo/bar/gc Even more delicious is that yanks work across the tiddlers, ie yy to yank a line in one tiddler, open a different tiddler and p to paste Heck, even :sort to sort all lines in the tid

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Mohammad
Tony, I am looking to find a way to replace a word/phrase using Tiddler Commander! But seems not straightforward at all!! So, I ignore it and will wait to see when TW itself supports such feature. --Mohammad On Thursday, February 14, 2019 at 7:26:16 AM UTC+3:30, TonyM wrote: > > Mohammad, > >

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Mohammad
Thanks Birthe. Thanks for your kind words! I gonna to be among the the Tiddlywiki Noble Prize winners :-) (the best joke of 2019!!) --Mohammad On Thursday, February 14, 2019 at 8:46:36 AM UTC+3:30, Birthe C wrote: > > Hi Mohammad, > > https://danielorodriguez.com/TW5-searchNreplace/ or Steph

[tw5] Re: I think we are entering the Golden Age of TiddlyWiki -- a thought

2019-02-13 Thread 'LorenzGL' via TiddlyWiki
I've been playing with Tiddlywiki for more than 10 years. I always loved it and wanted to use it... but it never quite worked out. Late last autumn I started to seriously tinker with it to create a flexible knowledge base that I want to use for production work. Now just the past couple of weeks

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Birthe C
Hi Mohammad, https://danielorodriguez.com/TW5-searchNreplace/ or Stephens Kimmels http://skplugins.tiddlyspot.com/#FindReplace both working in the tiddler editor. You are always busy, having good ideas. I enjoy it very much. Birthe -- You received this message because you are subscribed to

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Good point! I am still worry to complicate things, but absolutely this is a TW way. I am doing to see how it works. Also I add a checkbox for remove field dropdown to check if the system field shall be included (e.g creator, modifier, tags, text,...) --Mohammad On Thursday, February 14, 2019

[tw5] Re: Tiddler Commander

2019-02-13 Thread 'Mark S.' via TiddlyWiki
I was thinking of a nested loop that would test all possible new names, and list any conflicts. The user would have to decide how to proceed after that. It's similar to merging in Git, where the user has to decide how to fix conflicts. -- Mark On Wednesday, February 13, 2019 at 8:05:43 PM UTC-

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Mark, What is your idea for confirmation alert? The TW widgets has no parameter to check this. I noted the tm-delete-tiddler has this abbility. One way is to write a macro to check the existence of any newly created tiddler. As you see working on tittle actually create new tiddler with reques

Re: [tw5]Macro interactions

2019-02-13 Thread Mal
Adam, Sorry my response (above) was a bit off the mark. This has taught me a couple of important lessons: 1. I need to make sure to read and understand the documentation at tiddlywiki.com - It may not be particularly user-friendly, but it is accurate and concise. 2. In Tiddlywiki t

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread TonyM
Mohammad, There is an additional plugin for search and replace in code mirror. In the regular editor and text areas the browser search and replace can be used, and browser plugins found that help. For large and complex tiddlers i prefer to use a browser plugin to open the text area in an exter

[tw5] Re: Tiddler Commander

2019-02-13 Thread TonyM
Mohammad I agree I also suggested a tag for others to place extensions into commander. My only concern was to put the argument it should only ever be a key plugin not nessasarily core, or in empty so you proceed with this in mind. This issue is also importiant for a broader audience it seemed a

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Mohammad
Is these any existing macro to do that? On Thursday, February 14, 2019 at 5:05:59 AM UTC+3:30, Mark S. wrote: > > AFAIK, unless there's some brand-new operators, you can't actually replace > text *inside* of tiddler text or fields. For that you'll need some 3rd > party macro or widget. > > -- M

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread Mohammad
Just in tiddler. M. On Thursday, February 14, 2019 at 2:05:02 AM UTC+3:30, @TiddlyTweeter wrote: > > Do you mean across the whole of a TiddlyWiki? > > Or just within a Tiddler? > > J. > > On Wednesday, 13 February 2019 23:16:55 UTC+1, Mohammad wrote: >> >> Is there any way to search and replace in

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Hi Tony! I think Commander is in beta stage. It seems it is useful. So, my aim is to get it working, fixing issues. I try to keep it simple, modular and easy to understand. By modular, I mean to be extended simply as Josiah noted above. That is the objectives for time being. --Mohammad On Th

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread TonyM
Mark I belive what you say to be generaly true yet recall an auto tag or auto l8nk plugin that scans text to find and change things. H Regards Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop rec

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Thanks Mark. Looking for more contribution :-) --Mohammad On Thursday, February 14, 2019 at 2:04:55 AM UTC+3:30, Mark S. wrote: > > This will let you select fields from the existing pool -- but only if they > exist in tiddlers selected by the current filter. That way you are > inundated with th

[tw5] Re: Tiddler Commander

2019-02-13 Thread h0p3
You make an excellent argument. You've changed my mind. I want to modify my claim in light of it. <<< On Commander and Empty.html, I would not want Commander, ideally not even tag manager and Tiddler manager in the core and thus always in empty.html because what ever I build should not automat

[tw5] Re: bash script fails after git update (node.js on linux)

2019-02-13 Thread Rich
These suggestions fixed everything. The only scary thing was that my tiddlers took about 15 seconds to show their content. SHould I file an issue or is thisan expected part of "laziness?" Thnx again! On Sunday, February 10, 2019 at 2:37:15 AM UTC-10, Rich wrote: > > Thanks Jeremy and JWD. I go

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread 'Mark S.' via TiddlyWiki
AFAIK, unless there's some brand-new operators, you can't actually replace text *inside* of tiddler text or fields. For that you'll need some 3rd party macro or widget. -- Mark On Wednesday, February 13, 2019 at 2:16:55 PM UTC-8, Mohammad wrote: > > Is there any way to search and replace in >

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread TonyM
Using filters you can test for particular values in fields SEARCH and use a button and action widget to setfield values REPLACE either for one tiddler or a batch of tiddlers. If your field contains multiple values you may need to use the list operators to change one only in a list. Global sear

[tw5] Re: Tiddler Commander

2019-02-13 Thread TonyM
Mohammad, This question of "In the Core" is a repeating one and I believe often a source of unnecessary debate. I hope I can shed a little light on it here from my perspective. The key phrase I believe is "chose to remove" - When something is in the core is is not removable from TiddlyWiki

[tw5] Re: I think we are entering the Golden Age of TiddlyWiki -- a thought

2019-02-13 Thread TonyM
Josiah, Perhaps this is true, the developments and possibilities are expanding at an incredible rate from a base that was already almost infinite in applications. I see this in - Additional Server options and static file hosting - Multi-access solutions like bob - PHP hosting - Ti

Re: [tw5] Re: Creating a link to a tiddler that opens target in edit mode

2019-02-13 Thread stefano franchi
In fact, given the "personal knowledge base/personal journal" stated goal of TW, I think it would be nice to have a simple plugin that a. Creates a tiddler with a sorted list of journal tiddlers b. Puts edit buttons next to each item c. Has a "new journal entry" button at the top. d. Reformat the

Re: [tw5] Re: Creating a link to a tiddler that opens target in edit mode

2019-02-13 Thread stefano franchi
Nice ideas! (Both Jack's and Mark's) I think I am going to steal them both. S. On Wed, Feb 13, 2019 at 1:29 PM Jack Baty wrote: > The button works great, thanks! > > On Wednesday, February 13, 2019 at 2:08:37 PM UTC-5, Mark S. wrote: >> >> Actions require action widgets, generally. You can plac

[tw5] Re: Tiddler Commander

2019-02-13 Thread 'Mark S.' via TiddlyWiki
This will let you select fields from the existing pool -- but only if they exist in tiddlers selected by the current filter. That way you are inundated with thousands of irrelevant fields. (Make a backup before trying) -- Mark On Wednesday, February 13, 2019 at 2:07:46 PM UTC-8, Mohammad wrote

[tw5] Re: search and replace in tiddlers

2019-02-13 Thread @TiddlyTweeter
Do you mean across the whole of a TiddlyWiki? Or just within a Tiddler? J. On Wednesday, 13 February 2019 23:16:55 UTC+1, Mohammad wrote: > > Is there any way to search and replace in > Tiddlers > >- text >- field value > > for example search foo and replace with bar? > > > --Mohammad >

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
excellent! On Wednesday, 13 February 2019 23:07:46 UTC+1, Mohammad wrote: > > Hi Mark, > Create using template was added > -- 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

[tw5] search and replace in tiddlers

2019-02-13 Thread Mohammad
Is there any way to search and replace in Tiddlers - text - field value for example search foo and replace with bar? --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

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Hi Mark, Create using template was added! Mohammad On Wednesday, February 13, 2019 at 8:22:02 PM UTC+3:30, Mark S. wrote: > > A thought about bulk creation. When I make tiddlers in bulk, I usually > want to specify fields as well, preferably with default values. The more > universal way to do

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
A possible, perhaps easier way, is simply a pop-up that displays "Fields in use" but not connected to the Commander directly? Just for Reminder Information for users like me? A thought Josiah On Wednesday, 13 February 2019 21:27:55 UTC+1, @TiddlyTweeter wrote: > > You are right. > > The one adv

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
You are right. The one advantage for me would be I often forget what bespoke fields I created. Did I create "assay" or "assays"? Dropdown on fields would help users like me. Just a comment Josiah On Wednesday, 13 February 2019 21:19:17 UTC+1, Mohammad wrote: > > Yes and NO > > Yes, as it is ha

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Yes and NO Yes, as it is handy to select among the existing fileds No, the performance impact with big large scale wikis and cluttered the menu May be to add options to turn on /off this feature! --Mohammad On Wednesday, February 13, 2019 at 11:42:16 PM UTC+3:30, @TiddlyTweeter wrote: > > Rega

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
Regarding FIELDS ... Any chance of a drop down that shows what exists--as exists in the editor? [image: Capture.PNG] Best wishes Josiah -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Noted On Wednesday, February 13, 2019 at 11:06:03 PM UTC+3:30, @TiddlyTweeter wrote: > > I think the default link for filter HELP is not that helpful. It goes to > the static site in a not particularly helpful place. > > Maybe allow users to configure the HELP link? > > [image: Capture.PNG] > >

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
Apologies for email users. I had trouble getting the image to work. On Wednesday, 13 February 2019 20:36:03 UTC+1, @TiddlyTweeter wrote: > > I think the default link for filter HELP is not that helpful. It goes to > the static site in a not particularly helpful place. > > Maybe allow users to con

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
I think the default link for filter HELP is not that helpful. It goes to the static site in a not particularly helpful place. Maybe allow users to configure the HELP link? [image: Capture.PNG] I mentioned this previously with an alternative example at https://groups.google.com/d/msg/tiddlyw

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Watt, Thanks for your comment! Unfortunately the confirmation parameter not available for many widgets messages and needs separate programming. I welcome any contribution and would like to setup it in way people can help and contribute through GitHub. Cheers Mohammad On Wednesday, February 1

[tw5] Re: Creating a link to a tiddler that opens target in edit mode

2019-02-13 Thread Jack Baty
The button works great, thanks! On Wednesday, February 13, 2019 at 2:08:37 PM UTC-5, Mark S. wrote: > > Actions require action widgets, generally. You can place a button like: > > <$button message="tm-edit-tiddler">Open > > next to your links. Note that you can use CSS to style buttons to look >

[tw5] Re: Creating a link to a tiddler that opens target in edit mode

2019-02-13 Thread 'Mark S.' via TiddlyWiki
Actions require action widgets, generally. You can place a button like: <$button message="tm-edit-tiddler">Open next to your links. Note that you can use CSS to style buttons to look like links. Have fun! -- Mark On Wednesday, February 13, 2019 at 10:51:58 AM UTC-8, Jack Baty wrote: > > I feel

Re: [tw5]Macro interactions

2019-02-13 Thread admls
Hi S.S., I just got the chance to test out your code. I had to massage it just a smidge, but it works great! Thank you. I have bashed my head against this problem for too long. I'm always amazed at how concise well-written tiddlywiki code can be. The solution to my problems is often achieved in

[tw5] Creating a link to a tiddler that opens target in edit mode

2019-02-13 Thread Jack Baty
I feel like this is an easy one and I'm just missing it. I have a tiddler that transcludes my most recent Journal entry. In that tiddler I have a link that navigates to the same transcluded tiddler. That part is easy, I just link to currentTiddler. <$list filter="[tag[Journal]sort[created]last

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Noted! On Wednesday, February 13, 2019 at 8:24:56 PM UTC+3:30, @TiddlyTweeter wrote: > > Right. Option on bulk creation that clones a Tiddler that has what you > need in it already. > > Something like that. > > J. > > On Wednesday, 13 February 2019 17:52:02 UTC+1, Mark S. wrote: >> >> A thought

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Hi Mark, Added to do list. As the code is modular users can simply add their own template later on. --Mohammad On Wednesday, February 13, 2019 at 8:22:02 PM UTC+3:30, Mark S. wrote: > > A thought about bulk creation. When I make tiddlers in bulk, I usually > want to specify fields as well, pre

[tw5] Re: I think we are entering the Golden Age of TiddlyWiki -- a thought

2019-02-13 Thread @TiddlyTweeter
repeat for email ... On Wednesday, 13 February 2019 19:24:03 UTC+1, @TiddlyTweeter wrote: > > The title says it ... > > I think we are entering the Golden Age of TiddlyWiki -- a thought > > > J. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

[tw5] Re: Tiddler Commander

2019-02-13 Thread 'Mark S.' via TiddlyWiki
FYI -- note there is a tiddlymap entry under Tiddler Management/Manipulation. -- 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.

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
Right. Option on bulk creation that clones a Tiddler that has what you need in it already. Something like that. J. On Wednesday, 13 February 2019 17:52:02 UTC+1, Mark S. wrote: > > A thought about bulk creation. When I make tiddlers in bulk, I usually > want to specify fields as well, preferab

[tw5] Re: Tiddler Commander

2019-02-13 Thread 'Mark S.' via TiddlyWiki
A thought about bulk creation. When I make tiddlers in bulk, I usually want to specify fields as well, preferably with default values. The more universal way to do that would be to specify a base "tiddler" instead of a "title", whose fields (with default values) get used as the basis. Stepping

[tw5] Re: Tiddler Commander

2019-02-13 Thread Watt
It's looking good Mohammad. Tiddly Tweeter and Mark are right to point out the need for checks, alerts and confirmations. You can't have too many warnings and, as Mark points out, some deletions have unseen consequences. I'm sure you know this already but I noticed the other day that; <$action

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
A minor update! See the original post here: https://groups.google.com/d/msg/tiddlywiki/w9Bv-WulKw8/CYf9D4H6BgAJ -- 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 t

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Hi Mark, Thank you for your comment. I absolutely need these evaluation! Cheers Mohammad On Wednesday, February 13, 2019 at 7:26:19 PM UTC+3:30, Mark S. wrote: > > Hi everyone, > > TW really needs these kinds of tools if tiddlers are to convey "the > smallest semantic unit" successfully. > > Al

[tw5] Re: Tiddler Commander

2019-02-13 Thread 'Mark S.' via TiddlyWiki
Hi everyone, TW really needs these kinds of tools if tiddlers are to convey "the smallest semantic unit" successfully. Along the lines of "Danger Will Robinson!", removing suffix "2" from "Test 2" will cause it to overwrite "Test". It probably needs some pre-check to warn users that "the follo

[tw5] Re: Query? -- Full Screen button in Editor?

2019-02-13 Thread @TiddlyTweeter
Another request. That it can open in a second window. Josiah -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
One thing. Just an early thought. Is whether parts of it might need ALERTS & CONFIRMS? It's a powerful tool. It could eat your wiki if you not fully clear what you doing. I will comment in more detail on specifics later. J. -- You received this message because you are subscribed to the Google

[tw5] Re: Tiddler Commander

2019-02-13 Thread @TiddlyTweeter
Quick interim comment The Modular Design looks very good. Enabling easier extensibility. J. Mohammad wrote: > > ... I tried to have commander in a modular form > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group an

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Dear h0p3, Many thanks for your kind words! I am glad you find it useful. Of course this tool is not comparable with TiddlyTool from Eric Shulman, he is one of Tiddlywiki expert. By the way, I will try to see which part of your comments are possible to be implemented. Searching and replacing c

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Thanks Tony! I will consider them for improvement in next release. I tried to have commander in a modular form and I used very much from Tiddler Concept! Its the beauty of TW which allow you develop rather complex operation using tiny small one! The first phase is to get every operation works a

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
If any feature gets into the core, then people trust it and are sure they will have long support! --Mohammad On Wednesday, February 13, 2019 at 12:47:15 AM UTC+3:30, Diego Mesa wrote: > > Lets not hijack this thread Josiah. Suffice it to say, I agree we should > first worry about whether it wor

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Thanks Diego! I will work to improve it and resolve the issues raised by people in this group. I would be very useful if this or a similar tool can be added to the core! By the way the part dealing with tiddler name should be used with care and I think there is hesitate to add such feature. It c

[tw5] Re: Tiddler Commander

2019-02-13 Thread Mohammad
Hello Birthe, The issue resolved. See the updated version. Cheers Mohammad On Wednesday, February 13, 2019 at 1:01:50 AM UTC+3:30, Birthe C wrote: > > I can Add suffix, but not Remove suffix. (nothing happens) > > Birthe > > tirsdag den 12. februar 2019 kl. 16.30.53 UTC+1 skrev Mohammad: >> >> A

[tw5] Re: Query? -- Full Screen button in Editor?

2019-02-13 Thread Sylvain Naudin
Le lundi 4 février 2019 15:08:30 UTC+1, JD a écrit : > > Hi Josiah, > > I've been wanting something like this for a while, and so I went ahead and > did it, you can try it here: > > http://j.d.fullscreen.tiddlyspot.com/ > > Although, that is not the end for me, as I wish to have this fullscreen

Re: [tw5]Macro interactions

2019-02-13 Thread S. S.
Adam, not sure if this is what you want. In tiddler : NewTiddler \define concatStateTiddler(value) <$list filter="[all[current]get[draft.of]] [all[current]!has[draft.of]] +[addprefix[$:/state/]]"> <$view field=backup-$value$/> \end In tiddler: *$:/state/NewTiddler*has field: *backup-1* field b

Re: [tw5]Macro interactions

2019-02-13 Thread TonyM
Thanks Jeremy, Similer to other widgets, I suppose this is a way to do the same as the tiddler widget but with the posibility of emptyvalue etc... Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop rece

[tw5] Re: How to count items within a field of a tiddler that matches a certain pattern

2019-02-13 Thread Christine
Brilliant, FrD - works perfectly. Thanks so much. And Mohammad, thank you for your idea as well. It also works, but I'd have to do a more complicated setup where each state tiddler is auto-tagged with an individual tag, so I'll go with FrD's solution. But much appreciated! Using Simple Checklis

Re: [tw5]Macro interactions

2019-02-13 Thread Jeremy Ruston
Hi Adam The docs are correct, the "name" attribute of the <$set> widget defaults to "currentTiddler" if not present. Best wishes Jeremy -- Jeremy Ruston jer...@jermolene.com https://jermolene.com > On 13 Feb 2019, at 08:04, admls wrote: > > The tiddlywiki.com documentation on the set widget

Re: [tw5]Macro interactions

2019-02-13 Thread admls
The tiddlywiki.com documentation on the set widget says this about the name parameter: 'The name of the variable to assign (defaults to "currentTiddler")'. Does that just need updated or something? Or am I misunderstanding it? -- You received this message because you are subscribed to the Googl