From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sNeyC2aXlF45HwAA0tVLHw (envelope-from ) for ; Mon, 13 Apr 2020 16:46:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SOCVLWiXlF5AWgAA1q6Kng (envelope-from ) for ; Mon, 13 Apr 2020 16:46:32 +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 65E08942B7E for ; Mon, 13 Apr 2020 16:46:30 +0000 (UTC) Received: from localhost ([::1]:46516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO2E7-0005tw-Tl for larch@yhetil.org; Mon, 13 Apr 2020 12:46:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36130) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO2DW-0005tN-5a for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 12:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO2DU-00072a-Tn for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 12:45:50 -0400 Received: from smtp02-ext3.udag.de ([62.146.106.33]:52726) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO2DU-0006xE-G9 for emacs-orgmode@gnu.org; Mon, 13 Apr 2020 12:45:48 -0400 Received: from ox-api-2.vpn.udag.de (unknown [62.146.80.67]) by smtp02-ext3.udag.de (Postfix) with ESMTPA id B0BF9E753 for ; Mon, 13 Apr 2020 18:45:45 +0200 (CEST) Date: Mon, 13 Apr 2020 18:45:45 +0200 (CEST) From: Marc-Oliver Ihm To: emacs-orgmode@gnu.org Message-ID: <1244245671.1302763.1586796345440@www.ud-mail.de> Subject: Assistant to remove unused IDs of org-id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Originating-Client: open-xchange-appsuite X-Mailer: Open-Xchange Mailer v7.8.4-Rev51 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.146.106.33 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]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.5770773406983]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.28), country: US(-0.01), ip: 209.51.188.17(-0.58)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; HAS_X_PRIO_THREE(0.00)[3]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[marc@ihm.name,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; DMARC_NA(0.00)[ihm.name]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FORGED_SENDER_MAILLIST(0.00)[]; MID_RHS_WWW(0.50)[] X-TUID: k0BLHI/95HkX Hi, 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). Best regards Marc