Greeaaat.

Am Freitag, 24. Januar 2014 21:42:43 UTC+1 schrieb Jeremy Ruston:
>
> Hi Michael
>
> Yes, global macros are planned, but not implemented yet. I've added a note 
> the roadmap for 5.0.7 to clarify:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/f9b5d75446c6f2a99e835ad61e330f583c4a6cb3
>
> Best wishes
>
> Jeremy
>
>
> On Fri, Jan 24, 2014 at 6:44 PM, Michael Herrmann 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> In general I was delighted to see that in TW5 we have some kind of 
>> macros. Unfortunately the scope of macros is mainly the current tiddler. 
>> That means if I have a universally usable macro I have to copy and paste it 
>> to every tiddler where I want to use it. For me this is almost no benefit. 
>> (Maybe I do not recognize some important aspect that leverages this 
>> characteristics.)
>>
>> When I read the documentation tiddler I happily misunderstood the last 
>> part of the sentence:
>>
>> Macros are available to the tiddler that defines them, plus any tiddlers 
>> that it transcludes.
>>
>> At first glance that sounded to me as if I could prepare a tiddler with 
>> all my macros and only transclude that tiddler wherever I like use one of 
>> those macros.
>>
>> Unfortunately this was a misunderstanding and the use is just the other 
>> way round :-( I.e. if I have a tiddler with some macro and I transclude 
>> another tiddler, then the macro is available in this transclusion. Sounds 
>> interesting, but currently no use case comes to my mind.
>>
>> I know that there is one tiddler that exports it's macros globally: 
>> $:/core/ui/pageMacros. I see these drawbacks:
>>
>> (1) The choice between "not available elsewhere" and "available 
>> everywhere" is a too big step. I would prefer a more fine grain granularity.
>>
>> (2) This system tiddler is under risk to be overwritten when upgrading 
>> TW5.
>>
>> So, my question is: wouldn't it be very useful to widen the scope of 
>> macros somehow? Perhaps by some kind of _import_ mechanism?
>>
>> regards
>>  Michael
>>
>>  -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to