emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Unable to follow links to org files using org-open-at-point when the link is located in a property drawer [9.4.4 (release_9.4.4 @ /home/sync0/.emacs.d/straight/build/org/)]
@ 2021-08-20  8:02 Carlos Alberto Rivera Carreño
  2021-08-30 15:06 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Alberto Rivera Carreño @ 2021-08-20  8:02 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
Hello,

I am using org-id to create links between org-mode files. I am trying to
place such links as properties in property drawers in this way:

:PROPERTIES:
:AUTHOR:  [[id:1e705ded-0364-412d-bb01-02a99fc78694][John Doe]]
:END:

The problem is that when I try to follow such links using
org-open-at-point, I get an error message like this:

org-id-open: Cannot find entry with ID "1e705ded-0364-412d-bb01-02a99fc78694"

which is puzzling since both the file and the org-id exist. I even
attempted reloading with org-id-update-id-locations, but the problem
persists.

Thank you very much for your help.

Emacs  : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)
 of 2021-03-26
Package: Org mode version 9.4.4 (release_9.4.4 @ /home/sync0/.emacs.d/straight/build/org/)

-- 
Carlos RIVERA CARRENO

Doctorant en sciences économiques
Laboratoire Triangle (UMR 5206)
Université Lyon 2

(+57) 31 36 85 98 72


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Unable to follow links to org files using org-open-at-point when the link is located in a property drawer [9.4.4 (release_9.4.4 @ /home/sync0/.emacs.d/straight/build/org/)]
  2021-08-20  8:02 Bug: Unable to follow links to org files using org-open-at-point when the link is located in a property drawer [9.4.4 (release_9.4.4 @ /home/sync0/.emacs.d/straight/build/org/)] Carlos Alberto Rivera Carreño
@ 2021-08-30 15:06 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2021-08-30 15:06 UTC (permalink / raw)
  To: Carlos Alberto Rivera Carreño; +Cc: emacs-orgmode

Carlos Alberto Rivera Carreño <carc.sync0@gmail.com> writes:

> org-id-open: Cannot find entry with ID "1e705ded-0364-412d-bb01-02a99fc78694"

I suspect that you did not create that link using built-in org
functions. org-id uses heuristics to determine which files contain id
targets. By default, Org only searches org-agenda-files and current
buffer. When org-id-track-globally is set, Org tries to be smarter and add
any file to where you programatically store an id: link. If you never do
it and create the link manually, Org will not find such link. See
docstring of org-id-extra-files for some more details.

Hope it helps.

Best,
Ihor


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-30 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  8:02 Bug: Unable to follow links to org files using org-open-at-point when the link is located in a property drawer [9.4.4 (release_9.4.4 @ /home/sync0/.emacs.d/straight/build/org/)] Carlos Alberto Rivera Carreño
2021-08-30 15:06 ` Ihor Radchenko

Code repositories for project(s) associated with this 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 NNTP newsgroup(s).