Variable: org-id-link-consider-parent-id
org-id-link-consider-parent-id is a customizable variable defined in
org-id.el.gz.
Value
nil
Documentation
Non-nil means storing a link to an Org entry considers inherited IDs.
When this option is non-nil and org-id-link-use-context is
enabled, ID properties inherited from parent entries will be
considered when storing an ID link. If no ID is found in this
way, a new one may be created as normal (see
org-id-link-to-org-use-id).
For example, given this org file:
* Parent
:PROPERTIES:
:ID: abc
:END:
** Child 1
** Child 2
With org-id-link-consider-parent-id and
org-id-link-use-context both enabled, storing a link with point
at "Child 1" will produce a link "<id:abc::*Child 1>". This
allows linking to uniquely-named sub-entries within a parent
entry with an ID, without requiring every sub-entry to have its
own ID.
This variable was added, or its default value changed, in Org version
9.7.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
(defcustom org-id-link-consider-parent-id nil
"Non-nil means storing a link to an Org entry considers inherited IDs.
When this option is non-nil and `org-id-link-use-context' is
enabled, ID properties inherited from parent entries will be
considered when storing an ID link. If no ID is found in this
way, a new one may be created as normal (see
`org-id-link-to-org-use-id').
For example, given this org file:
* Parent
:PROPERTIES:
:ID: abc
:END:
** Child 1
** Child 2
With `org-id-link-consider-parent-id' and
`org-id-link-use-context' both enabled, storing a link with point
at \"Child 1\" will produce a link \"<id:abc::*Child 1>\". This
allows linking to uniquely-named sub-entries within a parent
entry with an ID, without requiring every sub-entry to have its
own ID."
:group 'org-link-store
:group 'org-id
:package-version '(Org . "9.7")
:type 'boolean)