From: Christian Heinrich <com-orgmode-mailinglist@gladbachcity.de>
To: emacs-orgmode@gnu.org
Subject: Re: Smart processing of http(s) links
Date: Mon, 29 Jun 2020 12:51:40 +0200 [thread overview]
Message-ID: <5ca48f39ec60454ea3f7d4abf3a9336350c48261.camel@gladbachcity.de> (raw)
In-Reply-To: <m2o8p2gbus.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 810 bytes --]
I'm not sure if this is of interest to you, but I like org-cliplink to insert links with their
titles. Maybe you can look at their source to build your own if it doesn't work for you?
On Sun, 2020-06-28 at 13:43 -0700, Ag Ibragimov wrote:
> 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!
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-06-29 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-28 20:43 Smart processing of http(s) links Ag Ibragimov
2020-06-28 21:02 ` Kyle Meyer
2020-06-28 23:59 ` Ag Ibragimov
2020-06-29 9:35 ` Bonface M. K.
2020-06-29 0:44 ` Tim Cross
2020-06-29 1:13 ` Ag Ibragimov
2020-06-29 10:51 ` Christian Heinrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ca48f39ec60454ea3f7d4abf3a9336350c48261.camel@gladbachcity.de \
--to=com-orgmode-mailinglist@gladbachcity.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).