Re: Bug? org-id-find not finding some IDs

2022-08-20 Thread Jack Kamm
Ihor Radchenko writes: > I suggest to bind org-id-track-globally to nil file-locally in that > backup file. Thanks for the suggestion. I tried it out, and it initially seemed to work, but eventually the backup file ended up in org-id-files. It seems like there is more than one way that files

Re: Bug? org-id-find not finding some IDs

2022-08-15 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> Applied onto main via 8f5bf1725. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f5bf172556564df89fb16ce8ecec68c5b7f0221 > > My sincere apologies, but after a bit of testing, I found that my > requested change had some

Re: Bug? org-id-find not finding some IDs

2022-08-14 Thread Jack Kamm
Ihor Radchenko writes: > Applied onto main via 8f5bf1725. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f5bf172556564df89fb16ce8ecec68c5b7f0221 My sincere apologies, but after a bit of testing, I found that my requested change had some unforeseen consequences, and I don't

Re: Bug? org-id-find not finding some IDs

2022-08-05 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> This is indeed inconsistent. The current behaviour is to scan only files >> where it is known that IDs are present. >> >> Can you try the attached patch? > > Thanks, Ihor. I tried your patch and it solved my issue -- both the > minimal example I

Re: Bug? org-id-find not finding some IDs

2022-08-04 Thread Jack Kamm
Ihor Radchenko writes: > This is indeed inconsistent. The current behaviour is to scan only files > where it is known that IDs are present. > > Can you try the attached patch? Thanks, Ihor. I tried your patch and it solved my issue -- both the minimal example I sent, as well as the related

Re: Bug? org-id-find not finding some IDs

2022-08-03 Thread Ihor Radchenko
Jack Kamm writes: > For a minimal example, put the following in test.org: > >> * Headline 1 >> :PROPERTIES: >> :ID: b1569c92-3872-4ab9-80eb-274c4950991e >> :END: > > Then: > > 1. emacs -Q test.org > 2. C-x b *scratch* > 3. M-: (org-id-find "b1569c92-3872-4ab9-80eb-274c4950991e") > > Which

Bug? org-id-find not finding some IDs

2022-08-02 Thread Jack Kamm
Hello, The documentation for org-id-extra-files suggests that org-id-find should search in Org files visited by Emacs: > When Org reparses files to remake the list of files and IDs it is > tracking, it will normally scan the agenda files, the archives > related to agenda files, ... and any Org