Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Borax Man Newsgroups: gnu.emacs.help Subject: Re: Org mode ID update locations Date: Tue, 8 Jul 2025 10:10:21 -0000 (UTC) Organization: A noiseless patient Spider Lines: 35 Message-ID: References: <87wm8mw92o.fsf@fakedomain.nope> Injection-Date: Tue, 08 Jul 2025 12:10:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e020272b5220efc11c284fd52132a1ce"; logging-data="3682477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YK3dP970qh5nkS5YjEXzL/+L8H8VLlQU=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:gnVZMifhtU90xRAxXYdOuqnmrD4= Xref: csiph.com gnu.emacs.help:61039 On 2025-07-05, Rust Buckett wrote: > --==-=-= > Content-Type: multipart/mixed; boundary="=-=-=" > > --=-=-= > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > Do all of the file have an Org ID? I use this primarily in Org Roam, so I'm > not really sure where one ends and the other begins, but, after looking at = > the > function description, org-id-update-id-locations scans for IDs. It's in the >:PROPERTIES: drawer at the top of the file. If it's not there, it can be > created with org-id-get-create. >=2D-=20 > this is my clever sig. > [...] No, but more than the two which are scanned do. I've found this elisp function on the web which will scan under a directory tree. (defun org-roam-update-ids () "Update all org-ids in org-roam-directory." (interactive) (org-id-update-id-locations (directory-files-recursively org-roam-directory "\\.org$"))) If I call this, I get the behaviour intended. All the files are scanned. I'll consider this solved!