On 03/09/2021 21:57, Maxim Nikulin wrote:
On 03/09/2021 21:33, Timothy wrote:

Perhaps a “fix” could be auto-escaping problematic characters in urls when
entering links via `org-insert-link'.

[/query/] <https://orgmode.org/?q=query>

`org-insert-link' still may detect emphasis markers around the point and add extra marks. Unfortunately heuristics to detect start marker only (while typing text when no end marker yet) will be prone to false positives.

Maybe additional undo step while adding link is enough to alleviate the issue with false positives (similar to autoreplace patterns in text processors). If a user notices that additional markers are added incorrectly, she can remove them through undo. Next undo removes the inserted link completely.


Reply via email to