February 1, 2024 at 4:23 AM, "Ihor Radchenko" <yanta...@posteo.net> wrote:
> > jos...@ushin.org writes: > > > > > > > > > > > What we can do then is pass an extra argument to :follow function - > > > > > the > > > > > > > > link object. That way, :follow function can get all the information > > > it > > > > > > > > needs. > > > > > > > > > > > > > > > > > > > > > > I like this idea! Would this change break existing :follow functions > > > > > > > which only expect max two args? > > > > > > > > > > > > > > > > > > > No. We can preserve backwards-compatibility by checking :follow function > > > > > > arity and only passing the extra argument with the :follow function > > > > > > supports that many arguments. > > > > > > > Good to know. If the goals of hyperdrive.el can be accomplished without > > adding complexity to Org mode, it may be best to avoid avoid adding another > > argument to :follow functions. WDYT? > > > > I did not make any changes to Org mode. And I will not, unless we need > > to pass this extra information to :follow functions. Thank you! I think we can close this issue. Can I close the issue myself? > -- > > Ihor Radchenko // yantar92, > > Org mode contributor, > > Learn more about Org mode at <https://orgmode.org/> https://orgmode.org/%3E . > > Support Org development at <https://liberapay.com/org-mode>, > https://liberapay.com/org-mode%3E, > > or support my work at <https://liberapay.com/yantar92> > https://liberapay.com/yantar92%3E >