[tw5] Re: filter question: search for a common title in two or several list field

2019-12-26 Thread Mohammad
Simple to use simple to understand and do less unnecessary jobs! --Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tw5] filter question: search for a common title in two or several list field

2019-12-26 Thread TonyM
Mohammad What do you mean "more efficient"? I can imagin a few ways to make it more suited to more variables or easier to read the code etc but I am interested in what improvements you are looking for. Tony -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Incrementing Hidden Values

2019-12-26 Thread 'Mark S.' via TiddlyWiki
I think rather than have a field or value change based on a selection, I would have a displayed value that used the values in the various fields to calculate the result. This way you avoid accidental feedback where the score goes down every time the BP checkbox is clicked/unclicked. Depending

[tw5] Incrementing Hidden Values

2019-12-26 Thread Matthew Potter
Hey Folks, I've been working on something for the past couple hours and I can't seem to get it, what I am trying to do is have a score count based on field responses right now I have built an assessment worksheet in my tiddlywiki for my patients health results. Everyones health results

[tw5] Re: Div width based on variable?

2019-12-26 Thread Eric Shulman
On Thursday, December 26, 2019 at 10:50:35 AM UTC-8, David Allen wrote: > > How do I style a div so that its width as well as its left and right > margins are set by variables? > <$set name="span_percent" value="50"> > > > > > You want to use a macro to construct the style definition.

[tw5] Div width based on variable?

2019-12-26 Thread David Allen
How do I style a div so that its width as well as its left and right margins are set by variables? <$set name="span_percent" value="50"> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

Re: [tw5] Re: Using links like tags (announcement)

2019-12-26 Thread David Gifford
Ah, I should have written "next to the HTML code for the up arrow. Sorry! On Thu, Dec 26, 2019, 9:07 AM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > > > On Thursday, December 26, 2019 at 4:51:30 AM UTC-8, David Gifford wrote: >> >> Mark and Mohammad, >> >> Yes, that is

[tw5] Re: Using links like tags (announcement)

2019-12-26 Thread 'Mark S.' via TiddlyWiki
On Thursday, December 26, 2019 at 4:51:30 AM UTC-8, David Gifford wrote: > > Mark and Mohammad, > > Yes, that is correct, editing for the parent links is done in edit mode, > just as tags are. Manually insert parent topic links in the hideme span > with the help of the comptext. I am curious

[tw5] Re: filter question: search for a common title in two or several list field

2019-12-26 Thread Mohammad
How about searching and checking several user values at the same time? --Mohammad On Thursday, December 26, 2019 at 5:34:08 PM UTC+3:30, Mohammad wrote: > > >- tiddler *Tid01 *has a *list *field with values like > - aa bb [[cc and spave]] dd >- tiddler *Tid02 *has a *list *field

[tw5] filter question: search for a common title in two or several list field

2019-12-26 Thread Mohammad
- tiddler *Tid01 *has a *list *field with values like - aa bb [[cc and spave]] dd - tiddler *Tid02 *has a *list *field with values like - uu xx [[tt with space]] dd kk - a user value is given and it is desired to be checked if it is listed in both Tid01 and Tid02 list

[tw5] Re: Using links like tags (announcement)

2019-12-26 Thread David Gifford
Mark and Mohammad, Yes, that is correct, editing for the parent links is done in edit mode, just as tags are. Manually insert parent topic links in the hideme span with the help of the comptext. I am curious to know what aspect about the layout acted as a cue to make both of you think that

[tw5] Re: The cost of \import

2019-12-26 Thread Mohammad
Hi Mario, Many thanks for clarification. There is a trade off between using global and \import vars On Thursday, December 26, 2019 at 2:47:24 PM UTC+3:30, PMario wrote: > > On Thursday, December 26, 2019 at 10:14:04 AM UTC+1, Mohammad wrote: > ... > >> So, I have started to revise some my

[tw5] Re: The cost of \import

2019-12-26 Thread PMario
On Thursday, December 26, 2019 at 10:14:04 AM UTC+1, Mohammad wrote: ... > So, I have started to revise some my plugins with 10s or more of global > vars! > Plugins should only define global variables / macros, that they want to expose to users. This helps to avoid "name clashes". Which I

[tw5] Re: The cost of \import

2019-12-26 Thread PMario
On Thursday, December 26, 2019 at 10:14:04 AM UTC+1, Mohammad wrote: ... > It was recommended to less use of global macros (those tagged with > $:/tags/Macro) > I did have a closer look at the PR and *I can't see* a recommendation to use less global macros. ... It's true, global macros have

[tw5] Re: The cost of \import

2019-12-26 Thread PMario
Hi, It's nice to see, that you are interested in every aspect of TW. ... Some "background info" Flibbles is searching for elements in the core, that are part of the "hot path" and therefor are executed on every UI redraw. If performance can be improved there, it will positively affect

[tw5] Re: Easy local saving with WebDav

2019-12-26 Thread bimlas
Found a list of WebDAV services: https://github.com/laurent22/joplin#webdav-synchronisation -- 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] The cost of \import

2019-12-26 Thread Mohammad
Recently there was a discussion of global variable on github by @flibles https://github.com/Jermolene/TiddlyWiki5/pull/4108 It was recommended to less use of global macros (those tagged with $:/tags/Macro) So, I have started to revise some my plugins with 10s or more of global vars! I wish