"I don't think the problem was the config file, but the first line you had me insert in my macros, so that they would be recognized by Relink and then relinked. "
Just so we're clear, I never told you to put those "\relink" lines in. I told you to take them out. :) On Friday, September 3, 2021 at 12:57:31 PM UTC-4 Flibbles wrote: > Yes, this is the confusion. > > You must not use the "\relink" pragma in your plugin, because it requires > Relink to be installed in order to parse. If you use config tiddlers > instead (e.g. tiddlers named "$:/config/flibbles/relink/macros/subsume/tid" > with text "title"), then integration is seamless. Your plugin just has to > ship with those config tiddlers, (which amount to about a 100 byte > overhead). If subsume ships with them, then they're ignored if Relink isn't > there, and they activate if relink is. The users never have to manually add > the subsume macro to the Relink whitelist. It'll be there with its own neat > little category. > > On Friday, September 3, 2021 at 12:12:37 PM UTC-4 [email protected] > wrote: > >> I did a test upgrading my TW to the last version of subsume plugin and >> added Flibbles config tids. No changes to your macros. It seems to work. >> >> Ad the line to the macros as you did in the former version of subsume - >> and it does *not work*. Could that be what caused the confusion? >> >> >> On Friday, September 3, 2021 at 5:29:52 PM UTC+2 [email protected] >> wrote: >> >>> Hi Dave, >>> It is totally understandable. After all the mixes and matches with your >>> beloved stroll - you have the experience. I must admit that I kept using >>> the first version of subsume, due to wanting to use relink - more than the >>> subsume-edit. I prefer using the link and drag to your col2edit in the >>> sidebar ;-) >>> Don't let this stop you from sharing your goodies with us. I use and >>> love a lot of your products - Thanks you! >>> >>> @Flibbles >>> Thanks for all the help you offer. Now we can as users add those config >>> tids ourselves and see how it goes. >>> >>> Birthe >>> >>> On Friday, September 3, 2021 at 5:06:40 PM UTC+2 David Gifford wrote: >>> >>>> Hi Flibbles, >>>> >>>> I don't think the problem was the config file, but the first line you >>>> had me insert in my macros, so that they would be recognized by Relink and >>>> then relinked. Those need to ship with my plugin. But the user may or may >>>> not have the Relink plugin and may or may not have tweaked the Editor type >>>> text/vnd.tiddlywiki >>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FEditorTypeMappings%2Ftext%2Fvnd.tiddlywiki> >>>> >>>> when installing my plugin. Not all of the scenarios run smoothly, and I >>>> don't recall the details. So it is hard to figure out how to write the >>>> instructions to take into account all the possible scenarios. Hope that >>>> helps. >>>> >>>> On Fri, Sep 3, 2021 at 9:21 AM Flibbles <[email protected]> wrote: >>>> >>>>> Huh. Don't know what could have been causing that problem. I've looked >>>>> through your plugin and there's nothing that should be causing the >>>>> problem >>>>> you're describing. >>>>> >>>>> I do agree that your plugin should not ship with Relink, but I figured >>>>> you would keep the configuration file included with your project. If you >>>>> have the tiddler... >>>>> >>>>> $:/config/flibbles/relink/macros/subsume/tid >>>>> >>>>> included, with the text content of "title", then you don't have to do >>>>> anything else. And (in theory) anyone can install your plugin and/or >>>>> Relink >>>>> in any order they choose. It's up to them, and your plugin would work >>>>> fine >>>>> without it. I'd push this change to show you what I mean, but I can't >>>>> find >>>>> any sort of git repository. >>>>> >>>>> Basically, the files listed under your plugin's contents would be: >>>>> >>>>> >>>>> $:/plugins/giffmex/subsume/editortoolbarbutton/subsume >>>>> $:/plugins/giffmex/subsume/editortoolbarbutton/subsume-edit >>>>> $:/plugins/giffmex/subsume/images/subsume >>>>> $:/plugins/giffmex/subsume/images/subsume-edit >>>>> $:/plugins/giffmex/subsume/macro/ >>>>> $:/plugins/giffmex/subsume/macro/subsume-edit >>>>> $:/plugins/giffmex/subsume/readme >>>>> $:/plugins/giffmex/subsume/stylesheet >>>>> $:/config/flibbles/relink/macros/subsume/tid >>>>> >>>>> Which looks a little weird, but is entirely legal, and how a lot of >>>>> cross-plugin integration is done. That config file is the only >>>>> interaction >>>>> you'd have with Relink. It does nothing if Relink isn't around, but if >>>>> they >>>>> ever get around to installing relink, then it will automatically come to >>>>> life and integrate with the relinking whitelist. (If it doesn't, that's >>>>> my >>>>> problem.) >>>>> >>>>> On Friday, September 3, 2021 at 8:42:59 AM UTC-4 David Gifford wrote: >>>>> >>>>>> >>>>>> Hi Flibbles, >>>>>> >>>>>> It had to do with how complicated the documentation of installing >>>>>> things was after you mentioned the line to insert at the top of my >>>>>> macro. >>>>>> My plugin had the config tiddler, and everything (Subsume plugin, Relink >>>>>> plugin, config tiddler, text.vmdetc tiddler had to be done in a >>>>>> particular >>>>>> order, or else the tiddlers were showing as titles, no text, and no way >>>>>> to >>>>>> open to edit. And my plugin site, would it complicate things even >>>>>> further >>>>>> if I have Relink installed already? I decided to make it simpler and >>>>>> leave >>>>>> Relink out. I use Relink fine with Subsume with no problem, but >>>>>> don't want the hassle of supporting a bunch of people who install it >>>>>> wrongly and I have to go in and help them. My goal is to be in the >>>>>> TiddlyWiki world less and less, and in my research more and more. But >>>>>> when >>>>>> I come up with a solution, I want to share it with others. That's why I >>>>>> ask >>>>>> others to adopt my projects, which everyone studiously ignores. >>>>>> On Thursday, September 2, 2021 at 10:43:27 PM UTC-5 Flibbles wrote: >>>>>> >>>>>>> Hey David Gifford, >>>>>>> >>>>>>> Flibbles again. Just wondering if there was some problem with Relink >>>>>>> that was preventing the integration. Unless Relink is causing some sort >>>>>>> of >>>>>>> glitch, I would have thought integrating our two plugins would have >>>>>>> been >>>>>>> easy peasy using the whitelist method. What was going wrong? >>>>>>> >>>>>>> -Flibbles >>>>>>> >>>>>>> On Tuesday, August 17, 2021 at 11:41:09 AM UTC-4 David Gifford wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi everyone >>>>>>>> >>>>>>>> I have rebooted the Subsume plugin rather than updating it. ( >>>>>>>> https://giffmex.org/gifts/subsume.html) >>>>>>>> >>>>>>>> The good news is that it now includes a way to have a subsume with >>>>>>>> an edit button. I like this way better than the regular subsumes with >>>>>>>> links. >>>>>>>> >>>>>>>> The bad news is that the integration with the relink plugin was >>>>>>>> causing me problems, making the installation process more convoluted, >>>>>>>> and >>>>>>>> potentially causing problems for users for the future. So I removed >>>>>>>> the >>>>>>>> relink-related tiddlers, and also made integration with the >>>>>>>> edit-comptext >>>>>>>> plugin an optional feature, with new instructions. >>>>>>>> >>>>>>>> This is the best I can do with this. My apologies for any >>>>>>>> inconveniences to anyone who uses Subsume and likes the the relink >>>>>>>> feature. >>>>>>>> And my thanks to flibbles for catching part of the problem, after >>>>>>>> which I >>>>>>>> found other complications as well. >>>>>>>> >>>>>>>> Blessings, Dave >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>> 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/tHVpaeNc8a4/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/c0938aae-7fcd-424d-bc12-3ad78577c5bfn%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/tiddlywiki/c0938aae-7fcd-424d-bc12-3ad78577c5bfn%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/f5aa475c-5b64-4256-8447-09de6bb69186n%40googlegroups.com.

