Max Nikulin <maniku...@gmail.com> writes: > On 02/09/2023 14:26, Ihor Radchenko wrote: >> With my proposal, it would become >> >> (link :type "sec" :path "spielbeispiel" ...) >> >> However, "sec" link type will still not be listed in the output >> `org-link-types' (not registered). >> >> Then, ox.el and other link processing code, when encountering a link >> type that is not registered, will fall back to searching "fuzzy" link. >> >> So, export, and following the link should not be affected. > > I do not see which way it may help in the reported case of complications > with URI schemes not enabled by default. What is the purpose of parser > changes if links can not be exported or opened?
What I had in mind is a bit elaborate: 1. We get actual link type 2. If link type is not registered, we try "fuzzy" 3. If "fuzzy" target is not found, instead of broken link, we export a link with unknown type. > I am unsure if any "PREFIX:" should be recognized as a link type, but > there is another possibility on this way: allow users to mark some > prefixes as search links, not link types. May you elaborate? -- 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>