Any docs on what org-id-locations is about, who/what uses it? On Tue, Mar 12, 2024 at 1:44 PM Ihor Radchenko <yanta...@posteo.net> wrote:
> yeti <yeti@tilde.institute> writes: > > >> Does org-brain have anything to do with org-id-locations? > > > > I think so... > > > > E.g. org-brain.el 788-794: > > > > -------------------------------8<--------------------------------------- > > (defun org-brain-entry-from-id (id) > > "Get entry from ID." > > (unless org-id-locations (org-id-locations-load)) > > (when-let ((path (gethash id org-id-locations))) > > (list (org-brain-path-entry-name path) > > (org-brain-headline-at (org-id-find id t)) > > id))) > > That's redundant. Calling `org-id-find' would suffice (org-id-find > internally arranges org-id-locations to be updated). > > In any case, loading and searching id locations scales well for > thousands of entries - I currently have 60+k entries there without > issues. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92> > > -- ⨽ Lawrence Bottorff Grand Marais, MN, USA borg...@gmail.com