From: TRS-80 <lists.trs-80@isnotmyreal.name>
To: emacs-orgmode@gnu.org
Subject: Re: How can I keep Org-id links from breaking when moving files?
Date: Fri, 22 Jan 2021 14:16:15 -0500 [thread overview]
Message-ID: <b76fa58ae721fd2da8e3b02deaf4206e@isnotmyreal.name> (raw)
In-Reply-To: <CAJniy+O=CT9U-H2pX13NOTd626YzmpQ-GpQO3DDRyvRVq0GTJA@mail.gmail.com>
On 2021-01-21 08:14, arozbiz@gmail.com wrote:
> there's no way to programmatically make sure that Org can find those
> IDs again (since there's no way to simply add a folder, rather than a
> list of files, to =org-id-locations= or =org-id-files=?
Being that this is Emacs, you can do almost anything you want, with a
little Elisp practice. ;)
For example, you could write some custom move command which would
automatically add the new folder to some variable or file with a list of
folders to add to places for org-id to look in from now on.
However perhaps we should take a step back and ask ourselves if this is
a good approach? And IMHO, starting to scatter files here and there
throughout the filesystem is not a good idea. Even if you implement
above mentioned custom Elisp, it adds (IMO, needless) complexity.
Therefore I would think long and hard if that is actually really
necessary, before starting to go down that path. Just my $0.02.
Cheers,
TRS-80
prev parent reply other threads:[~2021-01-22 19:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 2:52 How can I keep Org-id links from breaking when moving files? arozbiz
2021-01-19 18:32 ` doltes
2021-01-20 0:13 ` Samuel Wales
2021-01-20 11:39 ` doltes
2021-01-21 13:14 ` arozbiz
2021-01-22 19:16 ` TRS-80 [this message]
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=b76fa58ae721fd2da8e3b02deaf4206e@isnotmyreal.name \
--to=lists.trs-80@isnotmyreal.name \
--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 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).