Hi I've made the package org-mem (https://github.com/meedstrom/org-mem), which has its own parser.
I'm wondering if it would be possible to write something similar to use Org's own parse trees instead, since it does seem able to persist cache to disk. Here's what I envision: - Let's say at init, you're given a list of 2,000 files not yet cached, or where the mtime shows recent change - One or more async Emacs processes can work over time to visit them, parse them, and write the cached parse tree to disk - The main Emacs process can have an API for working with a cached parse tree for a given file, without ever opening that file. - Packages can then query things like "is there an active timestamp anywhere in these 2,000 files" and get an instant answer. Before I write code -- is that realistic to do? Martin Edström