Hi, Does org-id ever remove deleted items from ~/.emacs.d/.org-id-locations? I did find the function org-id-update-id-locations, which definitely compacts the locations file. I haven't verified if this actually removes items, or merely reorganizes the list to be stored more efficiently. A curious thing about that function -- if duplicate IDs are found, it says to check the Messages buffer, but Messages is full of lines like: Finding ID locations (659/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (660/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (661/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (662/674 files): ~/Documents/mobileorg/semester.org Finding ID locations (663/674 files): ~/Documents/mobileorg/semester.org Since older entries are removed from Messages, these lines caused the duplicate ID info to be lost. Thanks. hjh
Hi James,
James Harkins <jamshark70@gmail.com> writes:
> Since older entries are removed from Messages, these lines caused the
> duplicate ID info to be lost.
You can tweak `message-log-max'.
--
Bastien
[-- Attachment #1: Type: text/plain, Size: 546 bytes --] On Jan 9, 2013 4:21 PM, "Bastien" <bzg@altern.org> wrote: > > Hi James, > > James Harkins <jamshark70@gmail.com> writes: > > > Since older entries are removed from Messages, these lines caused the > > duplicate ID info to be lost. > > You can tweak `message-log-max'. Ok... and the behavior of org-id-update-id-locations? Does it remove ids that aren't found in any of the org files? I guess if I have time tonight, I can parse the old and new locations files and compare the keys. I was hoping someone would know and save me the trouble. hjh [-- Attachment #2: Type: text/html, Size: 788 bytes --]
Hi James,
James Harkins <jamshark70@gmail.com> writes:
> Ok... and the behavior of org-id-update-id-locations? Does it remove
> ids that aren't found in any of the org files?
>
> I guess if I have time tonight, I can parse the old and new locations
> files and compare the keys. I was hoping someone would know and save
> me the trouble.
Please let us know, and thanks in advance for your time!
--
Bastien