Groups | Search | Server Info | Login | Register


Groups > gnu.emacs.help > #61042

Re: Org mode ID update locations

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From Rust Buckett <rsstinnett@pm.me>
Newsgroups gnu.emacs.help
Subject Re: Org mode ID update locations
Date Fri, 09 Jan 2026 23:20:05 -0500
Organization A noiseless patient Spider
Lines 43
Message-ID <87qzryf6a2.fsf@pm.me> (permalink)
References <slrn105vjho.23l.boraxman@geidiprime.bvh> <87wm8mw92o.fsf@fakedomain.nope> <slrn106prkd.19ds.boraxman@geidiprime.bvh>
MIME-Version 1.0
Content-Type text/plain
Injection-Date Sat, 10 Jan 2026 04:20:06 +0000 (UTC)
Injection-Info dont-email.me; posting-host="095466ac6b957781247ca26f1a59de4b"; logging-data="3052065"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ldvA1mEhXcr9YSLVEPgxmp2TB8gfX3eM="
User-Agent Gnus/5.13 (Gnus v5.13)
Cancel-Lock sha1:DSAohSA3ar8qobq2eTXC2oi2EUo= sha1:9GxSXKvnxTZTRxOsBqTeAJZj+Ag=
Xref csiph.com gnu.emacs.help:61042

Show key headers only | View raw


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 | NextPrevious in thread | Find similar


Thread

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