[tw5] Re: Presenting: SideEditor 2.0 - A live editor floating by the river side...

2020-07-20 Thread Jon
Hi Mat, After using SideEditor for a week or so, it's now my default method - really useful! Thanks Jon On Sunday, 19 July 2020 21:22:17 UTC+1, Mat wrote: > > amreus wrote: >> >> I somewhat accidentally found http://j.d.fullscreen.tiddlyspot.com/ >> which, when preview is turned on, is about

[tw5] Re: For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread CJ Veniot
G'day Mobil Home, To me, there is absolutely nothing wrong with a static PDF until I find myself bouncing around a lot between pages because something on Page X causes me to go back to Page X - Y, and I find myself trying to follow a thread in my head that the PDF isn't supporting. That's

[tw5] Auto recover?

2020-07-20 Thread Alex Tallon
Been using Tiddly Wiki for a while now, but still very much a newbie at it. Can anyone tell me is there a way to auto recover stuff that isn't saved, like Word does? I'd been working in Tiddly Wiki for a few hours and it had been a couple since I last saved and my power went out. So everything

[tw5] createtiddler title from a field on the tiddler

2020-07-20 Thread Saq Imtiaz
@ankit I'm a bit too bleary eyed right now to debug code, but if you don't mind the uglier UI this might be helpful: https://github.com/saqimtiaz/streams/blob/master/plugins/streams/widgets/action-withinput.js I have a modal version somewhere as well that mostly works, would need to dig it up.

[tw5] Re: createtiddler title from a field on the tiddler

2020-07-20 Thread Mat
Prolly ain't it but I note this tags= 'Projects' > in your examples. Also you do know that the action-createtiddler widget cannot be "on it's own", it has to be inside a buttonwidget or other widget that executes the actions. <$button> your actions here <:-) -- You received this message

[tw5] createtiddler title from a field on the tiddler

2020-07-20 Thread Ankit
I am trying to create a tiddler based on value stored in a field on the tiddler... I am not sure what I am doing wrong but it is not working even though same value when just entered plainly on tiddler returns correct value. I will explain what I am trying to achieve: 1. I have a tiddler

[tw5] [Question] Prior art - has anyone built a method to define a tiddler that does not exist but allows dragging to create it?

2020-07-20 Thread TW Tones
Folks, Has anyone built a method to define a tiddler that does not exist but allow dragging to create it? The idea would be say a virtual tiddler made with content from though out the wiki, that does not itself exist, however it can be created by dragging a button and dropping it on eith the

[tw5] Re: [Visual Studio Code] TiddlyWiki5 Syntax Extension v1.0.1

2020-07-20 Thread Joshua Fontany
v1.0.2 Update Published! ## 1.0.2 - Updated `tid` Snippet to offer a dropdown of `type` field options. -- Mahalo to "_Phi / hpx1" for the contributions! On Monday, July 20, 2020 at 5:00:27 PM UTC-7 TW Tones wrote: > Josua, > > Do I understand correctly this only works in the Visual Studio code

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread TW Tones
I have a solution that I will publish if there is a demand. - A view template that appears on the $:/Import tiddler when it has the field status = complete - The ability to save (rename as this tiddler has the created/modified date of the import) this to a date/time titled

[tw5] Re: [Visual Studio Code] TiddlyWiki5 Syntax Extension v1.0.1

2020-07-20 Thread TW Tones
Josua, Do I understand correctly this only works in the Visual Studio code editor? I would be keen to get this to work properly in a tiddlywiki editor such as codemirror but I have not seen a tiddlywiki aware code highlighter. Is there a practical way to maintain a single syntax library?

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 4:19:50 PM UTC-7, steve wrote: > > This time I tried a macro with a filter that used goFish in a filter. See > below. > Nothing was listed in the outputText. > Tomorrow I'll look at the literal output text. > The problem here is that the input text contains quotes

[tw5] Quick Tip - New hear and a quick organising method (optional Challenge)

2020-07-20 Thread TW Tones
Folks, You may be aware the new here button is a great way of building your table of contents. It creates a new tiddler with the current one as its tag. Especially for a "for purpose wiki", perhaps to build information to use elsewhere in another wiki, new here is a quick way to capture

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Mat
Also this might be of interest: https://github.com/Jermolene/TiddlyWiki5/issues/1554 <:-) -- 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: Macro recursion runs out of control without reason

2020-07-20 Thread Mat
Mark Green wrote: > > Thanks! That actually fixed it! I wonder why it was recursing at all with > invalid syntax? > Prolly because <> does also have a closure but it is all the way over here. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw5] Re: [Visual Studio Code] TiddlyWiki5 Syntax Extension v1.0.1

