"Racoon Chimp" <[email protected]> writes: > On Sat, 1 Aug 2026, at 13:32, Ihor Radchenko wrote: >> Sure. But how else do you imagine Org tracking files being moved around? >> It can be done outside Emacs, so there is no better way than scanning >> files and creating index. > > i have no idea. a =ripgrep= started by the system at regular intervals > (daily?) ? =fd= going through =$HOME= to locate the filesnames ending in > '.org', =ripgrep= locating '^:id:' lines in the very top of the file, but i > am afraid i will fuck up the database.
Not every :ID: line is a property. So, while we can do some heuristics with grep and similar (which may or may not be installed on the OS where Org is running), it always needs to be confirmed. And remember that not all Org files have .org extension. And not all the Org files actually need to be scanned (think of private files people do not want to leak into databases). I am sure there is some room for performance optimization in this area, but it will have pros and cons. If you are very interested to get things improved, feel free to submit patches. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
