I'd like to propose an alternative method to format links (org-store-
link) that would include parents of a heading. For example in a
document like this:

* heading 1
** subheading 1
* heading 2
** subheading 1

there is ambiguity right now if you want to org-store-link to heading 2
> subheading 1. By default org stores
[[file:<FILENAME>::*subheading1]], which would incorrectly point to
heading 1.

Instead it could be [[file:<FILENAME>::*heading 2**subheading1]]

Please let me know what you think, if this has been already suggested.
I know that you could create unique UUID in PROPERTIES, but wouldn't it
be more informative if org-store-link used parent headings instead? I
think it would be more elegant and not dissimilar from other popular
addressing schemes (e.g. file paths or urls).

reference stackoverflow question:
https://emacs.stackexchange.com/questions/82234/org-store-link-relative-to-parent?noredirect=1#comment138536_82234


Reply via email to