Ag Ibragimov <agzam.ibragi...@gmail.com> writes:

> I want to make something like this:
>
> Whenever I I use org-insert-link and it turns out to be a URI that starts 
> with "https://github.com"; I would like it to be processed differently than 
> any other link, one example - if it is a PR or a Github Issue, I'd like it to 
> fetch summary(title) of it and create a link that looks like this:
>
> [[https://github.com/user/repo/issues/3899][This issue needs to be fixed 
> #3899]]
>
> Do we have any "built-in" mechanism for doing something like this? Can 
> someone suggest how I can make it. Thank you!

I suspect you could do something with browse-url. The issue I see here
is why you would want the contents fetched whenever you insert a link or
where this summary(title). I guess I don't really understand what
exactly is your use case here - everything I can think of seems more
complicated and requiring more maintenance than just typing the
appropriate description when you insert the link.


-- 
Tim Cross

Reply via email to