2020-07-20 Thread _Phi / hpx1
thanks for the update and credit. I also made a small tweak to the `tid` snippet to add a dropdown list for the content-type (no more guesswork): "Tiddler Metadata": { "prefix": "tid", "body": [ "created:

[tw5] Re: For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread Mat
Mobil Home wrote: > > ... is reading something (*something with high complexity*) in TiddlyWiki > a better experience than ... > PDF's are typically static. TW can simplify complexity with e.g Reveal widgets or StretchText (..to bring up an ol' goodie)

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Update: This time I tried a macro with a filter that used goFish in a filter. See below. Nothing was listed in the outputText. Tomorrow I'll look at the literal output text. \define goFish() !!! This example has five goFish !!! This goFish is in a macro. <$list

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread TW Tones
Steve, Thanks for the clarification. So you are viewing the tiddler content as code and want the target within that to be highlighted? I understand you have a solution but this is already handled in multiple ways. - The codemirror plugin and other tools are available with additional

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Eric: Very tricky indeed but you made it look simple! It worked - yay! I am trying some more complex examples including embedded macro calls and will report back. Thanks! Steve On Monday, July 20, 2020 at 6:13:07 PM UTC-4, Eric Shulman wrote: > > On Monday, July 20, 2020 at 1:55:57 PM

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Hi Tony, Saq: More about my use case ... When I look at macro (code) in the editor it is very easy for me to overlook variable or macro names that I want to change and so I fail to update all of them. The purpose of the formatTid.highlightText macro is to create a highlighted copy of the

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Eric Shulman
Combining my "fixup" button solution with Saq's idea about getting the links directly from the $:/Import tiddler, gives the following: <$button> set missing created/modified fields <$list filter="[[$:/Import]links[]!has[created]]"> <$action-setfield created=<> modified=< > /> -e -- You

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 1:55:57 PM UTC-7, steve wrote: > > I am working on a macro to highlight target strings within the text field > of a tiddler. > The use case is to make it easier to for me see where the targetStrings > are (if any). > > My question is how to highlight the

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread TW Tones
Josua, Remember that tiddlers you may import, or other files may bring created or modified dates with them. These dates can be meaningful so I recommend against changing them. I am building additional import tools but they are not ready yet, however post import you get a list of imported

[tw5] Re: For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread TW Tones
Mobil As the others had said tiddlywiki has a lot more power for interactive smart documents. However it is also easy to convert them to PDF (and possibly other formats) if desired. Using tiddlywiki to research and analyse is no doubt better. Its the old question of who is the audience. If

[tw5] Re: Macro recursion runs out of control without reason

2020-07-20 Thread TW Tones
Mark Examples that can be installed and work on tiddlywiki.com or empty.html would help us work with you. See how you go after correcting the current tiddler. In macros the previous current tiddler value is available with $(currentTiddler)$ so you do not have to pass it as a parameter.

[tw5] How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread Saq Imtiaz
@steve just in case you haven't seen it, there's a plugin that does something very similar: https://tiddlywiki.com/prerelease/#%24%3A%2Fplugins%2Ftiddlywiki%2Fdynannotate Check out the examples tab in the plugin tiddler. -- You received this message because you are subscribed to the Google

[tw5] Re: Macro recursion runs out of control without reason

2020-07-20 Thread Mark Green
Thanks! That actually fixed it! I wonder why it was recursing at all with invalid syntax? -- 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: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread TW Tones
Steve, Just a quick response for now. As I am not exactly sure of the mechanism you are trying to use. - Are you aware of the freelinks plugin?, if the tiddler title exists it will be highlighted in the text. It may be a more general solution. - This plugin is making use of other

[tw5] How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Hello: I am working on a macro to highlight target strings within the text field of a tiddler. The use case is to make it easier to for me see where the targetStrings are (if any). My question is how to highlight the targetString in the macro (ie. treating the macro as a string) as

[tw5] Re: Macro recursion runs out of control without reason

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 1:17:34 PM UTC-7, Mark Green wrote: > > For those who have been following my efforts with mod- fields, this is the > next chapter - thanks for all the help so far! > The logic in your code is a bit hard to follow. Still... just looking at syntax issues, I note this

[tw5] Re: Macro recursion runs out of control without reason

2020-07-20 Thread 'Mark S.' via TiddlyWiki
This line <> is lacking a closing >> . However, I don't think you can feed a macro to a macro that way. At least I've never been able to. You probably need to use the macrocall widget: <$macrocall $name="innermodifierblock" for=??? /> I have ??? since I don't know what parameters you want

[tw5] Macro recursion runs out of control without reason

2020-07-20 Thread Mark Green
For those who have been following my efforts with mod- fields, this is the next chapter - thanks for all the help so far! Currently, ModifierBlockMacro contains: \define innermodifierblock(for:"") $for$ <$set name="x" value=<<__for__>> > <$set name="mfield" filter="[titlelowercase[]split[

[tw5] For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread Riz
Yes. PDF do not flow text, which makes it hard to read in mobile phones. PDFs are not easily annotable. The solutions for annotating PDF either permanently modifies the file or keeps the annotations tied to that software which might not be available cross platform. Epub annotations follow the

[tw5] Re: Which window am I in?

2020-07-20 Thread Mat
@Eric - excellent! Thank you! <:-) -- 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

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Joshua Baller
On Monday, July 20, 2020 at 1:05:05 PM UTC-5, Saq Imtiaz wrote: > > @Joshua > > One other thought I had was to parse the $:/Import tiddler for a more >> targeted list of tiddlers to modify, but I can't think of a straight >> forward way of doing that. >> > > [[$:/Import]links[]] > > Beautiful,

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Saq Imtiaz
Potentially this thread might be of interest as well: https://groups.google.com/forum/?oldui=1#!starred/tiddlywiki/GG3dqXkQWTw -- 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

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Saq Imtiaz
@Joshua One other thought I had was to parse the $:/Import tiddler for a more > targeted list of tiddlers to modify, but I can't think of a straight > forward way of doing that. > [[$:/Import]links[]] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw5] Re: For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread Saq Imtiaz
If you haven't already seen it, this might be of interest: https://groups.google.com/forum/#!msg/tiddlywiki/_VLufc4Svp8/PiSC6LmgAgAJ Would be great to get Xavier's perspective on this. On Monday, July 20, 2020 at 7:35:03 PM UTC+2, Mobil Home wrote: > > I am thinking to publish "e-books" in

