TLDR: If we have and Org file with a link point to the same Org file, how should we export it?
Max Nikulin <maniku...@gmail.com> writes: > A couple of other notes. > > In HTML <a href="#">top</a> or #top works as a link to the beginning of > the document. I am curious if ODF has a similar feature. I mean ID at > the top of the same file that generates file.org link instead of > internal one for both HTML and ODF formats. Currently, we have no convention. In Org mode: - [[file:/path/to/self]] links will do nothing, or follow org-file-apps. - [[if:document-property-drawer-id]] links will move point to the top What about export? - Should we treat links as file links to the original Org file? (One can argue that it is a good default is one wants to write something like: "This document has been generated from file:/link/to/source.org" - Should we treat them as "jump to top", similar to our id: link behaviour in Org? I'd say that retaining the current behaviour will be the most reasonable. I do not see much utility to linking to exported document itself, while I do see a utility to link to the original file. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>