From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SDiZMSHI+V7pZQAA0tVLHw (envelope-from ) for ; Mon, 29 Jun 2020 10:53:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wPhkLSHI+V5GIAAAB5/wlQ (envelope-from ) for ; Mon, 29 Jun 2020 10:53:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 392BD9400B1 for ; Mon, 29 Jun 2020 10:53:21 +0000 (UTC) Received: from localhost ([::1]:35896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jprPb-0004OP-2D for larch@yhetil.org; Mon, 29 Jun 2020 06:53:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jprP7-0004OH-Bq for emacs-orgmode@gnu.org; Mon, 29 Jun 2020 06:52:49 -0400 Received: from gallois.livando.com ([31.170.109.33]:47166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jprP5-0004ee-6T for emacs-orgmode@gnu.org; Mon, 29 Jun 2020 06:52:49 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 21129 invoked from network); 29 Jun 2020 10:51:41 -0000 Received: by simscan 1.4.0 ppid: 21122, pid: 21126, t: 0.1333s scanners:none Received: from unknown (HELO cantor.fritz.box) (christian@gladbachcity.de@89.0.55.168) by 0 with SMTP; 29 Jun 2020 10:51:41 -0000 Message-ID: <5ca48f39ec60454ea3f7d4abf3a9336350c48261.camel@gladbachcity.de> Subject: Re: Smart processing of http(s) links From: Christian Heinrich To: emacs-orgmode@gnu.org Date: Mon, 29 Jun 2020 12:51:40 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-PA8IWTESij6SZQ2doG1n" User-Agent: Evolution 3.36.2-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=com-orgmode-mailinglist@gladbachcity.de; helo=gallois.livando.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/29 06:52:41 X-ACL-Warn: Detected OS = Linux 3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: DfgGfaYR3LXk --=-PA8IWTESij6SZQ2doG1n Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm not sure if this is of interest to you, but I like org-cliplink to inse= rt 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: >=20 > 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 ex= ample - if it is a PR or > a Github Issue, I'd like it to fetch summary(title) of it and create a li= nk that looks like this: >=20 > [[https://github.com/user/repo/issues/3899][This issue needs to be fixed = #3899]] >=20 > Do we have any "built-in" mechanism for doing something like this? Can so= meone suggest how I can > make it. Thank you! >=20 --=-PA8IWTESij6SZQ2doG1n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAl75x7wACgkQi84V01Fv zDxyGg/7BcuC69YiZtoV1ylGUP790+/9BMeSudGOGmVgJioerrEvA5TcWALkB1Zx +4xASfh63X736+Dl0GJNBVYD0ArICrDG1wfikGIEEkQuL0j8mIgIvDn8kwWYKr/f nNa5wGA2U9I5pbRtwIjOP/qOj2XRTb2nreWe01E81qfQyZPzvJ6UdhhVUPy0S4Jz Rd/KpXfdhNPnBSdzkW9m/2RwPrGqkA67xS6zCWj691xrnoFklZ/xM/F23PZMX0cj 6tfl2vXh9QIXOf5bGb8nGjVM2Z6+Y1pcVH0VctcVeS0UgBRCBHAY15bbR3HKlRVu ssz7IJru88JUVVGR4lznHWvSHars4b7muV1gr+vRhSvbqtZOhdv0dzH36aGWJDf5 tc6OEuvQ7I7J2K8mmER3lzRw79mbR9tMVFjVsWbH2fQo6RWo0/Hx2fyjaMTHAM+n nWZheTyzb+ztHNtLi+XUYl2G9u2On54Lr+MYWAB1Y5lCVBUowDYQVZBwErokYKRZ cE5PiF8HrOSPjDNQ2hy+pUJfzI9sc0RysRPTLzDa1GwsbFr780qRkTAbLxJrMK0F ZZT0nmwwB5XbkumPbdqEiwyUi1VKAofbESiMAQuyt3UNP53OQAXXMvkVWEv/jGQf hja4O4ZfzFfWM0B1zy+SigTgvGz5sjAU0U2qdNpc9JV4W1A31Tg= =9E4E -----END PGP SIGNATURE----- --=-PA8IWTESij6SZQ2doG1n--