From: James Harkins <jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-id garbage collection?
Date: Wed, 9 Jan 2013 04:01:47 +0000 (UTC) [thread overview]
Message-ID: <loom.20130109T044522-926@post.gmane.org> (raw)
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
next reply other threads:[~2013-01-09 4:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 4:01 James Harkins [this message]
2013-01-09 8:21 ` org-id garbage collection? Bastien
2013-01-10 2:05 ` James Harkins
2013-01-10 10:49 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20130109T044522-926@post.gmane.org \
--to=jamshark70@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.