[tw5] Re: BOA - Catalog of selected and sorted tiddlers

2020-07-20 Thread Saq Imtiaz
@oleghbond thank you for sharing! Seems like an interesting project too. > *I find a second language, I do not know, difficult to work with* > > I'll sort out this issue. Though for the beginning everything is > intuitively clear. > I agree, especially since you gave a pretty detailed

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Joshua Baller
> > While it might seem to you to be the expected behavior, importing > tiddlers will NEVER add or alter any fields in the incoming tiddlers. This > is by design, since there may be unwanted side-effects of changing the > tiddler definitions, even if it is just to add a "created" or

[tw5] For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-20 Thread Mobil Home
I am thinking to publish "e-books" in TiddlyWiki format, but the problem is that I cannot publish it via Amazon Kindle Self Publishing in TiddlyWiki format. So the question arised: >From the reader perspective, is reading something (something with high complexity) in TiddlyWiki a better

[tw5] Re: BOA - Catalog of selected and sorted tiddlers

2020-07-20 Thread oleghbond
Dear all, please find attached the plugin with English tooltips понеділок, 20 липня 2020 р. о 02:57:35 UTC+3 TW Tones пише: > > [image: Snag_419a8585.png] > oleghbond, > > This looks elegant but personally I find a second language, I do not > know, difficult to work with. But once I had a

Re: [tw5] Re: Chatbot Plugin

2020-07-20 Thread Ed Heil
That's really awesome! And I'll be bookmarking that Online Library. On Sun, Jul 19, 2020, at 6:29 AM, TiddlyTweeter wrote: > Ed Heil wrote: >> Off topic, but I'm fascinated to hear you worked with Eugene Gendlin! His >> work, and that of his student Ann Weiser Cornell, have been very helpful

