|
From: | Max Nikulin |
Subject: | Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)] |
Date: | Sun, 10 Sep 2023 11:40:00 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
On 05/09/2023 16:42, Ihor Radchenko wrote:
Max Nikulin writes:From my point of view it will be more sane behavior. However it may require update of 3rd party ox backends.Yes. The main problem is that I fail to understand the motivation behind the current behaviour. git logs reveal that the code is there from the initial version of the library.
Just a guess, likely unrelated to actual decision. For links like "lisp:" or "shell:" keeping link type does not have much sense (however stripping it is questionable as well).
From my point of view, e.g. <elisp:(identity "a")> should be exported as plain text <code>(identity "a")</code> rather than an (invalid due to not escaped quotes inside href) link <a href="(identity "a")">(identity "a")</a>.
I still believe that fallback export should preserve link type. Code links should define their export functions.
[Prev in Thread] | Current Thread | [Next in Thread] |