[tw5] Re: one-liner to fetch tiddler's fields value

2022-01-30 Thread CarloGgi
estion/tip CG On Sunday, January 30, 2022 at 2:40:14 PM UTC+2 CarloGgi wrote: > wow, awesome! Thanks a lot! > > On Sunday, January 30, 2022 at 3:11:49 AM UTC+2 Télumire wrote: > >> {{{ >> [is[current]fields[]!match[text]]:reduce[<..currentTiddler>getformat:titl

[tw5] Re: one-liner to fetch tiddler's fields value

2022-01-30 Thread CarloGgi
wow, awesome! Thanks a lot! On Sunday, January 30, 2022 at 3:11:49 AM UTC+2 Télumire wrote: > {{{ > [is[current]fields[]!match[text]]:reduce[<..currentTiddler>getformat:titlelist[]addprefix[ > > ]addprefix]+[enlist-input[]] }}} > > On Saturday, 29 January 2022 at 22:12

[tw5] one-liner to fetch tiddler's fields value

2022-01-29 Thread CarloGgi
Hallo everyone, how do I write a one-line filter (a single filter expression) that outputs the value of all (or some of) the fields of a given tiddler? The more I try, the less I'm able to... Thanks, CG -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

Re: [tw5] Re: dynamically building a string by concatenation in a macro

2022-01-23 Thread CarloGgi
tender loving care, including a need to update the related circa 2014 > documentation (ReportingBugs <https://tiddlywiki.com/#ReportingBugs>). > > > "Crappy"? > > It would be more helpful to explain the specific problems you see, and > perhaps suggest improve

[tw5] Re: dynamically building a string by concatenation in a macro

2022-01-22 Thread CarloGgi
t; >> <$button> >> <$action-createtiddler >> $basetitle="testTiddler" >> $template={{{ [[BASENAME-]addsuffix{!!grammar_class}] >> }}} > >> >> <$action-navigate $to=<>/> >> >

[tw5] dynamically building a string by concatenation in a macro

2022-01-22 Thread CarloGgi
hallo folks, i need to feed the $template parameter of an <$action-createtiddler> widget with the correct template tiddler's name. The latter has a fixed part 'BASENAME' and a parameterized (or variable) suffix, which is choosen by means of a <$select> input. The idea is to have a macro build

[tw5] assigning macro output to a variable

2021-12-15 Thread CarloGgi
Hi everybody, the struggle to get TW do what I want it to do goes on hopelessly. I have a database of systems described by one data tiddler each, like this: system_1 tag: system feature 11: Y/N feature 12: Y/N feature 13: Y/N feature 14: Y/N system_2 tag:

[tw5] Re: appending to a 'list variable' through cycles

2021-11-28 Thread CarloGgi
Thanks a ton! CG On Sunday, November 28, 2021 at 1:28:08 PM UTC+2 PMario wrote: > On Sunday, November 28, 2021 at 11:46:05 AM UTC+1 CarloGgi wrote: > >> Hi Mario, her I am, sorry for the late reply but I've been very much busy >> lately... >> Your code works well, and

[tw5] Re: appending to a 'list variable' through cycles

2021-11-28 Thread CarloGgi
Hi Mario, her I am, sorry for the late reply but I've been very much busy lately... Your code works well, and I will thoroughly study it to improve my knowledge of Tiddlywiki, but it doesn't do what I'm looking for. When I input more than one keyword, the code should return ALL the tiddlers

[tw5] Re: appending to a 'list variable' through cycles

2021-11-21 Thread CarloGgi
it is indeed! I updated to TW 5.2.0 and it is gone now. On Sunday, November 21, 2021 at 7:27:50 PM UTC+2 PMario wrote: > > 1. it crashes TW with an 'internal Javascript error' red alert. I also > tried myself to write something similar, and every time I tried to use a > variable inside a

[tw5] Re: variables in subfilters make TW crash

2021-11-21 Thread CarloGgi
:27 PM UTC+1 CarloGgi wrote: > >> >> Hallo everybody, I go into trouble when using variables in subfilters, >> they make code as simple as >> >> <$list variable="indx" filter="[tag[myTag]indexes[]]"> >> >> <$vars subf=

[tw5] Re: variables in subfilters make TW crash

2021-11-21 Thread CarloGgi
I forgot the most important: TW version! *Tiddlywiki* *5.1.23* Ubuntu 18.04.6 LTS Firefox 94.0 CG On Sunday, November 21, 2021 at 3:30:27 PM UTC+2 CarloGgi wrote: > > Hallo everybody, I go into trouble when using variables in subfilters, > they make code as simple as > > <$l

[tw5] variables in subfilters make TW crash

2021-11-21 Thread CarloGgi
Hallo everybody, I go into trouble when using variables in subfilters, they make code as simple as <$list variable="indx" filter="[tag[myTag]indexes[]]"> <$vars subf="[getindexsplit[,]trim[]match[aword]]"> <$list filter="[tag[myTag]filter]" variable="result"> <>

[tw5] Re: appending to a 'list variable' through cycles

2021-11-21 Thread CarloGgi
Dear PMario, your code <$list filter=[tag[dict-AR]indexes] variable=index> <$set name="subf" value="[getindexsplit[,]trim[]match]"> <$list filter="[tag[dict-AR]filter]" variable="entry"> <> COULD do the trick, but: 1. it crashes TW with an 'internal Javascript error'

[tw5] Re: appending to a 'list variable' through cycles

2021-11-20 Thread CarloGgi
ntry's indexes... Anyway the subfilter's way is a winner, I'll stick to it. On Saturday, November 20, 2021 at 3:51:12 PM UTC+2 CarloGgi wrote: > subfilters are key! I just came across 'filter' operator and I'm pretty > much confident it can do what I want. > So far I was able to im

[tw5] Re: appending to a 'list variable' through cycles

2021-11-20 Thread CarloGgi
2021 at 2:20:38 PM UTC+2 PMario wrote: > On Saturday, November 20, 2021 at 12:12:54 PM UTC+1 CarloGgi wrote: > >> Hi PMario, thanks a lot, indeed my code is inconsistent because in an >> attempt to give a generic example, not tied tho the specific issue, I tried >> to si

[tw5] Re: appending to a 'list variable' through cycles

2021-11-20 Thread CarloGgi
Hi PMario, thanks a lot, indeed my code is inconsistent because in an attempt to give a generic example, not tied tho the specific issue, I tried to simplify it (and I ended up to over-simplify it). Lots of stuff to reply to, let's go through it point by point: 1. indeed widgets are no

[tw5] appending to a 'list variable' through cycles

2021-11-19 Thread CarloGgi
Hallo everyone, how do I append to a list of items through different cycle-runs of the code? The most intuitive way to do it would be haveing a variable that stores my list, but as far as I can see, in Tiddlywiki you cannot assign to a 'variable' other than at declaration time. Once you have

[tw5] Re: ACE editor plugin

2021-11-06 Thread CarloGgi
Thanksalot, I will have a look at it. On Saturday, November 6, 2021 at 4:55:12 PM UTC+2 PMario wrote: > Hi CG, > > CodeMirro may be an option: https://tiddlywiki.com/#CodeMirror%20Plugin > Also have a look at: https://github.com/Gk0Wk/TW5-CodeMirror-Enhanced > > -mario > > -mario > -- You

[tw5] Re: ACE editor plugin

2021-11-06 Thread CarloGgi
ll not work until you > save your TiddlyWiki and reload it. > > > > On Saturday, November 6, 2021 at 9:01:35 AM UTC-3 CarloGgi wrote: > >> Hallo, how do I install Joerg Plewe's ACE editor plugin? >> >> I imported by dragging and dropping into my wiki the who

[tw5] ACE editor plugin

2021-11-06 Thread CarloGgi
Hallo, how do I install Joerg Plewe's ACE editor plugin? I imported by dragging and dropping into my wiki the whole set of shadow tiddlers, but I guess it's not enough and indeed when I open a new tiddler it gives error 'Undefined widget 'edit-aceeditor'' Couldn't find any clue on how to

[tw5] Re: searching for an item in a list stored as a tiddler's field

2021-10-16 Thread CarloGgi
y expect the filter to output all the tiddlers -zero or one actually- that match title 'foo' and are tagged 'bar') so this behavior would deserve to be highlighted strongly in the documentation IMHO. On Saturday, October 16, 2021 at 7:01:53 PM UTC+3 CarloGgi wrote: > with reference to my previo

[tw5] Re: searching for an item in a list stored as a tiddler's field

2021-10-16 Thread CarloGgi
ot;[[enlist{!!my_tiddlers_list}]]"> they both always output the value of <>, whether it was included in my_tiddlers_list or not. On Saturday, October 16, 2021 at 6:51:15 PM UTC+3 CarloGgi wrote: > Hallo again, > I have some tiddlers with a special field, call it 'my_tiddlers_list'

[tw5] searching for an item in a list stored as a tiddler's field

2021-10-16 Thread CarloGgi
Hallo again, I have some tiddlers with a special field, call it 'my_tiddlers_list' that stores, not hard to guess, a list of other tiddlers. By 'list' I mean to say the result of an <$action-listops xxx subfilter> widget, which is indeed some 'collection' of items separated by whitespace. I

[tw5] Re: piped links: show the 'label' part

2021-10-13 Thread CarloGgi
Thanks PMario, not was I was looking for but worth seeing. I'm using Tiddlywiki to (try to) take notes on Arabic language, which has a right-to-left script, that's why in my case the label is displayed to the right of the pipe | character. Regards, CG On Saturday, October 9, 2021 at 9:11:52

[tw5] Re: piped links: show the 'label' part

2021-10-09 Thread CarloGgi
actually, a better subject would have been 'find the label part of a piped link in a filter' On Saturday, October 9, 2021 at 3:45:04 PM UTC+3 CarloGgi wrote: > Hi everyone, how do I retrieve the 'label' -call it so- part of a > wikitext's piped link in Tiddlywiki? By 'label part' I mean

[tw5] piped links: show the 'label' part

2021-10-09 Thread CarloGgi
Hi everyone, how do I retrieve the 'label' -call it so- part of a wikitext's piped link in Tiddlywiki? By 'label part' I mean to say the clickable text that is shown on screen, and by 'piped link' I mean to say something like `[[true_link|label part]]`. The 'links[]' filter operator only

[tw5] Re: cannot transclude a tiddler name built from inside a macro

2021-08-09 Thread CarloGgi
ontext of the whole course, but I think you'll find it more useful > than the TW documentation at your skill level. > > On Sunday, August 8, 2021 at 1:27:08 PM UTC-5 CarloGgi wrote: > >> Yes Soren, you are right: I have little understanding of the inner gears >> of text substitu

Re: [tw5] Re: cannot transclude a tiddler name built from inside a macro

2021-08-08 Thread CarloGgi
the variable reference isn't mistaken for > conventional HTML syntax*, which uses the single angle brackets, e.g., >some text here > > Hopefully, the above explanations have provided some useful clues :-) > > enjoy, > -e > Eric Shulman > TiddlyTools.com: "Small Tools for

[tw5] Re: cannot transclude a tiddler name built from inside a macro

2021-08-08 Thread CarloGgi
ith filters. > > On Sunday, August 8, 2021 at 11:08:29 AM UTC-5 CarloGgi wrote: > >> >> Hallo, >> quite new to TW and I love it, though it is dramatically underdocumented >> and the whole docs are an almost unusable mess. >> >> To my biggest asto

[tw5] cannot transclude a tiddler name built from inside a macro

2021-08-08 Thread CarloGgi
Hallo, quite new to TW and I love it, though it is dramatically underdocumented and the whole docs are an almost unusable mess. To my biggest astonishment, when I try to dynamically build the name of a tiddler from inisde a macro, that macro output cannot be used from within a transclude