[tw5] Re: How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 9:39:00 AM UTC-7, Joshua Baller wrote: > > I have a wiki (5.1.22) that is partly updated through importing large sets > (1000s) of tiddlers from a few JSON files on an approx. weekly basis > (knowledge base, the information is being maintained and updated on a >

[tw5] Re: Formatting based on field value

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 9:03:52 AM UTC-7, Jake wrote: > > <$list filter="[tag[Comedy]!sort[releasedate]]" variable="title"> > <$list filter="[get[releasedate]compare:integer:gteq[20200701]then > ]"> > > <$link/> <$transclude tiddler={{{ > [get[rating]addsuffix[-icon]] > }}} /> (<$view

[tw5] How do I get the 'created' or 'modified' fields to populate on import?

2020-07-20 Thread Joshua Baller
I have a wiki (5.1.22) that is partly updated through importing large sets (1000s) of tiddlers from a few JSON files on an approx. weekly basis (knowledge base, the information is being maintained and updated on a different system). I would like to know the last edit/update dates for a

[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki
> Try this: > <$list filter="[tag[Comedy]!sort[releasedate]]" variable="title"> ><$list filter="[ > get[releasedate]compare:integer:lteq[20200701]then]"> > <$link/> | > > > > The outer $list gets the titles of the tiddlers with the desired tag, > sorted in descending order by

[tw5] Re: Formatting based on field value

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 7:18:57 AM UTC-7, Jake wrote: > > > guys... guys... and to put it inside a $list?.. and to combine it with... > a tag thing... and a sort thing... > ps. btw, if i use only MMDD format for dates - can I use just "integer" > then as comparison type? Try this:

[tw5] Re: Formatting based on field value

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 7:05:00 AM UTC-7, Mat wrote: > > 2) If you are comparing against a date value like {{!!modified}}, you need >> to specify the full 17-digit value >> > > Are you sure? This seems to work: {{{ > [[20220701]compare:date:gt{!!modified}] }}} > OK... I guess that does work

[tw5] Re: Which window am I in?

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 7:17:20 AM UTC-7, Mat wrote: > > I split out a tiddler into a new window. I want style its contents > depending on if it is split out or not. Is there a direct way to tell? > In the tm-open-window message, you can provide a parameter such as inWindow="true". This

[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki
> > Jake wrote: >> >> guys... guys... and to put it inside a $list?.. and to combine it with... >> a tag thing... and a sort thing... >> >> ps. btw, if i use only MMDD format for dates - can I use just >> "integer" then as comparison type? >> > > Did you at all *test *it before asking

[tw5] Re: Formatting based on field value

2020-07-20 Thread Mat
Jake wrote: > > guys... guys... and to put it inside a $list?.. and to combine it with... > a tag thing... and a sort thing... > > ps. btw, if i use only MMDD format for dates - can I use just > "integer" then as comparison type? > Did you at all *test *it before asking others? <:-) --

[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki
[image: og_og_1485180781287968971[1].jpg] guys... guys... and to put it inside a $list?.. and to combine it with... a tag thing... and a sort thing... ps. btw, if i use only MMDD format for dates - can I use just "integer" then as comparison type? -- You received this message because

[tw5] Which window am I in?

2020-07-20 Thread Mat
I split out a tiddler into a new window. I want style its contents depending on if it is split out or not. Is there a direct way to tell? I was thinking of the InfoMechanism but it doesn't seem to do anything with the windows, it's mainly url

[tw5] Re: Formatting based on field value

2020-07-20 Thread Mat
Eric Shulman wrote: > > 1) The "greater than" compare suffix mode is "gt"... not "gr" !!! > Doh! > 2) If you are comparing against a date value like {{!!modified}}, you need > to specify the full 17-digit value > Are you sure? This seems to work: {{{ [[20220701]compare:date:gt{!!modified}]

[tw5] Re: Formatting based on field value

2020-07-20 Thread Eric Shulman
On Monday, July 20, 2020 at 6:17:11 AM UTC-7, Mat wrote: > > After some testing I can only say I agree. Why on earth doesn't that > work??? I also tried > > <$vars date={{!!modified}}> > {{{ [[20220701]compare:date:gr] }}} > > Three things: 1) The "greater than" compare suffix mode is "gt"...

[tw5] Re: Formatting based on field value

2020-07-20 Thread Mat
Jake wrote: > > Hmmm... I think I get... some of that... me thinks :) I also just > thought that "define" is possible only as part of marco ( > https://tiddlywiki.com/#Pragma) and only one define per macro is possible > (the one that starts at the very beginning of tiddler), but that's not

[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki
> > That last solution of mine did *not *have any macro. A macro is a > separate "codelet" that starts with "\definition". > > >> OK, first, I agree that it *ought *to be possible to directly insert the >> color into the span thing. Again, my last solution did kind of do this. But >> there

[tw5] Re: tm-open-window - how use paramObject?

2020-07-20 Thread Mat
TW Tones Thanks for sharing. I'm don't know if I fully see all of it's functionality but I do see the two "special toolbar buttons" and the result of clicking them. Maybe there is more? It seems to have some RTL setting; when typing in the editor the letters stack up on the left side.