[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread PMario
fixed a typo in the last post :) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to

[tw5] Re: [TW5-JsonManglerPlugin] v2.0.2 Update!

2019-02-28 Thread Joshua Fontany
I believe I have tracked down the root issue. No more uncaught errors with TiddlyMap, and a lot of the strange Bob server behavior has disappeared. Tiddlymap still wants you to setup the map settings every time you click on the Active View, though. That needs more investigation. I'm going to

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread PMario
On Thursday, February 28, 2019 at 7:54:26 AM UTC+1, Mohammad wrote: > > Announcement: SNR > > This is a simple script, search-n-replcae (*snr*) to search in tiddler > contents (including all fields) for a searchValue and replace them with > replaceValue. > Nice work! --- OT

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
Email users ... An error in my test code was fixed > !! Test of S-n-R ... > > >//''Instructions'': In the following, using steps in s-n-r: (1a) replace > "she" with "he" in all the variant case styles; (1b) replace the first > capitalised "HE" with "SHE"; (1c) replace the final capitalised

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
Mohammad wrote: > > Announcement: SNR > Very good indeed! Thank you! To fully test it I created a difficult test case. Its very achievable, but the user needs to pay careful attention step by step. Here is that test case ... !! Test of S-n-R ... >//''Instructions'': In the following, using

Re: [tw5] Test for existence of macro

2019-02-28 Thread David Nebauer
Thanks, Mal. Your proposed solution would certainly be a more concise and elegant way to achieve the same outcome. If you don't mind, perhaps you could keep this topic updated with developments and/or include a pointer to the github issue you raise. Regards, David. On Thursday, 28 February

Re: [tw5] Test for existence of macro

2019-02-28 Thread PMario
On Thursday, February 28, 2019 at 4:57:31 AM UTC+1, Mal wrote: > > but the "!" does not seem to be working. If you try a similar > arrangement to test for non-existence of a tiddler, using "!is[tiddler]", > it does work as expected. > > I think I will raise this as a GitHub issue. > This

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Yes, an undo function is possible to not overwrite the original tiddlers. But I am afraid duplication tiddlers in this way will result in huge file size. --Mohammad On Thursday, February 28, 2019 at 6:19:57 PM UTC+3:30, @TiddlyTweeter wrote: > > Mohammad > > Really excellent. Its working well

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Mario, I forgot to say, I am using the below template to have macro visible https://kookma.github.io/search-n-replace/#%24%3A%2F.mr%2Fviewtemplate%2Fshow-contents-macro-tiddler --Mohammad On Thursday, February 28, 2019 at 3:51:14 PM UTC+3:30, PMario wrote: > > On Thursday, February 28, 2019 at

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
Diego Mesa wrote: > > In my mind, an "undo function" is synonymous with "version control". > I agree. Kinda. Though likely more short term than normal VC. Mohammad wrote: > But I am afraid duplication tiddlers in this way will result in huge file >> size. >> > I agree it would *if it were

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Thank you Mario! and I appreciate your comment. Cheers Mohammad On Thursday, February 28, 2019 at 3:51:14 PM UTC+3:30, PMario wrote: > > On Thursday, February 28, 2019 at 7:54:26 AM UTC+1, Mohammad wrote: >> >> Announcement: SNR >> >> This is a simple script, search-n-replcae (*snr*) to search

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-02-28 Thread S. S.
I thought the default behaviour is that the last clicked tiddler title in the sidebar causes the story river to scroll until that tiddler is at the top of the browser window. However if you do not have enough tiddlers open for a scroll to take place (all open tiddlers can fit on one page and

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
This is such a good tool Mohammad! I ask a final, probably, a very difficult, question ... Can we match CARRIAGE RETURNS? And can we INSERT them in replacement strings? Here is a simple example ... The man was on the burning deck His light was dim And he got bogged. To do that you need

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Josiah, With current situation, my answer is unfortunately NO! But the other macro I have developed can find and do *partial transclusion* https://kookma.github.io/find-macro/ So, a mix of these two can do the job, but needs extra programming to work together. --Mohammad On Thursday,

Re: [tw5] Test for existence of macro

2019-02-28 Thread David Nebauer
Thanks S. S. That does juts what I wanted. I'll call that success. Regards, David. On Thursday, 28 February 2019 11:02:47 UTC+9:30, S. S. wrote: > > This seems to work for me. > > \define variable-test(var) > <$list filter="[[$var$]] +[is[variable]]" emptyMessage="''$var$'' - > Undefined

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
Mohammad Really excellent. Its working well and I haven't been able to get it to fail. It will have huge use I am sure. I do think an issue is UNDO. Let me show why ... On a balmy day SHE took advice that HE needed to walk. If we replace "SHE" with "HE" we get ... On a balmy day HE took

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Josiah, I can add a simple logic as whole word option but here whole word means a word separated from other part of the text by two spaces. The problem is, it will fail to distinguish punctuation. So, it can find " test " but not " test!". Anyway, snr can do many search and replace jobs, but

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Diego Mesa
In my mind, an "undo function" is synonymous with "version control". On Thursday, February 28, 2019 at 9:19:10 AM UTC-6, Mohammad wrote: > > Yes, an undo function is possible to not overwrite the original tiddlers. > But I am afraid duplication tiddlers in this way will result in huge file >

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
Mohammad The problem is, it will fail to distinguish punctuation. So, it can find > " test " but not " test!". For my use cases that does does not matter at all! It is "*exact string replace*" and it works very well. I'm using it fine, often without any leading or trailing space. The

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Hi Diego, That's absolutely correct! and seems the safer solution. --Mohammad On Thursday, February 28, 2019 at 6:56:50 PM UTC+3:30, Diego Mesa wrote: > > In my mind, an "undo function" is synonymous with "version control". > > On Thursday, February 28, 2019 at 9:19:10 AM UTC-6, Mohammad

[tw5] Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-02-28 Thread Jack Baty
I often have several small tiddlers visible at once in my browser. If I then click the title of one of those in the sidebar, nothing moves or otherwise happens in the story river. I know that I should just know which one I clicked, but I don't always. I'm wondering if there's a way to visually

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Josiah, Have a look ate TW roadmap: https://tiddlywiki.com/static/RoadMap.html It gives hope for the feature we like! --Mohammad On Thursday, February 28, 2019 at 7:24:17 PM UTC+3:30, @TiddlyTweeter wrote: > > Diego Mesa wrote: >> >> In my mind, an "undo function" is synonymous with "version

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread BurningTreeC
> > This is such a good tool Mohammad! > > I ask a final, probably, very difficult, question ... > > Can we match CARRIAGE RETURNS? And can we INSERT them in replacement > strings? > Hi Josiah, an sorry Mohammad, it can handle carriage returns, too. Just make the inputs where you write the

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread @TiddlyTweeter
BTC That is good news!! Rather than have a text area could it be done via substitution? I'm thinking of the complexity of the interface to have a text area just for that. For instance could, with the example I gave, this work through the simple input fields ?... Search ... \r\r Replace

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread BurningTreeC
> > BTC > > That is good news!! > > Rather than have a text area could it be done via substitution? > No that's too complicated I'm not even going to give the try a thought ;) > I'm thinking of the complexity of the interface to have a text area just > for that. > For instance could,

