all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inserting links stored in `org-store-link-plist`
@ 2022-02-17 23:26 Alejandro Pérez Carballo
  2022-02-23 15:50 ` Max Nikulin
  0 siblings, 1 reply; 5+ messages in thread
From: Alejandro Pérez Carballo @ 2022-02-17 23:26 UTC (permalink / raw)
  To: emacs-orgmode

Hello, 

After storing a link to an ID using `org-id-store-link` I would've expected the stored link to be made available when calling `org-insert-link`, much like when storing a link using `org-store-link. But that's not what I see: the link stored with `org-id-store-link` is added to `org-store-link-plist` but not to `org-stored-links`. 

To my surprise (and this may not be related, but in case it is), the value of `org-store-link-plist` is set to `nil` if I call `org-store-link`. Somehow calling `org-store-link` results in both the value of the stored link being sent to `org-stored-links` *and* in the value of `org-store-link-plist`, but calling `org-id-store-link` results in the stored link being sent to `org-store-link-plist` without touching the value of `org-stored-links`. 

I'm assuming this is not the expected behavior, but if it is, I'd appreciate any suggestions for how to use the values of `org-store-link-plist` when calling `org-insert-link`. 

I'm seeing this both with 9.5.2 and 9.5.1.

Thanks in advance for any help, 

APC

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

end of thread, other threads:[~2022-02-25 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 23:26 Inserting links stored in `org-store-link-plist` Alejandro Pérez Carballo
2022-02-23 15:50 ` Max Nikulin
2022-02-24 21:11   ` Alejandro Pérez Carballo
2022-02-25 16:25     ` Max Nikulin
2022-02-25 17:21       ` Alejandro Pérez Carballo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.