From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: org-id garbage collection? Date: Wed, 9 Jan 2013 04:01:47 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsmre-00078c-EH for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 23:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tsmrd-00053T-Cj for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 23:02:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:46735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tsmrd-00053I-5X for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 23:02:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tsmrp-0007fj-8W for emacs-orgmode@gnu.org; Wed, 09 Jan 2013 05:02:17 +0100 Received: from 113.109.17.66 ([113.109.17.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 05:02:17 +0100 Received: from jamshark70 by 113.109.17.66 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jan 2013 05:02:17 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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