Re: [tw5] Test for existence of macro

2019-02-28 Thread David Nebauer
Okay, in summary, here are two ways of using the [is[variable]] operator to display an error message if a specific variable or macro is undefined. * As a macro: \define check-var-or-macro(var) <$list filter="[[$var$]] +[is[variable]]" emptyMessage="Undefined variable or macro '$var$'"> <> \end

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread David Gifford
Oh, sorry, I came here because I thought you wrote "ASMR" plugin... On Thursday, February 28, 2019 at 12:54:26 AM UTC-6, Mohammad wrote: > > Announcement: SNR > > This is a simple script, search-n-replcae (*snr*) to search in tiddler > contents (including all fields) for a searchValue and

[tw5] Re: Space slimming via the HTML tag :-)

2019-02-28 Thread @TiddlyTweeter
Repeat for those on email ... On Thursday, 28 February 2019 19:25:36 UTC+1, @TiddlyTweeter wrote: > > I thought this interesting ... I often find spacing in TW inelegant. I > stumbled on this by accident ... > > > [image: {4164D070-23DC-4839-A63B-9F1AED8B3703}.png.jpg] > > > The code ... > >

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread BurningTreeC
> > Hi Mohammad, thank you, that looks very useful! > > Regarding carriage (really?) returns, Josiah and BTC, > > I would prefer a textarea that looks like an input field – but with the > option to expand when needed. Like so: > > <$edit-text tiddler="test" field="demo" tag="textarea" rows="1"

[tw5] Re: Announcing the new "Browser-Storage" plugin

2019-02-28 Thread TonyM
FYI: The developer update in FireFox 65 for developers may impact the proposed local storage and the Innerwiki plugins for good or bad https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API Regards Tony On Friday, February 8, 2019 at 9:11:47 AM UTC+11, Jeremy Ruston wrote: > >

[tw5] Re: Announcing the new "Browser-Storage" plugin

