From: Ihor Radchenko <yantar92@gmail.com>
To: Marc-Oliver Ihm <marc@ihm.name>, emacs-orgmode@gnu.org
Subject: Re: Assistant to remove unused IDs of org-id
Date: Tue, 14 Apr 2020 11:02:31 +0800 [thread overview]
Message-ID: <87y2qyu5vc.fsf@localhost> (raw)
In-Reply-To: <1244245671.1302763.1586796345440@www.ud-mail.de>
I quickly looked through the code. It seems that you do not consider
attachments, which are normally stored in a folder named after the
entry's ID property. Deleting those ID is terrible idea.
Best,
Ihor
Marc-Oliver Ihm <marc@ihm.name> writes:
> 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
>
--
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg
next prev parent reply other threads:[~2020-04-14 3:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 16:45 Assistant to remove unused IDs of org-id Marc-Oliver Ihm
2020-04-13 20:04 ` Adam Porter
2020-04-14 20:55 ` Marc Ihm
2020-04-14 3:02 ` Ihor Radchenko [this message]
2020-04-14 20:50 ` Marc Ihm
2020-05-22 15:21 ` 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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2qyu5vc.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=marc@ihm.name \
/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 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).