pinmacs <[email protected]> writes:

> Based on this thread in emacs-devel list [1], and I found that 
> suspicious links inside orgmode are not detected
>
> I did a patch in my emacs config that when there is a suspicious link, 
> it faces it with org-warning, I did it this way
>
> Consider if something like this should be there by default, when you 
> have a URL in your orgmode notes, you might click on it
>
> I attach the patch I did to my config if it serves as inspiration, here 
> is my commit [2].

That would make sense, yes.
The function to modify is `org-activate-links'.
We should probably also add a guard into `org-link-open' to prevent such
links from being opened without noticing.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to