From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wGylLR8B+V6LIgAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 20:44:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YEBKKR8B+V7qSQAAbx9fmQ (envelope-from ) for ; Sun, 28 Jun 2020 20:44:15 +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 56A97940369 for ; Sun, 28 Jun 2020 20:44:15 +0000 (UTC) Received: from localhost ([::1]:56414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpe9u-0008Tg-8a for larch@yhetil.org; Sun, 28 Jun 2020 16:44:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpe9S-0008TX-Lw for emacs-orgmode@gnu.org; Sun, 28 Jun 2020 16:43:46 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:44085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpe9Q-00079s-OE for emacs-orgmode@gnu.org; Sun, 28 Jun 2020 16:43:46 -0400 Received: by mail-pf1-x434.google.com with SMTP id t11so2141781pfq.11 for ; Sun, 28 Jun 2020 13:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:message-id:date:mime-version; bh=fvFXYp7Muoj24bwaMmumpsdmBsct2EyjuejvEbfokio=; b=JNVajhgSbM2k5qbLOESAi0bzMlih8siq2aPhCwFhswrihuGek2cmHivRqNMG2kBONd n7diVMUC8XAuTwWMU3NK4gfHUXxvGAX5jSKVKxp4p4M/fNHsqoJY0k7bCGbu+4tXWd9y ItcrJvDv02dAqezOWQEkhDaFIBOJuEEYYJqtbMhj81DGLYmIYR49D4DSUxC5ZTqNqA80 xyaiTIF8fiK0JiLvKY4Vb+Snec2SYmhSLu38iNWaYKTpkLa5MGRXUeHiJecyl/I8a9AG 2jldVgOPSm2RuQ6SLIwIZ69LW1qabkjOh747LhL6SVYsEXPrQecbJXuPvZQhVvwgPBuG tGtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:message-id :date:mime-version; bh=fvFXYp7Muoj24bwaMmumpsdmBsct2EyjuejvEbfokio=; b=Jd7duQykxfwq7ZrEBDkEqEMiXLN9W/p/cWUNdh3KHEF51GMNipvxnu0EAYWjd4g0jc D/x9pW8y8zQLcrTEqTOdTwtHAiAXOZDf8cd8FLxMS25u7mZIA5eNfzZgrtJ3mxQX5et2 IDvYjAzxrvXKVJyID2yceDZ1hkvKFr1lHxPb0dEhUGwZzRXd36pO+UxHIwvgewe2vaWO fVTenLmMhxDlLHJx63FiD04QNADK80nuTVfK8rFbomon0cOfHhmmHS6c8y9gb7ljZBFW II7b5HCKZek3uxSw8blhOdbBUhJAaewOe8rGdyzbO7emeHERRbZp7Yq2JH3K36rbnJ7E /Zog== X-Gm-Message-State: AOAM532zF2Cp/H+2yeVoHaWuYVFQL5P2sQj/knjCWAKmEBKjb3+UKwtf djju6NabEbJtHG/0ZKk8X1DOiHjUHS4= X-Google-Smtp-Source: ABdhPJxqI1hB05X5zOb9xxv5kFw45lVwtUSzhLi7gNQvyWYmMAloFHyhcLfSLRovKraU8eWWm6xe/w== X-Received: by 2002:a62:6d03:: with SMTP id i3mr4228881pfc.6.1593377022169; Sun, 28 Jun 2020 13:43:42 -0700 (PDT) Received: from AIBRAGIM-M-J8Z8 (c-73-170-229-122.hsd1.ca.comcast.net. [73.170.229.122]) by smtp.gmail.com with ESMTPSA id o1sm16873524pjp.37.2020.06.28.13.43.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Jun 2020 13:43:41 -0700 (PDT) User-agent: mu4e 1.4.10; emacs 28.0.50 From: Ag Ibragimov To: emacs-orgmode@gnu.org Subject: Smart processing of http(s) links Message-ID: Date: Sun, 28 Jun 2020 13:43:39 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=agzam.ibragimov@gmail.com; helo=mail-pf1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=JNVajhgS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0.09 X-TUID: J5VYqMZffaGz 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!