I have the following in my org-mode buffer:
#+name: my-element-name
and then I made a link to that:
and here is a link to [[my-element-name]].
According to the org-mode manual on internal links, that ought to work, but when I try to following the link with C-c C-o
, I get an error: Wrong type argument: stringp, nil
.
I'm using org 9.4 from ELPA; I've used edebug on some of the functions and it seems that something isn't working deep inside org-link-search
but I couldn't figure out where. I see some regexp matching in that function...this seems like something that ought to work.
Using NAME instead of "name" didn't make a difference.
Is this expected to work? It seems like it.
(More generally, what's the difference between "dedicated targets" -- the ones <<like-this>>
-- versus "named elements" with #+NAME: some-name-here
?)