* org-id garbage collection?
@ 2013-01-09 4:01 James Harkins
2013-01-09 8:21 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: James Harkins @ 2013-01-09 4:01 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-id garbage collection?
2013-01-09 4:01 org-id garbage collection? James Harkins
@ 2013-01-09 8:21 ` Bastien
2013-01-10 2:05 ` James Harkins
0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-01-09 8:21 UTC (permalink / raw)
To: James Harkins; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-id garbage collection?
2013-01-09 8:21 ` Bastien
@ 2013-01-10 2:05 ` James Harkins
2013-01-10 10:49 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: James Harkins @ 2013-01-10 2:05 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-id garbage collection?
2013-01-10 2:05 ` James Harkins
@ 2013-01-10 10:49 ` Bastien
0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-01-10 10:49 UTC (permalink / raw)
To: jamshark70; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-10 10:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 4:01 org-id garbage collection? James Harkins
2013-01-09 8:21 ` Bastien
2013-01-10 2:05 ` James Harkins
2013-01-10 10:49 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).