From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Julius Dittmar <Julius.Dittmar@gmx.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Q: setting/changing search path for links by id
Date: Wed, 02 May 2018 06:58:51 -0700 [thread overview]
Message-ID: <m2wowmupk4.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <72a9ebdd-e793-c3fe-fa4a-303aef0035e6@gmx.de>
I think you are looking for the variable org-id-locations-file. This
file contains entries like ("~/vc/journal/2018/03/29/2018-03-29.org"
"A6509542-9C85-46ED-BFE3-715CE44BAA70") and is used to create a hash
table that provides a way to search for Ids. You can see it still holds
information to a file name, so if these change, then at some point the
location file will be out of date and need to be updated.
I think the function org-id-find is used to search for ids.
You can add files with the function org-id-update-id-locations.
I hope that helps.
Julius Dittmar writes:
> Hi,
>
> I'd like to use links for cross referencing. As filenames are very prone
> to change in my system, I'd like to use IDs for those links.
>
> What I could not fathom yet is how the search path for those IDs is created.
>
> Is there a way of (session-globally) setting that search path, in a
> specialized init file for example?
>
> Is there a way of adding a directory to this search path from inside an
> org file?
>
> Thanks for any hints,
>
> Julius
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
next prev parent reply other threads:[~2018-05-02 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 9:27 Q: setting/changing search path for links by id Julius Dittmar
2018-05-02 13:58 ` John Kitchin [this message]
2018-05-02 19:53 ` Samuel Wales
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=m2wowmupk4.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=Julius.Dittmar@gmx.de \
--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).