[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-06 Thread TonyM
Thinking about conventions and methods. In the above examples whats with the <<_title>>? Is this not going to confuse the use of <<__var__>> ? Or do I not know this convention perhaps from JavaScript? Tony On Monday, August 6, 2018 at 3:45:20 AM UTC+10, Mohammad wrote: > > Hello FrD, > > I li

[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-06 Thread Mohammad
> > Many thanks Mario! > Best -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tidd

[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-05 Thread PMario
On Sunday, August 5, 2018 at 7:40:07 PM UTC+2, Mohammad wrote: > > I mean from programming point of view! The good programming practice or > standard always recommend clean and non error prone programming! > For example in Matlab or Fortran I use to program always we follow some > rules! > > So,

[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-05 Thread Mohammad
Hello FrD, I like your solution! It uses widgets for the purpose they are designed (here you used the meaningful action-setfield and your code is much more clearer than what I wrote! I use your code! Thank you *Mohammad* -- You received this message because you are subscribed to the Google G

[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-05 Thread FrD
Hi, Seems fine to me ! Nothing to worry about -:) The FBI (Fake Button Investigators) won't be alerted ... Another way to do the same : \define _title() $(currentTiddler)$-thumbnails \define _text() <> \define actions() <$action-setfield $tiddler=<<_title>> text=<<_text>>/> <$action-navigate $to

[tw5] Re: Use a button to create a tiddler in view mode: Is this legal or illegal?

2018-08-05 Thread Mohammad
I mean from programming point of view! The good programming practice or standard always recommend clean and non error prone programming! For example in Matlab or Fortran I use to program always we follow some rules! So, here I mean standard (defacto) or good programming style! I believe the ele