From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sJ0gHv/FlF5xWgAA0tVLHw (envelope-from ) for ; Mon, 13 Apr 2020 20:05:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WJWvFwLGlF5CTgAAbx9fmQ (envelope-from ) for ; Mon, 13 Apr 2020 20:05:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12E40942D1D for ; Mon, 13 Apr 2020 20:05:20 +0000 (UTC) Received: from localhost ([::1]:48306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO5KZ-0004x4-3J for larch@yhetil.org; Mon, 13 Apr 2020 16:05:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59827) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO5KA-0004v6-Ss for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 16:04:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO5K9-00061K-Qg for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 16:04:54 -0400 Received: from ciao.gmane.io ([159.69.161.202]:41548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO5K9-00060u-L3 for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 16:04:53 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jO5K8-00010r-A8 for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 22:04:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Adam Porter Subject: Re: Assistant to remove unused IDs of org-id Date: Mon, 13 Apr 2020 15:04:46 -0500 Message-ID: <87eesrcftt.fsf@alphapapa.net> References: <1244245671.1302763.1586796345440@www.ud-mail.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; ARC_NA(0.00)[]; GENERIC_REPUTATION(0.00)[-0.57680755077061]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[alphapapa.net]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.28), country: US(-0.01), ip: 209.51.188.17(-0.58)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; FORGED_SENDER_MAILLIST(0.00)[]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[adam@alphapapa.net,emacs-orgmode-bounces@gnu.org] X-TUID: +hwZYqcCI5eA Marc-Oliver Ihm writes: > as I use the excellent package org-id in a somewhat non-standard way, > I tend to produce IDs, that are not referenced from anywhere. Org-id > handles this great and does not suffer in performance, but eventually > I want to remove those unreferenced IDs. Therefore I have written a > small interactive assistant: > > https://github.com/marcIhm/org-working-set/blob/master/org-id-cleanup.el > > to help with removing those IDs. The assistant (interactive function: > org-id-cleanup) is quite detailed with its instructions and checks, so > that the risk of doing harm ist reduced to a minimum, although not to > zero (therefore the first step is to ask for a backup). > > In any case I wonder, if this functionality (removing unreferenced > IDs) could be helpful for anyone else. > > So please feel free to have a look. Finally I would be grateful for > any comment whatsoever (e.g. regarding the name of org-id-cleanup.el). Hi Marc, Thanks, this looks useful. I posted some feedback as an issue on the repository. Adam