2019-02-28 Thread 'Mark S.' via TiddlyWiki
Is there a mechanism for deleting tiddlers from local storage, when you're sure you're done with them? Thanks! -- Mark -- 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] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Thomas Elmiger
Hi Mohammad, thank you, that looks very useful! Regarding carriage (really?) returns, Josiah and BTC, I would prefer a textarea that looks like an input field – but with the option to expand when needed. Like so: <$edit-text tiddler="test" field="demo" tag="textarea" rows="1" autoHeight="yes"

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-02-28 Thread Thomas Elmiger
Hi Jack, What I can offer, works the other way round: When your mouse hovers over a tiddler, a «Bookmark» button appears. When you cklick it, a mark also appears in the MyStory tab in the sidebar, so you know where you are: [image: MyStory-Bookmarks.png] (You would have to cklick once

[tw5] Re: TiddlyWiki's Killer App

2019-02-28 Thread Greg Molyneux
Sorry, one more quick thought on the above: The introductory video doesn't even mention Zenkit's mind map feature, which is half the reason (along with the kanban capability) that I started looking seriously at it. In TiddlyWiki, we already have a killer mind map functionality in TiddlyMap!

Re: [tw5] Test for existence of macro

2019-02-28 Thread S. S.
David, it was an interesting question. Could you share what happened for you to want that feature, and how you are using it? On a similar track - the code in the <> macro can show the values of all variables and macros that exist at that position in the widget tree. I wonder if it would it be

Re: [tw5] Re: _canonical_uri external pdf on node (Bob)

2019-02-28 Thread Donald Coates
actually it is pretty well referred to I was just looking past it when I was having trouble. On Thu, Feb 28, 2019 at 11:41 PM Donald Coates wrote: > > > >> I think that the file server part is one of many places where more >> documentation is needed. >> >> > I feel like this is something like

[tw5] Re: Variables in list filters

2019-02-28 Thread S. S.
Reece, Maybe using a filter like this in your footer would work: <$set name="title-remove-prefix" filter="[{!!title}removeprefix[$:/world/faction/]]"> <$wikify name="fixed-title" text=<>> <$list filter="[faction-dominant removeprefix[$:/world/location/]]"> The complication is that having

Re: [tw5] Re: _canonical_uri external pdf on node (Bob)

2019-02-28 Thread Donald Coates
> I think that the file server part is one of many places where more > documentation is needed. > > I feel like this is something like explaining color to a blind man. I had a lot of trouble and then when I found the configuration file it all made sense. Maybe just point to that in a more

[tw5] [TW5-JsonManglerPlugin] v2.0.3 Update!

2019-02-28 Thread Joshua Fontany
I was able to resolve the major bug reported by mauloop. Turns out a library had added a custom sort property to the Array object prototype. This custom function was then iterated anytime an array was used in a for (var x in keys) loop. Which broke a lot of stuff. A lot. All patched, and I

[tw5] Re: Variables in list filters

2019-02-28 Thread Reece Shaw
On Thursday, February 28, 2019 at 12:58:14 AM UTC-5, Reece Shaw wrote: > > Hey All, > > I'm currently working on additional features for a campaign/world manager > wiki. I'm fond of having dynamic lists that generate based on what the user > puts into the wiki. I've run into the below issue: >

[tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-02-28 Thread Mohammad
Hello Thomas, Many thanks for your feedback. The problem is with snr as it uses some filter operators not simply work with with regexp expression, if so I personally prefer to have \t, \n, ... and like that in search area! Cheers Mohammad On Friday, March 1, 2019 at 1:19:19 AM UTC+3:30, Thomas

[tw5] Re: Space slimming via the HTML tag :-)

2019-02-28 Thread Thomas Elmiger
Hi Josiah, This works because a inserts a (line) break, while a tag with a fantasy name and/or a comment break the blockquote in two quotes as well, but insert double nothing. These work too: > ''My Later Headline'' > <> --- > ''My Even Later Headline'' > <> Cheers, Thomas aka Mr.

[tw5] Re: TiddlyWiki's Killer App

2019-02-28 Thread TonyM
Greg, Zenkit looks good, in part because it provides a set of features clearly related. All except perhaps the multi-user invite members component is straightforward even on a singlfile wiki, as this requires multi-user multi-access and thus will need Bob or another solution. Of course

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-02-28 Thread Thomas Elmiger
https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2FMyStory Guess a link might be helpful. -- 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

[tw5] Re: [TW5-Bob] Failure to save tiddlers to disk

2019-02-28 Thread Jed Carty
There is supposed to be a red bar at the top of the screen when the wiki is disconnected from the server. It looks like the header on the material theme covers the warning almost perfectly. The specific warning message looks like it was caused by trying to save a plugin as a folder on the

[tw5] Re: _canonical_uri external pdf on node

2019-02-28 Thread Donald Coates
On Wednesday, February 27, 2019 at 12:50:43 AM UTC-5, Dave wrote: > > I tried putting this into the settings.json file in my Bob wiki: > > "filePathRoot": { > "filePathRoot": > "/home/david/SyncthingFolders/Bob/TiddlyWiki5/Wikis/BobWiki/tiddlers/files" > }, > > check out the

[tw5] Re: _canonical_uri external pdf on node (Bob)

2019-02-28 Thread Jed Carty
Other projects have been taking up my time so I have been a bit slow at responding to things here. I think that the file server part is one of many places where more documentation is needed. The way it is supposed to work, and there may be bugs because I don't get much feedback about other

[tw5] Re: _canonical_uri external pdf on node (Bob)

2019-02-28 Thread Jed Carty
As a separate note, the contents of Configuration.md are also in Configuration.tid which is available under the documentation section of the Bob settings tab in the control panel. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe