[tw5] Teaser of my macros

2021-07-12 Thread David Gifford
Hi everyone

I have been asking for help a few times, and you all were very helpful. 
Here is the end result, shared as a silent video with notes in the 
description.

https://www.youtube.com/watch?v=Uk7MSQjaiuo

In a nutshell, it is a macro I called 'det' that creates a details element 
slider + link (asterisk) based on the tiddler title. These can be nested 
kind of like Dynalist, so when you open one detail slider, if there are 
more under that, you can open those sliders as well like a giant outline. 
And the links are there to open at any level. I tweaked the edit-comptext 
plugin with Saq's help, and so there is a way to autocomplete to create a 
det macrocall around an existing tiddler title.

I also uploaded an example file so you can test it out and offer feedback: 
https://giffmex.org/experiments/det.teaser.html

Maybe at some later point when I have used it for a while I will make it 
available as a plugin. But for now it is just for inspiration for you and 
feedback for me.

Thank you for all of your help! I hope you enjoy it. Blessings, Dave


-- 
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/5996a325-a967-424c-a33e-a1f8d7513a40n%40googlegroups.com.


Re: [tw5] Re: Is there a way to automatically save changes on TiddlyWiki?

2021-07-12 Thread Alessandra Carnevale
Really sorry if I replied so late. I had a problem with my PC, this time 
not related to Tiddly Wiki :D 
This evening I will try your auto-save plug-in.
At the moment, the only plug-in I have is Tiddly-Wiki 5 core.
Anyway, when I imported my wiki the text that it wasn't imported was 
already there.
When I first imported the wiki, as I told you, I didn't have the  
"disappering" issue, but in the recent days when I am using my PC again, 
the scarying behaviour has occured again.
So I don't really get the problem.
Il giorno giovedì 8 luglio 2021 alle 16:13:10 UTC+9 Alessandra Carnevale ha 
scritto:

> Thank you!
>
> On Sat, Jun 26, 2021 at 12:05 AM PMario  wrote:
>
>> On Friday, June 18, 2021 at 11:35:38 AM UTC+2 arlandri...@gmail.com 
>> wrote:
>>
>> Now that it looks like the problem has been fixed, which plug in would 
>>> you suggest to use? still node.js?
>>> And, last question (I swear it); is there a way to search for a specific 
>>> word in the whole wiki? I mean something similar to the CTRL+H function 
>>> that you use on Google drive.
>>>
>>
>> Hi, 
>> I did just release 3 videos 
>> , 
>> where I do show a possibility that may be interesting for you, since you 
>> already use GoogleDrives. 
>>
>> It is a combination with file-backups AddOn for FireFox, which saves to a 
>> directory I called "driveWikis" you can name than any way you want. The 
>> "driveWikis" folder is synced to Google Drive which is connected to 
>> TiddlyDrive. This configuration allows you to change the wiki from a local 
>> file uri and the web. 
>>
>> It's not intended to be edited at the same time, but the wikis should be 
>> safely synced between several devices. 
>>
>> have fun!
>> mario
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/tUeWm_B07DQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/46f089ba-2f6a-49cd-9ed0-7b665160758dn%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/16d1b48c-8d76-4190-b378-51ea86279df1n%40googlegroups.com.


[tw5] Re: Tiddlywiki Keyboard Navigation

2021-07-12 Thread TW Tones
BTC

I looked at your link for the "focus tiddler" and can find focus mentioned. 
And you are all too deep in the core. However I feel compelled to share 
this in case it helps. 
{{$:/HistoryList!!current-tiddler}}  as long as you are using this 
$:/HistoryList the tiddler last navigated to or edited, becomes the value 
stored. 
I expect a simple button on the current tiddler to navigate to itself can 
also set the "focus" on any tiddler desired with a click. Could this 
focusing a tiddler be used to do what you are after.

Regards
Tones


On Monday, 12 July 2021 at 17:38:44 UTC+10 BurningTreeC wrote:

> Hello @Russel
>
> Besides this "Select Mode" I've done many experiments to find a solution 
> for the "focus tiddler" and over at GitHub 
>  we're 
> currently discussing another approach
> I've moved away from trying to implement a plugin on my own to trying to 
> get something to the tiddlywiki core. But I think there's still a lot of 
> work to do and help is needed
>
> best wishes, BTC
>
>
> russel...@gmail.com schrieb am Montag, 12. Juli 2021 um 05:50:41 UTC+2:
>
>> Great work! Select mode works really well. It looks like a possible 
>> solution for the "focus tiddler", "navigate river with j/k" and "edit 
>> current selected tiddler" feature requests (related issues 1537 
>> , 980 
>> ).
>>
>> Is the code available for this anywhere? The demo for 
>> https://github.com/BurningTreeC/tiddlywiki-muuri doesn't seem to have 
>> this?
>>
>> On Monday, July 23, 2018 at 6:15:44 AM UTC-7 BurningTreeC wrote:
>>
>>> I found that I only need one Mode - I call it select mode.
>>>
>>> I activate it using alt-S. When it activates it sets some keyboard 
>>> shortcuts active (adds the tag $:/tags/KeyboardShortcut to the already 
>>> created action-tiddlers ... leaving select-mode disables these shortcuts)
>>> these keyboard shortcuts have single letters assigned: E for editing, C 
>>> for closing/cancelling, D for deleting, Y for cloning tiddlers. These 
>>> shortcuts automatically also leave select-mode.
>>> Left/J/K navigates to the previous tiddler in the story river, 
>>> Right/L/Backquote navigates to the next
>>>
>>> I find this really handy and it works just with the keeboord plugin, no 
>>> other dependencies needed
>>> I think it'd be good to make the tiddler-edit-button leave edit-mode in 
>>> case it's on, so that one can instantly start typing without having to 
>>> press Escape first
>>>
>>> If you like it, let me know what you think
>>>
>>> BTC
>>>
>>

-- 
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/eb700733-376d-4d72-a63d-fb21df611f53n%40googlegroups.com.


[tw5] Re: Link to widget to create tiddler, If tiddler doesn't exist

2021-07-12 Thread Eric Shulman
On Monday, July 12, 2021 at 11:18:04 AM UTC-7 james.w@gmail.com wrote:

> I would like to create a link to create a tiddler using a template if that 
> tiddler does not exist.
>

Try this: 
\define AList() [[Full Edition]] [[Empty Edition]] [[Blog Edition]] [[Non 
Existing Edition]]
<$list filter=<>>
   <$list filter="[is[tiddler]]"> <$link /> 
   <$list filter="[is[missing]]">
  <$button class="tc-btn-invisible tc-tiddlylink"> <>
 <$action-createtiddler $basetitle=<> 
$template="NewEditionTemplate" aa="new field aa" bb="new field bb" />
 <$action-navigate to=<> />
  
   


Notes:
* The first inner $list widget uses the "shorthand" <$link /> syntax to 
link to the currentTiddler
* The second inner $list widget displays a $button that looks like a link 
that
  A) creates the missing tiddler using NewEditionTemplate (if defined), as 
well as a few other fields defined "inline"
  B) navigates to the newly created tiddler

enjoy,
-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/8733f35e-bc13-4f2b-92bf-3923193d5ecdn%40googlegroups.com.


[tw5] Re: [Seeking Ideas] Issues with a TW in four languages ...

2021-07-12 Thread Charlie Veniot
G'day TT,

Silly question: do you mean find out language setting chosen in TW, or do 
you mean language setting for the browser?

On Monday, July 12, 2021 at 2:45:22 PM UTC-3 TiddlyTweeter wrote:

> This is merely an early query. I need some ideas on an efficient approach 
> to the following problem ...
>
> *AIM:* Put on-line the 54 images of "LIberty" by Angela Weyersberg 
> 
>  in 
> a self contained gallery.
>
> *THE CASE: *Each image of a painting has FOUR language variations for its 
> legend (English. Italian, Slovenian, German) FYI, the variants are held in 
> fields of each image tiddler.
>
> *THE PROBLEM: *HOW do I in TW (1) Establish the language to invoke on 
> startup? (2) enable language switching?
>
> I realised the specific issue is not gonna be solved by the "lingo 
> mechanism" as is,  as in this particular case, its not UI buttons in 
> contest but actual content.
>
> I HOPE this is clear!
>
> At the moment I'm simply need some ideas about how to move forward.
> ANY ideas are most welcome
> 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/b231fa93-c4fa-40ec-85c9-6e9ac1093264n%40googlegroups.com.


[tw5] Re: How to make a more convenient method for selecting tags?

2021-07-12 Thread Brian Radspinner
That's interesting. Testing at TW.com and in my own TW, the menu floats 
above other tiddlers.

Do you have any other CSS positioning for .tc-tiddler-frame, 
.tc-tiddler-view-frame, or .tc-tiddler-edit-frame?


On Monday, July 12, 2021 at 4:43:01 PM UTC-7 miket...@gmail.com wrote:

> Everything would be fine, but I discovered a new problem. This tags window 
> is covered by other entries. It can be fixed? I've experimented with 
> z-index but to no avail.
> https://i.imgur.com/CZOVn6A.jpg
> воскресенье, 11 июля 2021 г. в 16:48:00 UTC+3, Mike Andyl: 
>
>> or even overflow-y: auto;
>>
>> воскресенье, 11 июля 2021 г. в 14:37:08 UTC+3, Mike Andyl: 
>>
>>> and may be add *overflow: scroll;*  :))
>>> воскресенье, 11 июля 2021 г. в 14:30:31 UTC+3, Mike Andyl: 
>>>
 I don't know why your post was deleted. Possibly a spam error! I also 
 had this a couple of days ago :(
 You wrote about CSS

 .tc-edit-tags .tc-block-dropdown.tc-block-tags-dropdown {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 30em;
 }

 I changed and now I really like it!

 .tc-edit-tags .tc-block-dropdown.tc-block-tags-dropdown {
position: fixed;
top: 100px;
right: 40px;
bottom: 200px;
width: 30em;
 }

 Now you can just poke at the tags, the already selected ones are hidden 
 and do not distract, and the window does not jump. And you don't have to 
 search again every time.
 Not bad and very convenient!

 воскресенье, 11 июля 2021 г. в 02:56:13 UTC+3, Mike Andyl: 

> Okay, but the last problem remains. 
> How to make *popup **tag-picker *not move after clicking on the tag, 
> only in the vertical direction. It doesn't have to jump to a different 
> place every time!
> This is how it works
> http://tw5magick.tiddlyspot.com/
>
> This is very convenient when you do not need to search for the next 
> tag every time. It is strange that such an important part is in such a 
> terrible state!
>
> воскресенье, 11 июля 2021 г. в 02:29:12 UTC+3, David Gifford: 
>
>> Here is an easy way, just a simple stylesheet. 
>> https://giffmex.org/gifts/documenting.tw.html#Tag%20editor%20dropdown
>>
>> On Friday, July 9, 2021 at 4:10:15 PM UTC-5 miket...@gmail.com wrote:
>>
>>> Now the usual view is very inconvenient when you have a lot of tags 
>>> and need to scroll and scroll down the page. Plus, the selected tags 
>>> are 
>>> still on the list and continue to distract.
>>>
>>> This raises two questions?
>>>
>>> 1. How can I make the selection of tags more compact so that I don't 
>>> have to scroll down the page?
>>>
>>> 2. And how to mark tags that are already assigned. Ideally remove 
>>> from the list, but it's probably difficult. Maybe you can at least 
>>> change 
>>> the color to a less noticeable?
>>>
>>> Any ideas?
>>>
>>> Nice option with checkboxes here
>>> https://i.imgur.com/gxJm0Tw.jpg
>>> http://zemox.tiddlyspot.com/
>>>
>>> But I didn't understand how he did it, I installed his plugins and 
>>> nothing changed.
>>
>>

-- 
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/df0daceb-db97-41ea-86b1-ae69a41eb786n%40googlegroups.com.


[tw5] Re: Link to widget to create tiddler, If tiddler doesn't exist

2021-07-12 Thread Charlie Veniot
G'day James,

I don't have a solution for that, but maybe *this 
 *can 
be useful in the meantime?

On Monday, July 12, 2021 at 3:18:04 PM UTC-3 james.w@gmail.com wrote:

> Hello,
>
> I would like to create a link to create a tiddler using a template if that 
> tiddler does not exist.
>
> e.g. in tiddlywiki.com have a new tiddler:
>
> ```
> \define AList() [[Full Edition]] [[Empty Edition]] [[Blog Edition]] [[Non 
> Existing Edition]]
>
> <$list filter=<>>
>
> <$link to={{!!title}}>{{!!title}}
>
> 
> ```
>
> [image: キャプチャ1.PNG]
>
> instead of linking to Non Existing Editing directly i would like to link 
> to a widget that will create it from a template. e.g. 
> https://tiddlywiki.com/#ActionCreateTiddlerWidget the last example here. 
> but if it does exist link to it normally.
>
> Any tips on how to achieve this?
>
> Thanks,
> James
>

-- 
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/4adede7f-ce0b-4c56-9686-93a501571ae6n%40googlegroups.com.


[tw5] Re: [Seeking Ideas] Issues with a TW in four languages ...

2021-07-12 Thread TW Tones
TT,

I agree it would make sense for this info to appear in the $:/info 
mechanism but I think there may be other ways.  

The html document itself supposed to declare the language as here 
https://www.w3schools.com/tags/ref_language_codes.asp and browsers do 
maintain the language settings as we move around the internet. This would 
include country codes https://www.w3schools.com/tags/ref_country_codes.asp. 

I just point this out as it would seem the css html model should allow this 
information to be found.

Regards
Tones


On Tuesday, 13 July 2021 at 05:45:52 UTC+10 TiddlyTweeter wrote:

> Ciao PMario
>
> Thanks for your reply.
>
> I can maybe rephrase part of it. 
>
>* Q: Could I use the "info" plugin to feed "start-up" actions 
> to establish which country/language the wiki is being opened in?*
>
> Just a stab in the dark! :-)
> TT
>
> On Monday, 12 July 2021 at 20:22:07 UTC+2 PMario wrote:
>
>> Hi, 
>> I was working on multi-language plugins. So the texts could be 
>> language-plugins which switch with the language. ... 
>>
>> The problem I have atm is, that the plugin import dialogue wikitext is 
>> frustratingly complicated, which slows down the progress quite a bit. 
>>
>> -mario
>>
>

-- 
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/e78da08f-e8b3-4855-844b-ba0e989a90c0n%40googlegroups.com.


[tw5] Re: How to make a more convenient method for selecting tags?

2021-07-12 Thread Mike Andyl
Everything would be fine, but I discovered a new problem. This tags window 
is covered by other entries. It can be fixed? I've experimented with 
z-index but to no avail.
https://i.imgur.com/CZOVn6A.jpg
воскресенье, 11 июля 2021 г. в 16:48:00 UTC+3, Mike Andyl: 

> or even overflow-y: auto;
>
> воскресенье, 11 июля 2021 г. в 14:37:08 UTC+3, Mike Andyl: 
>
>> and may be add *overflow: scroll;*  :))
>> воскресенье, 11 июля 2021 г. в 14:30:31 UTC+3, Mike Andyl: 
>>
>>> I don't know why your post was deleted. Possibly a spam error! I also 
>>> had this a couple of days ago :(
>>> You wrote about CSS
>>>
>>> .tc-edit-tags .tc-block-dropdown.tc-block-tags-dropdown {
>>>position: fixed;
>>>top: 0;
>>>right: 0;
>>>bottom: 0;
>>>width: 30em;
>>> }
>>>
>>> I changed and now I really like it!
>>>
>>> .tc-edit-tags .tc-block-dropdown.tc-block-tags-dropdown {
>>>position: fixed;
>>>top: 100px;
>>>right: 40px;
>>>bottom: 200px;
>>>width: 30em;
>>> }
>>>
>>> Now you can just poke at the tags, the already selected ones are hidden 
>>> and do not distract, and the window does not jump. And you don't have to 
>>> search again every time.
>>> Not bad and very convenient!
>>>
>>> воскресенье, 11 июля 2021 г. в 02:56:13 UTC+3, Mike Andyl: 
>>>
 Okay, but the last problem remains. 
 How to make *popup **tag-picker *not move after clicking on the tag, 
 only in the vertical direction. It doesn't have to jump to a different 
 place every time!
 This is how it works
 http://tw5magick.tiddlyspot.com/

 This is very convenient when you do not need to search for the next tag 
 every time. It is strange that such an important part is in such a 
 terrible 
 state!

 воскресенье, 11 июля 2021 г. в 02:29:12 UTC+3, David Gifford: 

> Here is an easy way, just a simple stylesheet. 
> https://giffmex.org/gifts/documenting.tw.html#Tag%20editor%20dropdown
>
> On Friday, July 9, 2021 at 4:10:15 PM UTC-5 miket...@gmail.com wrote:
>
>> Now the usual view is very inconvenient when you have a lot of tags 
>> and need to scroll and scroll down the page. Plus, the selected tags are 
>> still on the list and continue to distract.
>>
>> This raises two questions?
>>
>> 1. How can I make the selection of tags more compact so that I don't 
>> have to scroll down the page?
>>
>> 2. And how to mark tags that are already assigned. Ideally remove 
>> from the list, but it's probably difficult. Maybe you can at least 
>> change 
>> the color to a less noticeable?
>>
>> Any ideas?
>>
>> Nice option with checkboxes here
>> https://i.imgur.com/gxJm0Tw.jpg
>> http://zemox.tiddlyspot.com/
>>
>> But I didn't understand how he did it, I installed his plugins and 
>> nothing changed.
>
>

-- 
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/7a905c08-8cf7-4f4b-9b59-9c87bd805e2dn%40googlegroups.com.


[tw5] Re: Link in Img

2021-07-12 Thread Eric Shulman
On Monday, July 12, 2021 at 3:11:01 PM UTC-7 mohamed...@hotmail.com wrote:

> i am trying to do a wireframe for a portal i use , and want to put 
> multiple links on top of their respective positions in an image taken from 
> the portal, to simulate a user journey,
> and was wondering if it is it possible to put a link on top of an image
>

You can use HTML Image Maps to do this.
see https://www.w3schools.com/html/html_images_imagemap.asp for basic HTML 
usage.

In TiddlyWiki, you can apply the image map to an external image, like this:
https://www.w3schools.com/html/workplace.jpg; alt="Workplace" 
usemap="#workmap" width="400" height="379">

  
  
  


Note that the href="..." parameters start with "#", so that they point to 
tiddlers within the current file, rather than separate URLs

You can also apply the image map to an internal image, like this:
<$wikify name="srcimg" text="<>">
> alt="Workplace" usemap="#workmap" width="400" 
height="379">


  
  
  


Note:
To use the internal image example above, you must download and import the 
"workplace.jpg" image:

   1. open the image URL in your browser: 
   https://www.w3schools.com/html/workplace.jpg
   2. right click on the image and choose "save image as..." to download to 
   a local copy
   3. drag the local file into your TiddlyWiki to import it as a tiddler 
   named "workplace.jpg"

enjoy,
-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/152e78fd-c8d1-463e-b7a4-bb90cfcb206an%40googlegroups.com.


[tw5] Link in Img

2021-07-12 Thread paulgilbert2000
Hi,

i am trying to do a wireframe for a portal i use , and wantto put multiple 
links on top of their respective positions in an image taken from the 
portal, to simulate a user journey, 

and was wondering if it is it possible to put a a link on top of an image, 

I am able to add images to tiddlers , but not sure if i can put a link for 
another tidler on the foreground of an Image? 

-- 
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/035ee8b3-13dd-4c13-967c-564e5d9e737cn%40googlegroups.com.


Re: [tw5] Re: Search box

2021-07-12 Thread paulgilbert2000
Hi,

no i think it was pretty understandable, its really my poor coding 
knowledge that makes me take a bit longer to get it :_)

On Sunday, July 11, 2021 at 5:19:54 PM UTC+2 cj.v...@gmail.com wrote:

> Good stuff.
>
> If there are any naughty bits in there that are clear as mud and need some 
> explaining, please reach out here.
>
> That bit of TW code can probably be improved/condensed.  I do tend to have 
> "wordy" solutions because I like to see the little steps involved in 
> getting from A to Z, often ignoring much more elegant solutions (if I know 
> of them).  There's always loads of refactoring potential in anything coming 
> from this kid.
>
> On Sat, Jul 10, 2021 at 11:15 PM paulgilbert2000  
> wrote:
>
>>
>> works like a charm thank you very much :)
>> On Friday, July 9, 2021 at 4:25:55 AM UTC+2 cj.v...@gmail.com wrote:
>>
>>> G'day,
>>>
>>> Give this a spin:
>>>
>>> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
>>> field="search_value"/>
>>>
>>> <$list variable="checkLength" filter="[addsuffix[ 
>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5 
>>> characters)//
>>> <$vars searchCriteria={{{  [addsuffix[ 
>>> Data]get[search_value]]  }}}>
>>> <$list filter="
>>> *[search:title,caption:literal,casesensitive]*">
>>> <$link/>
>>> 
>>> 
>>> 
>>>
>>> On Thursday, July 8, 2021 at 10:49:42 PM UTC-3 mohamed...@hotmail.com 
>>> wrote:
>>>
 sorry to back to this again , but which part of the code does the 
 search ? so if i would use [search:title,caption:literal,casesensitive[The 
 first]]like the example in the documentation , where would i put 
 that in the code ?

 On Friday, July 2, 2021 at 4:11:40 PM UTC+2 cj.v...@gmail.com wrote:

> For sure.  That's all documented here:  
> https://tiddlywiki.com/#search%20Operator
>
> I much prefer the "wide open" (search all fields), so that if I can 
> catch the tiddler I want by a selection of words I remember being 
> wherever 
> they happen to exist in the tiddler, so maybe a word from the title, a 
> word 
> from some custom field, a word from the text.
>
> You could make the "field list" for search operator come from another 
> edit text widget, so you have the flexibility of dynamically specifying 
> which field(s) you want to search.
>
>
>
> On Friday, July 2, 2021 at 5:23:13 AM UTC-3 mohamed.e...@vodafone.com 
> wrote:
>
>> Thanks,
>>
>> However is there a way to make the search more accurate , typing in 
>> "Hello there"   listed so many tiddlers  , i believe because it is 
>> seraching all tidder field ? if its the case could it be restrained to 
>> only 
>> searching one field, the title ?[image: Capture10.PNG]
>>
>> On Friday, July 2, 2021 at 6:04:36 AM UTC+2 cj.v...@gmail.com wrote:
>>
>>> Hi,
>>>
>>> Using TiddlyWiki.com for testing, create a new tiddler with the 
>>> following content:
>>>
>>> <$edit-text tiddler={{{ [addsuffix[ Data]] }}} 
>>> field="search_value"/>
>>>
>>> <$list variable="checkLength" filter="[addsuffix[ 
>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 
>>> 5 
>>> characters)//
>>> <$vars searchCriteria={{{  [addsuffix[ 
>>> Data]get[search_value]]  }}}>
>>> <$list filter="[all[tiddlers]search]">
>>> <$link/>
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>> On Thursday, July 1, 2021 at 10:47:46 PM UTC-3 
>>> mohamed...@hotmail.com wrote:
>>>

 Hi ,

 I have a tiddler that has a filter that lists other tiddlers along 
 with their details

 the problem is the list is too long and big that it makes it hard 
 to find the one particular tiddler i want to look at .

 is there a way to add like a search box? where i can just enter the 
 tiddler name and this would hide everything and display the one 
 tiddler i 
 entered its name

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/DbxeR4MQeIw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/be87cba3-979c-4994-bb74-0ec787493d26n%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 

[tw5] Re: add hour to field

2021-07-12 Thread paulgilbert2000
Thanks again :)

On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:

> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 mohamed...@hotmail.com wrote:
>
>> 1-can i have this macro work for 2 fields at the same time , so same 
>> button pushes an hour for 2 fields
>>
>
> Just replicate the code to adjust each field, like this:
> <$button> add an hour
> <$vars time={{!!field1}} offset="+01:00">
> <$wikify name="newtime" text=<>>
> <$action-setfield field1=<> />
> 
> 
> <$vars time={{!!field2}} offset="+01:00">
> <$wikify name="newtime" text=<>>
> <$action-setfield field2=<> />
> 
> 
> 
>  
>
>> 2- can this work for all fields tagged a particular tag , so for example 
>> list all tiddlers matching a criteria , then one push of a button adds an 
>> hour to all listed tidlers
>>
>
> The code works with a field from the current tiddler, so if you put it 
> within a $list widget that finds all the desired tiddlers, it will update 
> all the tiddlers with one button push:
> <$button> add an hour
> <$list filter="[tag[sometag]]">
><$vars time={{!!somefield}} offset="+01:00">
><$wikify name="newtime" text=<>>
><$action-setfield somefield=<> />
>
>
> 
> 
>
> enjoy,
> -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/cea42531-31d1-462c-92d9-5f65415640d5n%40googlegroups.com.


[tw5] Re: [Seeking Ideas] Issues with a TW in four languages ...

2021-07-12 Thread TiddlyTweeter
Ciao PMario

Thanks for your reply.

I can maybe rephrase part of it. 

   * Q: Could I use the "info" plugin to feed "start-up" actions to 
establish which country/language the wiki is being opened in?*

Just a stab in the dark! :-)
TT

On Monday, 12 July 2021 at 20:22:07 UTC+2 PMario wrote:

> Hi, 
> I was working on multi-language plugins. So the texts could be 
> language-plugins which switch with the language. ... 
>
> The problem I have atm is, that the plugin import dialogue wikitext is 
> frustratingly complicated, which slows down the progress quite a bit. 
>
> -mario
>

-- 
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/6c5bf184-f439-45fb-9946-a4413d9100afn%40googlegroups.com.


[tw5] Re: Best ways to use TiddlyWiki on a Chromebook?

2021-07-12 Thread TiddlyTweeter
One of the more interesting things about Chrome is the somewhat silent 
auto-support to dongles. 

It is easy to interface with USB sticks. And more interestingly HDMI 
monitors. 

On my Lenevo (recent) Chromebook both USB saving and HDMI (just a TV) 
monitor work out of the Dongle ...

Best wishes
TT

On Saturday, 10 April 2021 at 15:55:35 UTC+2 jeremy...@gmail.com wrote:

> Does anyone here use TiddlyWiki on a Chromebook?
>
> A friend with a Chromebook wants to experiment with TiddlyWiki, and so I'd 
> be interested in any feedback on the best of the available options. They'd 
> like to keep a private notes file in Dropbox or Google Drive. Ordinarily, 
> I'd recommend TiddlyDesktop and/or Quine, but they obviously don't work in 
> this case.
>
> Many thanks,
>
> Jeremy
>
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.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/a4f3ceb5-699a-4195-9b75-fe8a87ab3907n%40googlegroups.com.


[tw5] Re: [Seeking Ideas] Issues with a TW in four languages ...

2021-07-12 Thread PMario
Hi, 
I was working on multi-language plugins. So the texts could be 
language-plugins which switch with the language. ... 

The problem I have atm is, that the plugin import dialogue wikitext is 
frustratingly complicated, which slows down the progress quite a bit. 

-mario

-- 
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/a6480084-0a60-4680-b1ac-82c772560f1dn%40googlegroups.com.


[tw5] Link to widget to create tiddler, If tiddler doesn't exist

2021-07-12 Thread James Anderson
Hello,

I would like to create a link to create a tiddler using a template if that 
tiddler does not exist.

e.g. in tiddlywiki.com have a new tiddler:

```
\define AList() [[Full Edition]] [[Empty Edition]] [[Blog Edition]] [[Non 
Existing Edition]]

<$list filter=<>>

<$link to={{!!title}}>{{!!title}}


```

[image: キャプチャ1.PNG]

instead of linking to Non Existing Editing directly i would like to link to 
a widget that will create it from a template. 
e.g. https://tiddlywiki.com/#ActionCreateTiddlerWidget the last example 
here. but if it does exist link to it normally.

Any tips on how to achieve this?

Thanks,
James

-- 
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/4569954b-d91a-4aef-985a-934b888b3e74n%40googlegroups.com.


[tw5] [Seeking Ideas] Issues with a TW in four languages ...

2021-07-12 Thread TiddlyTweeter
This is merely an early query. I need some ideas on an efficient approach 
to the following problem ...

*AIM:* Put on-line the 54 images of "LIberty" by Angela Weyersberg 

 in 
a self contained gallery.

*THE CASE: *Each image of a painting has FOUR language variations for its 
legend (English. Italian, Slovenian, German) FYI, the variants are held in 
fields of each image tiddler.

*THE PROBLEM: *HOW do I in TW (1) Establish the language to invoke on 
startup? (2) enable language switching?

I realised the specific issue is not gonna be solved by the "lingo 
mechanism" as is,  as in this particular case, its not UI buttons in 
contest but actual content.

I HOPE this is clear!

At the moment I'm simply need some ideas about how to move forward.
ANY ideas are most welcome
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/06e7af7a-9bfe-49c6-9e27-5849e16dca10n%40googlegroups.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Jeremy Ruston
The ~ symbol at the start of a run is a synonym for “:else”, and it means that 
the run will only be processed if the current list is empty. There are some 
docs here:

https://tiddlywiki.com/#Filter%20Expression 


Best wishes

Jeremy

> On 12 Jul 2021, at 16:33, Siniy-Kit  wrote:
> 
> Thank you Jeremy. It works good. And where I can read about this "~" symbol 
> in filters. I never use it.   
> 
> понедельник, 12 июля 2021 г. в 18:31:15 UTC+3, jeremy...@gmail.com: 
> Try:
> 
> {{{ [tag[notag]get[price]] ~0 +[minall[]] }}}
> 
> Best wishes
> 
> Jeremy
> 
> 
>> On 12 Jul 2021, at 16:29, Siniy-Kit > > wrote:
>> 
> 
>> OK. How can I get 0 (not infinity) in this filter 
>> {{{[tag[notag]get[price]minall[]]}}} when there is no tiddlers with tag  
>> "notag"
>> 
>> понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com 
>> : 
>> Hi Siniy-Kit,
>> 
>>> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
>>> the field values is text (not number) How can I check numbers in filter?  
>>> (something like is[number]  )
>> 
>> That seems like a bug with the minall[] operator. All the numeric operators 
>> are supposed to treat items that can’t be parsed as a number as zero. Thus 
>> the following filter returns zero:
>> 
>> 1 2 3 chicken +[minall[]]
>> 
>> Can you give an example of the values that return Infinity?
>> 
>> Many thanks,
>> 
>> 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+...@googlegroups.com <>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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+...@googlegroups.com 
>> .
> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/d98e3630-bf04-4202-8963-860fe9c6bd1cn%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/107a15ad-6821-4a5c-9c43-6906a4e62882n%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/2C7E17F7-1170-4C94-B7E4-D4EEA1F3B279%40gmail.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Siniy-Kit
Thank you Jeremy. It works good. And where I can read about this "~" symbol 
in filters. I never use it.   

понедельник, 12 июля 2021 г. в 18:31:15 UTC+3, jeremy...@gmail.com: 

> Try:
>
> {{{ [tag[notag]get[price]] ~0 +[minall[]] }}}
>
> Best wishes
>
> Jeremy
>
> On 12 Jul 2021, at 16:29, Siniy-Kit  wrote:
>
> OK. How can I get 0 (not infinity) in this 
> filter {{{[tag[notag]get[price]minall[]]}}} when there is no tiddlers with 
> tag  "notag"
>
> понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com: 
>
>> Hi Siniy-Kit,
>>
>> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
>> the field values is text (not number) How can I check numbers in filter?  
>> (something like is[number]  )
>>
>>
>> That seems like a bug with the minall[] operator. All the numeric 
>> operators are supposed to treat items that can’t be parsed as a number as 
>> zero. Thus the following filter returns zero:
>>
>> 1 2 3 chicken +[minall[]]
>>
>> Can you give an example of the values that return Infinity?
>>
>> Many thanks,
>>
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/d98e3630-bf04-4202-8963-860fe9c6bd1cn%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/107a15ad-6821-4a5c-9c43-6906a4e62882n%40googlegroups.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Jeremy Ruston
Try:

{{{ [tag[notag]get[price]] ~0 +[minall[]] }}}

Best wishes

Jeremy

> On 12 Jul 2021, at 16:29, Siniy-Kit  wrote:
> 
> OK. How can I get 0 (not infinity) in this filter 
> {{{[tag[notag]get[price]minall[]]}}} when there is no tiddlers with tag  
> "notag"
> 
> понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com 
> : 
> Hi Siniy-Kit,
> 
>> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
>> the field values is text (not number) How can I check numbers in filter?  
>> (something like is[number]  )
> 
> That seems like a bug with the minall[] operator. All the numeric operators 
> are supposed to treat items that can’t be parsed as a number as zero. Thus 
> the following filter returns zero:
> 
> 1 2 3 chicken +[minall[]]
> 
> Can you give an example of the values that return Infinity?
> 
> Many thanks,
> 
> 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+...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/d98e3630-bf04-4202-8963-860fe9c6bd1cn%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/C83647B8-457F-401C-A847-7CDAD3776971%40gmail.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Siniy-Kit
OK. How can I get 0 (not infinity) in this 
filter {{{[tag[notag]get[price]minall[]]}}} when there is no tiddlers with 
tag  "notag"

понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit,
>
> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
> the field values is text (not number) How can I check numbers in filter?  
> (something like is[number]  ) 
>
>
> That seems like a bug with the minall[] operator. All the numeric 
> operators are supposed to treat items that can’t be parsed as a number as 
> zero. Thus the following filter returns zero:
>
> 1 2 3 chicken +[minall[]]
>
> Can you give an example of the values that return Infinity?
>
> Many thanks,
>
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/d98e3630-bf04-4202-8963-860fe9c6bd1cn%40googlegroups.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Jeremy Ruston
Hi Siniy-Kit,

That’s correct: minall[] applied to an empty input list will return the special 
value “Infinity”.

You should be able to fix things with an “else” run:

 {{{[is[current]tagging[]tag[$:/Note]!tag[$:/TOC]!ostatok[0]get[price]] ~0 
+[minall[]]}}}

Best wishes

Jeremy

> On 12 Jul 2021, at 16:21, Siniy-Kit  wrote:
> 
> I understand the problem was in  !ostatok[0]  my filter was empty
> 
> понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com 
> : 
> Hi Siniy-Kit,
> 
>> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
>> the field values is text (not number) How can I check numbers in filter?  
>> (something like is[number]  )
> 
> That seems like a bug with the minall[] operator. All the numeric operators 
> are supposed to treat items that can’t be parsed as a number as zero. Thus 
> the following filter returns zero:
> 
> 1 2 3 chicken +[minall[]]
> 
> Can you give an example of the values that return Infinity?
> 
> Many thanks,
> 
> 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+...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/9edb2670-89b0-4fb5-a179-d59bae79b803n%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/DDA38BD1-CDF5-4861-9372-C358267F7D90%40gmail.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Siniy-Kit
I understand the problem was in  !ostatok[0]  my filter was empty

понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit,
>
> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
> the field values is text (not number) How can I check numbers in filter?  
> (something like is[number]  ) 
>
>
> That seems like a bug with the minall[] operator. All the numeric 
> operators are supposed to treat items that can’t be parsed as a number as 
> zero. Thus the following filter returns zero:
>
> 1 2 3 chicken +[minall[]]
>
> Can you give an example of the values that return Infinity?
>
> Many thanks,
>
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/9edb2670-89b0-4fb5-a179-d59bae79b803n%40googlegroups.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Siniy-Kit
Hi, Jeremy. You are write and in  1 2 3 chicken +[minall[]] we get 0 ( I 
want to get 1)

infinity I see here
https://heeg.ru/shop2_2.html?id=149L604jnZ142DRRK2bnvF1CdUSZLwnH9TVkYoDitRAo#Professionalnyj-perevod

when  I try this 
filter  
{{{[is[current]tagging[]tag[$:/Note]!tag[$:/TOC]!ostatok[0]get[price]minall[]]}}}



понедельник, 12 июля 2021 г. в 17:48:16 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit,
>
> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
> the field values is text (not number) How can I check numbers in filter?  
> (something like is[number]  ) 
>
>
> That seems like a bug with the minall[] operator. All the numeric 
> operators are supposed to treat items that can’t be parsed as a number as 
> zero. Thus the following filter returns zero:
>
> 1 2 3 chicken +[minall[]]
>
> Can you give an example of the values that return Infinity?
>
> Many thanks,
>
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/9be67669-0e25-4f78-9fcd-469f4a2946f7n%40googlegroups.com.


[tw5] Re: Tiddlywiki Keyboard Navigation

2021-07-12 Thread RJ Skerry-Ryan
Awesome, I love the work that you're doing and am so thankful. :) Having 
more stuff in core when it makes sense sounds great to me.

On Discord, saqimtiaz pointed me at tw5-keyboard-navigation-plugin 
 
which works really well for my navigation/editing by keyboard needs at the 
moment.



On Monday, July 12, 2021 at 12:38:44 AM UTC-7 BurningTreeC wrote:

> Hello @Russel
>
> Besides this "Select Mode" I've done many experiments to find a solution 
> for the "focus tiddler" and over at GitHub 
>  we're 
> currently discussing another approach
> I've moved away from trying to implement a plugin on my own to trying to 
> get something to the tiddlywiki core. But I think there's still a lot of 
> work to do and help is needed
>
> best wishes, BTC
>
>
> russel...@gmail.com schrieb am Montag, 12. Juli 2021 um 05:50:41 UTC+2:
>
>> Great work! Select mode works really well. It looks like a possible 
>> solution for the "focus tiddler", "navigate river with j/k" and "edit 
>> current selected tiddler" feature requests (related issues 1537 
>> , 980 
>> ).
>>
>> Is the code available for this anywhere? The demo for 
>> https://github.com/BurningTreeC/tiddlywiki-muuri doesn't seem to have 
>> this?
>>
>> On Monday, July 23, 2018 at 6:15:44 AM UTC-7 BurningTreeC wrote:
>>
>>> I found that I only need one Mode - I call it select mode.
>>>
>>> I activate it using alt-S. When it activates it sets some keyboard 
>>> shortcuts active (adds the tag $:/tags/KeyboardShortcut to the already 
>>> created action-tiddlers ... leaving select-mode disables these shortcuts)
>>> these keyboard shortcuts have single letters assigned: E for editing, C 
>>> for closing/cancelling, D for deleting, Y for cloning tiddlers. These 
>>> shortcuts automatically also leave select-mode.
>>> Left/J/K navigates to the previous tiddler in the story river, 
>>> Right/L/Backquote navigates to the next
>>>
>>> I find this really handy and it works just with the keeboord plugin, no 
>>> other dependencies needed
>>> I think it'd be good to make the tiddler-edit-button leave edit-mode in 
>>> case it's on, so that one can instantly start typing without having to 
>>> press Escape first
>>>
>>> If you like it, let me know what you think
>>>
>>> BTC
>>>
>>

-- 
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/dabb9507-7ced-40fd-8705-bd99fe7fd13fn%40googlegroups.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread Jeremy Ruston
Hi Siniy-Kit,

> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of the 
> field values is text (not number) How can I check numbers in filter?  
> (something like is[number]  )

That seems like a bug with the minall[] operator. All the numeric operators are 
supposed to treat items that can’t be parsed as a number as zero. Thus the 
following filter returns zero:

1 2 3 chicken +[minall[]]

Can you give an example of the values that return Infinity?

Many thanks,

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/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/89C636AE-0491-4889-B649-BC0D6C70FFAA%40gmail.com.


Re: [tw5] How to understand if we have number in the field or not

2021-07-12 Thread trend

Hi,


I'm not sure if it will work for you. But you could try something with the 
"compare Operator". It has a type for numbers and integers.

And perhaps combined with "Conditional Operators".




Kind regards,
Trend.


On Monday, 12 July 2021 13:27:37 (+02:00), Siniy-Kit wrote:


Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
the field values is text (not number) How can I check numbers in filter?  
(something like is[number]  )


--
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/75155f75-3c13-409f-ace8-2799d5d9a7ban%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/AS8P194MB13046916BAC54BC5580B13F49B159%40AS8P194MB1304.EURP194.PROD.OUTLOOK.COM.


[tw5] Re: How to understand if we have number in the field or not

2021-07-12 Thread Eric Shulman
On Monday, July 12, 2021 at 4:27:37 AM UTC-7 Siniy-Kit wrote:

> Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
> the field values is text (not number) How can I check numbers in filter?  
> (something like is[number]  )


At present, there is no "is[number]" filter.
However, using a bit of clever math, it *is* possible to determine if a 
value is a number:

If you multiply a field value by 1, and get the same value back, then it is 
a number.   Here are some examples:
<$vars value="5"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}
<$vars value="0"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}
<$vars value="foo"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}

Note that using the match test doesn't properly handle values with 
leading or trailing zeros (e.g., "5.00" or "005"
<$vars value="5.00"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}
<$vars value="005"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}
<$vars value="000"><> is {{{ [multiply[1]matchthen[a 
number]else[not a number]] }}}

A more accurate test would be to use compare:number:eq
<$vars value="5.00"><> is {{{ 
[multiply[1]compare:number:eqthen[a number]else[not a 
number]] }}}
<$vars value="005"><> is {{{ 
[multiply[1]compare:number:eqthen[a number]else[not a 
number]] }}}
<$vars value="000"><> is {{{ 
[multiply[1]compare:number:eqthen[a number]else[not a 
number]] }}}

enjoy,
-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/1296971c-8dc2-4edb-9b09-2a78067a00c5n%40googlegroups.com.


Re: [tw5] Re: Adding " in a config that is wrapped in " "

2021-07-12 Thread David Gifford
Thanks Saq! I found your post when I checked my spam filter this morning.
Works great! Commencing world domination as we speak.


On Sun, Jul 11, 2021 at 7:15 AM Saq Imtiaz  wrote:

> Try this:
>
> "pattern": "///",
>   "filter": "[all[tiddlers]!is[system]]",
>   "start": "<$macrocall $name=det tid=\"",
>   "end": "\" />"
>
> On Sunday, July 11, 2021 at 1:50:17 PM UTC+2 David Gifford wrote:
>
>> Hi everyone
>>
>> My edit to the edit-comptext plugin config tiddler (
>> http://snowgoon88.github.io/TW5-extendedit/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fconfig
>> )
>>
>> Has this:
>>
>> "pattern": "///",
>>   "filter": "[all[tiddlers]!is[system]]",
>>   "start": "<$macrocall $name=det tid=",
>>   "end": " />"
>>
>> I would like to have a " after tid= and another " before /> so that when
>> I hit enter, the tiddler that is autocompleted will be wrapped with the
>> full macrocall. Single quotes aren't an option, because tiddler titles
>> could contain single quotes.
>>
>> What is the secret hack you guys use to sneak those in? Based on the
>> editor toolbar wrap buttons I tried turning " from the code into """, but I
>> destroyed my file. Don't worry, it was a copy, so I didn't lose anything.
>>
>> Thanks for any help you can give!
>>
>> Dave
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/T3n5S27urEo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/0ab2eaad-4a1b-4dc7-ab33-31bb17ff9bden%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/CANE%3DBFLZQ3ryyoxOcqdSYwfeZ6Oympif6qNYqCCUqh4P3qDnjg%40mail.gmail.com.


[tw5] How to understand if we have number in the field or not

2021-07-12 Thread Siniy-Kit
Hi!  I use minall[]  in filter,  and sometimes get "infinity" when one of 
the field values is text (not number) How can I check numbers in filter?  
(something like is[number]  )

-- 
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/75155f75-3c13-409f-ace8-2799d5d9a7ban%40googlegroups.com.


[tw5] Re: Tiddlywiki Keyboard Navigation

2021-07-12 Thread BurningTreeC
Hello @Russel

Besides this "Select Mode" I've done many experiments to find a solution 
for the "focus tiddler" and over at GitHub 
 we're currently 
discussing another approach
I've moved away from trying to implement a plugin on my own to trying to 
get something to the tiddlywiki core. But I think there's still a lot of 
work to do and help is needed

best wishes, BTC

russel...@gmail.com schrieb am Montag, 12. Juli 2021 um 05:50:41 UTC+2:

> Great work! Select mode works really well. It looks like a possible 
> solution for the "focus tiddler", "navigate river with j/k" and "edit 
> current selected tiddler" feature requests (related issues 1537 
> , 980 
> ).
>
> Is the code available for this anywhere? The demo for 
> https://github.com/BurningTreeC/tiddlywiki-muuri doesn't seem to have 
> this?
>
> On Monday, July 23, 2018 at 6:15:44 AM UTC-7 BurningTreeC wrote:
>
>> I found that I only need one Mode - I call it select mode.
>>
>> I activate it using alt-S. When it activates it sets some keyboard 
>> shortcuts active (adds the tag $:/tags/KeyboardShortcut to the already 
>> created action-tiddlers ... leaving select-mode disables these shortcuts)
>> these keyboard shortcuts have single letters assigned: E for editing, C 
>> for closing/cancelling, D for deleting, Y for cloning tiddlers. These 
>> shortcuts automatically also leave select-mode.
>> Left/J/K navigates to the previous tiddler in the story river, 
>> Right/L/Backquote navigates to the next
>>
>> I find this really handy and it works just with the keeboord plugin, no 
>> other dependencies needed
>> I think it'd be good to make the tiddler-edit-button leave edit-mode in 
>> case it's on, so that one can instantly start typing without having to 
>> press Escape first
>>
>> If you like it, let me know what you think
>>
>> BTC
>>
>

-- 
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/3c622607-6ce0-4e6c-80ac-f929c46701d4n%40googlegroups.com.