Thank you for the advice, Jeremy!  I've been thinking about moving the 
feedback stuff into separate tiddlers, so maybe this is the push I needed.

-Rob

On Sunday, September 9, 2018 at 10:29:41 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Rob
>
> I noticed that my "Can I get git-rebase to rewrite commits in message 
> bodies?" tiddler didn't have the above tiddler listed among its backlinks - 
> it turns out that backlinks work by building a parse tree for each tiddler 
> and scanning them for link nodes, which my feedback macro doesn't do.
>
> My question is: is this a bug? If not, what would be the best workaround, 
> short of throwing redundant links into my tiddlers?
>
>
> It is the intended behaviour.
>
> To include generated links we’d have to not only parse each tiddler, but 
> render it as well. Rendering is significantly more expensive than parsing.
>
> In this example, perhaps you could store the text that you’re passing to 
> the feedback macro in a separate macro. For example, you might adopt the 
> convention that the title of the tiddler containing the feedback text is 
> the base title plus the suffix “-feedback”. Then your macro might look like 
> this:
>
> \define feedback()
> > <$transclude tiddler={{{ [<currentTiddler>addsuffix[-feedback]] }}} 
> mode="block"/>
> \end
>
> To make it easier to access these “-feedback” tiddlers you might also add 
> a new EditTemplate segment that provides direct access to it.
>
> Best wishes
>
> Jeremy.
>
>
> Thanks,
> Rob
>
> -- 
> 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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/15a990d6-ad5d-436b-b05c-10c8c951762f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/15a990d6-ad5d-436b-b05c-10c8c951762f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0298146c-8437-44e8-aa81-19d8d18d7b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to