Groups | Search | Server Info | Login | Register
Groups > gnu.emacs.help > #61042
| From | Rust Buckett <rsstinnett@pm.me> |
|---|---|
| Newsgroups | gnu.emacs.help |
| Subject | Re: Org mode ID update locations |
| Date | 2026-01-09 23:20 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <87qzryf6a2.fsf@pm.me> (permalink) |
| References | <slrn105vjho.23l.boraxman@geidiprime.bvh> <87wm8mw92o.fsf@fakedomain.nope> <slrn106prkd.19ds.boraxman@geidiprime.bvh> |
Borax Man <boraxman@geidiprime.nospam> writes: > On 2025-07-05, Rust Buckett <rsstinnett@pm.me> 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! Huh. I thought org-roam-db-sync would descend into a dir tree. Glad you figured it out! -- this is my clever sig.
Back to gnu.emacs.help | Previous | Next — Previous in thread | Find similar
Org mode ID update locations Borax Man <boraxman@geidiprime.nospam> - 2025-06-28 11:12 +0000
Re: Org mode ID update locations Rust Buckett <rsstinnett@pm.me> - 2025-07-05 18:45 -0400
Re: Org mode ID update locations Borax Man <boraxman@geidiprime.nospam> - 2025-07-08 10:10 +0000
Re: Org mode ID update locations Rust Buckett <rsstinnett@pm.me> - 2026-01-09 23:20 -0500
csiph-web