[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow external libraries (org-roam) to supply org-id locatio
From: |
Rick Lupton |
Subject: |
Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations |
Date: |
Sun, 17 Mar 2024 22:54:53 +0000 |
User-agent: |
Cyrus-JMAP/3.11.0-alpha0-300-gdee1775a43-fm-20240315.001-gdee1775a |
Thanks, I hadn't understood the significance of named functions vs variables
for advice. But now I realise this is not solving the same problem as the
original patch.
The point is that I was thinking org-roam should advise/modify/hook the
specific function `org-id-find' [to find ids in its database] but NOT the more
general `(org-link-get-parameter "id" :follow)' [because `org-id-open' has a
lot of extra logic for search-strings, backwards compatibility, where to open
the new location, which it would not be reasonable to duplicate].
Is there a way to do this using the approach you are suggesting?