Hi TT and Mat,



On Wed, Apr 14, 2021 at 6:29 PM TiddlyTweeter <[email protected]>
wrote:

> Ciao Mat,
> *   Great you are interested in this!*
>
> The ONLY concrete real comment I have is that, IN PRACTICE, is 92.5% of
> the time, I want to track down ONE macro, and nothing more than that (to be
> exposed to all macros is NOT really useful to me, in fact that forest loses
> me!).
>
> *MY issue is only to find in WHICH Tiddler a specific Macro is in.*
> Full stop.
>
> *Not sure if that helps? *
> But it is a de-limited thing I need. Simply searching to find a (one) named*
> \define XYZ(**...).*
>
> Not sure what others need. But that is all I need.
>
> > Mat: Maybe the macros should be findable via some search mechanism
>
> Right. I think it has been done?
> Maybe Mohammad already has the code to do that?
>

A spy tool is show-macros from Utility plugins

Example

1. Go to http://tiddlywiki.com
2. From Utility plugin (https://kookma.github.io/TW-Utility/) drag and drop
Utility plugin (e.g
https://kookma.github.io/TW-Utility/#%24%3A%2Fplugins%2Fkookma%2Futility)
into  http://tiddlywiki.com
3. Create a tiddler with below code

<$list filter="[all[tiddlers+shadows]tag[$:/tags/Macro]]">
<h2><$link/></h2>
<<show-macro>>
</$list>

Save and see all global macros with links to their tiddlers!
Small issue: show-macro can confuse with macro with no \end






>
>
> Thoughts
> TT
>
> On Wednesday, 14 April 2021 at 14:13:40 UTC+2 Mat wrote:
>
>> Thanks for encouragement everyone.
>>
>> @TiddlyTweeter wrote:
>>
>>> There is *ONE thing* missing that could be a Godsend. FIND a macro???
>>>
>>
>> I agree, and that is actually exactly what I'm fiddling with! But I'm not
>> sure exactly how to approach it. The problem is not the coding but that
>> several macros are just not meant for end users. A prime example are
>> various "sub macros" only meant to support a main macro. In the core, many
>> of these are titled xxx-inner but I suspect many are not. And for communty
>> created plugins, there's of course no consistency at all to name submacros.
>>
>> Futher, there are well over 200 core macros so the list is too long. The 
>> "public"
>> core macros <https://tiddlywiki.com/prerelease/#core%20macros> are just
>> these (ca 35).
>>
>> So I'm thinking of a two list display (like in the SysTags tab) with
>> common macros + a separate complete list where you can "checkbox" macros to
>> add them to the common list. I figure it'd be nice if one can add custom
>> comments about what various macros do. I.e they're presented in a table
>> showing the macro name + its parameter list + an editor for comments. Any
>> thoughts on this?
>>
>> Maybe the macros should be findable via some search mechanism... using
>> the SearchDirectory feature... but then a simple dictionary list might not
>> work because that is just for direct search terms rather than descriptions.
>> I don't have a clear idea how to implement this bit though so maybe that's
>> for a later date.
>>
>> <:-)
>>
>>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e5d5dfca-832d-42b4-922f-f467737e96bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/e5d5dfca-832d-42b4-922f-f467737e96bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAZjeMuaVwnqU5rVu9cZ8wXvbT1nWoBLpX91BKAkhzx4A%40mail.gmail.com.

Reply via email to