Ihor Radchenko <yanta...@gmail.com> writes: >> Yes, I've tested it with target and custom_id links and, as you said, there >> is no change in behavior. The entire URL is still pasted and no chance to >> edit it is given to the user. > > Oops. Somehow some way things worked for me at some point when I was > making the patch. > > See the updated version of the patch attached. It works on my side.
According to the further discussion, this patch does not resolve the original problem. However, it improves similar cases with link descriptions being set equal to the link values. Applied. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4fc2c8dd89bfbe9f6ad7620c1b4d6def4114489b The original problem is resolved in another applied patch from an earlier discussion. https://list.orgmode.org/e2c807a7-1924-6f08-9e63-4f70aee9d...@gmail.com -- Ihor Radchenko, 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