Hi Mat > Forgive a mere mortal, and if this is irrelevant then just disregard it but;
Not at all. In this case, I think that your proposal here could actually be explored in TW5, but it’s nonetheless interesting if discussion of TWX prompts rethinking of how we use TW5. > IMO defining multiple macros, or macros in a tiddler containing other stuff, > is not true to tiddler philosophy. There mere fact that a macro is defined > indicates that it should be an (individual) tiddler. I actually find “local macros” (ie macros defined and used within the same tiddler) to be an essential tool for organising the content within a tiddler, and so I would want to see them as part of TWX. The current thinking about shifting the tiddler store to be a stack of tiddler store widgets gives us a natural way to implement them. > Adhering to tiddler philosophy here would also open up for a much more > friendly UI for creating macros, as I've noted elsewhere. Briefly; an > (individual) macro tiddler could for example have the type macro and thus a > specific macro edit template with separate fields for the macro title and > another for parameters. Why should a user have to learn special syntax for > macros when they are basically just encompassing "shells”. I think you’re asking for a custom edit template to be used for tiddlers defining macros. As you say, that approach doesn’t mesh well with tiddlers that contain multiple macros, or macros along with their invocations. We could instead have an editor toolbar button that brings up a wizard type UI for creating macros, and then inserts the test at the end. Best wishes Jeremy. > In practice one currently typically needs to define multiple macros within > the same tiddler. This could be easily solved, in accordance with what I just > wrote, by adding new macros comparable to how we currently add new fields. In > actuality, what is created are separate macro tiddlers but they are presented > (transcluded) as if part of the current edit view. > <:-) > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/188e4f82-e542-4360-a95e-1085b840c1cd%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/188e4f82-e542-4360-a95e-1085b840c1cd%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/AF3915AD-53B2-4567-9CB7-388C819485B3%40gmail.com. For more options, visit https://groups.google.com/d/optout.
