Hey David Gifford,
I'm noticing you're integrating with Relink by using the inline "\relink"
pragma. I'd strongly recommend you change it so your plugin uses the relink
whitelist instead. You just need a tiddler named:
$:/config/flibbles/relink/macros/subsume/tid
whose contents is: title
The reason for doing this is because right now, Subsume DEPENDS on Relink
being installed, or else your plugin doesn't work. Your macro page reads
the "\relink subsume tid" and it doesn't know what to make of it, so it
stops reading pragma wikitext right there and never processes your macro.
If you use the whitelist trick, then Subsume works just fine without
Relink, but automatically integrates with Relink if Relink is present.
Also, this allows end-users to disable or modify your Relink integration
without overriding your macro shadow tiddler.
Good luck!
-Flibbles
On Monday, July 19, 2021 at 5:12:39 PM UTC-4 scot wrote:
> Thank you for quick reply Brian.
> i will give it a try.
>
> Kind Regards,
> Scot
> On Monday, 19 July 2021 at 21:25:50 UTC+1 Brian Radspinner wrote:
>
>> If you overwrite the shadow tiddler *$:/plugins/giffmex/subsume/macro/*
>> with the following:
>>
>> \relink subsume tid
>> \define subsume(tid:"" *field:"text"*) <details><summary><$view
>> tiddler="$tid$" field="title"/><$link
>> to="$tid$"> * </$link></summary><span
>> class="indent1"><$transclude tiddler="$tid$" *field=$field$*
>> mode="block"/></span></details>
>>
>> ...you can then specify a field to display besides text, but text will be
>> the default if you leave it off. Example:
>>
>> <$list filter="[collection[foo]sort[title]]">
>> <$macrocall $name=subsume tid=<<currentTiddler>> field="f1"/>
>> </$list>
>> On Monday, July 19, 2021 at 1:00:04 PM UTC-7 scot wrote:
>>
>>> Thanks @ David Gifford for another great tool.
>>>
>>> Hello @Brian Radspinner,
>>> Can you tell me how to expand the filter to include additional tiddler
>>> fields other than title.
>>> e.g. {{!!f1}}
>>>
>>> The example below doesn't work.
>>>
>>> <$list filter="[object-type[task]sort[title]]">
>>>
>>> <$macrocall $name=subsume tid=<<currentTiddler >>/>
>>> {{!!f1}}
>>> </$list>
>>>
>>> Thanks,
>>> Scot
>>> On Monday, 19 July 2021 at 13:09:31 UTC+1 David Gifford wrote:
>>>
>>>> Wow, nice to wake up to find a question and someone already answered
>>>> it! Thanks Brian
>>>>
>>>> On Monday, July 19, 2021 at 1:10:30 AM UTC-5 Sapphireslinger wrote:
>>>>
>>>>> Brian, thank you so much! It works!
>>>>>
>>>>> On Monday, July 19, 2021 at 10:50:59 AM UTC+8 Brian Radspinner wrote:
>>>>>
>>>>>> @sapphireslinger give this a try:
>>>>>>
>>>>>> <$list filter="[collection[foo]sort[title]]">
>>>>>> <$macrocall $name=subsume tid=<<currentTiddler>>/>
>>>>>> </$list>
>>>>>>
>>>>>> On Sunday, July 18, 2021 at 7:35:56 PM UTC-7 Sapphireslinger wrote:
>>>>>>
>>>>>>> David, thank you so much for this Subsume plugin. May I ask how to
>>>>>>> use it in a list filter?
>>>>>>>
>>>>>>> This works:
>>>>>>>
>>>>>>> <$list filter="[collection[foo]sort[title]]">
>>>>>>> <$details summary={{!!title}}>
>>>>>>> <$transclude field="text" mode="block"/>
>>>>>>> </$details>
>>>>>>> </$list>
>>>>>>>
>>>>>>> This does not work:
>>>>>>>
>>>>>>> <$list filter="[collection[foo]sort[title]]">
>>>>>>> <$subsume summary={{!!title}}>
>>>>>>> <$transclude field="text" mode="block"/>
>>>>>>> </$subsume>
>>>>>>> </$list>
>>>>>>>
>>>>>>> Nor does this:
>>>>>>>
>>>>>>> <$list filter="[collection[foo]sort[title]]">
>>>>>>> <<subsume {{!!title}}>>
>>>>>>> </$list>
>>>>>>> On Monday, July 19, 2021 at 9:06:23 AM UTC+8 [email protected]
>>>>>>> wrote:
>>>>>>>
>>>>>>>> David, I'm here looking at Control Panel -> Keyboard Shortcuts and
>>>>>>>> I think we are saying the same thing after all.
>>>>>>>> Thanks,
>>>>>>>> Stan
>>>>>>>>
>>>>>>>> On Sunday, July 18, 2021 at 2:38:59 PM UTC-4 David Gifford wrote:
>>>>>>>>
>>>>>>>>> Hi Stan
>>>>>>>>>
>>>>>>>>> Walt's screenshot tells me that Streams and Subsume are in
>>>>>>>>> separate sections. Not so much integrated as juxtaposed.
>>>>>>>>> Subsume is edited in edit mode and appears above in view mode.
>>>>>>>>> Streams is edited in view mode and appears below in view mode.
>>>>>>>>>
>>>>>>>>> Unfortunately I don't know anything about keybindings. If you mean
>>>>>>>>> keyboard shortcuts, yes, Control Panel > Keyboard shortcuts, see the
>>>>>>>>> last
>>>>>>>>> three items.
>>>>>>>>>
>>>>>>>>> *autolist-newline* Add a newline and list markup if in a list
>>>>>>>>> Enter
>>>>>>>>>
>>>>>>>>> *autolist-indent* Indent a line in a list Tab
>>>>>>>>>
>>>>>>>>> *autolist-unindent* Unindent a line in a list shift-Tab
>>>>>>>>>
>>>>>>>>> That is most likely the problem! Even so, that is strange, since
>>>>>>>>> Streams and Noteline are in different contexts (view vs edit). Feel
>>>>>>>>> free to
>>>>>>>>> tweak Notelines to your needs, with other keyboard shortcuts or
>>>>>>>>> whatnot.
>>>>>>>>> Blessings,
>>>>>>>>>
>>>>>>>>> David Gifford
>>>>>>>>> Mexico team leader, Mexico City
>>>>>>>>>
>>>>>>>>> *Resonate Global Mission*
>>>>>>>>> *Engaging People. Embracing Christ.*
>>>>>>>>> A Ministry of the Christian Reformed Church
>>>>>>>>> resonateglobalmission.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, Jul 18, 2021 at 12:08 PM [email protected] <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> My problem seems not to be from the integration of Subsume and
>>>>>>>>>> Streams. I was using David's Notelines 2 as the base Tiddlywiki and
>>>>>>>>>> if I
>>>>>>>>>> add Streams, but not Subsume, I get the same behavior - a <CR> does
>>>>>>>>>> not
>>>>>>>>>> create a new block.
>>>>>>>>>>
>>>>>>>>>> In any event, I used Subsume this weekend to write an article.
>>>>>>>>>> How nice it was it write modularly, in a manner that made sense and
>>>>>>>>>> was
>>>>>>>>>> perfectly efficient.
>>>>>>>>>>
>>>>>>>>>> David, do you have any idea what in Notelines 2 might be the
>>>>>>>>>> offending keybinding?
>>>>>>>>>> Thanks, in advvance,
>>>>>>>>>> Stan
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sunday, July 18, 2021 at 9:48:45 AM UTC-4 [email protected]
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> I am looking at Walt's posting below and wondering how he got
>>>>>>>>>>> Subsume to work with Streams. I had a wiki with Streams and added
>>>>>>>>>>> Subsume; when I went to add content using Streams, the carriage
>>>>>>>>>>> return <CR>
>>>>>>>>>>> would just position the cursor in the next line in the same block,
>>>>>>>>>>> rather
>>>>>>>>>>> than create a new block. I assume that there is a keybinding that
>>>>>>>>>>> is
>>>>>>>>>>> overwritten somewhere, but I just don't know where to start
>>>>>>>>>>> looking.
>>>>>>>>>>>
>>>>>>>>>>> In any case, my first use of Subsume is a grand success. I was
>>>>>>>>>>> writing sections of an article and encapsulating then using the
>>>>>>>>>>> extraction
>>>>>>>>>>> tool. Now, if only I could solve the <CR> problem...
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Stan
>>>>>>>>>>>
>>>>>>>>>>> On Saturday, July 17, 2021 at 11:39:42 AM UTC-4 ludwa6 wrote:
>>>>>>>>>>>
>>>>>>>>>>>> @Dave: see bottom of attached screenshot for the two
>>>>>>>>>>>> "References" widgets. Yours is folded, but when opened reveals a
>>>>>>>>>>>> filter
>>>>>>>>>>>> widget, with list of referenced tids, as you know... While the
>>>>>>>>>>>> References
>>>>>>>>>>>> table from Shiraz is partially displayed a bottom.
>>>>>>>>>>>> Does this help?
>>>>>>>>>>>> Also: This also shows what a Streams hierarchy looks like
>>>>>>>>>>>> -below the HR that separates it from the several Subsume widgets
>>>>>>>>>>>> above.
>>>>>>>>>>>> That's the best i can do to answer your up-thread request for a
>>>>>>>>>>>> view of my
>>>>>>>>>>>> workflow... But, as described in text of that tiddler, there is no
>>>>>>>>>>>> good way
>>>>>>>>>>>> at present to bring a Streams hierarchy into a single tiddler -not
>>>>>>>>>>>> without
>>>>>>>>>>>> some code magic that i don't know how to do yet!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>> You received this message because you are subscribed to a topic
>>>>>>>>>> in the Google Groups "TiddlyWiki" group.
>>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>>> https://groups.google.com/d/topic/tiddlywiki/Kg5i94SOx_s/unsubscribe
>>>>>>>>>> .
>>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>>> to [email protected].
>>>>>>>>>>
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>>> https://groups.google.com/d/msgid/tiddlywiki/581f1062-d2b7-427b-9ce5-c92b151aff42n%40googlegroups.com
>>>>>>>>>>
>>>>>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/581f1062-d2b7-427b-9ce5-c92b151aff42n%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/7339e080-9abf-41f2-9a91-d06fd5b358d6n%40googlegroups.com.