From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qKesEhYn0WP4RAAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 13:56:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6JGmERYn0WNrUgAAG6o9tA (envelope-from ) for ; Wed, 25 Jan 2023 13:56:54 +0100 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 BECE42B8B3 for ; Wed, 25 Jan 2023 13:56:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKfJu-0001NZ-Sm; Wed, 25 Jan 2023 07:56:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKfJp-0001N7-VL for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 07:56:04 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKfJn-0006V0-O9 for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 07:56:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1E5FD2400AB for ; Wed, 25 Jan 2023 13:55:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674651357; bh=hfRzz/RF8cH6kTvz4/lrihN3tdRcpk5KnxugE80z8wQ=; h=From:To:Cc:Subject:Date:From; b=No9QHg4ugiP8Jqf+zhKj1QeVLvqFP+20ZqqWWkRa/9ir6c30kexz7CTBAtIea7udI toMR5vCYE5HsNTtBrTdc4cAe3+/r2IcOoFfjnFIHlP4yUVXsXdSIkUvlgckA98WM1G BrjGie32geyxG88cWeZXa2um0gkfgOA1fmMnPU3zso/D1f6Le4atAPy6/Rl2rRGR5n zA2yKZ2WX7C0sPZ2Vop8u9N59Q+L4PQaUmFPHJU6nd6Vs9zkuIZ9CE+/WjEZw+EaIR jn/6GhBDMqWibrhkze6sSD3gp6fisDyuCV+dU+vdj7ucn5huDTJNCKO6WUYHG+lb+m XrbU5R/Y9cTsA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P23jk2Tx4z9rxT; Wed, 25 Jan 2023 13:55:53 +0100 (CET) From: Ihor Radchenko To: Jean Louis Cc: Bruno Barbier , Max Nikulin , AW , emacs-orgmode@gnu.org Subject: [FR] Should Org provide commonly used link types? (was: Link from orgmode file to E-Mail (using kmail or notmuch)) In-Reply-To: References: <3218434.44csPzL39Z@linux.fritz.box> <860cca44-faa3-ce41-3606-f92b50ee00a9@gmail.com> <87a62bnf4t.fsf@localhost> <21750362.EfDdHjke4D@linux.fritz.box> <939b62c1-34ee-051e-405a-328b841d3d16@gmail.com> <63d015e3.050a0220.5bc9c.95f5@mx.google.com> Date: Wed, 25 Jan 2023 12:56:25 +0000 Message-ID: <877cxan56u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674651413; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=G8b2iHYRIm2vOTuikhoGo1meMGmZfoQ9Wp/nNT7t6YM=; b=FKMvhciQOkv1tcGBUGo+KFfx+YdayL5NKJXjOqiKiD7xHIQOYq0RnG+kMNqn4KQUm/BuYu LI73FEG1PLjyD3ircBHEJ/Y0bIPaa6SaQITj0XcC1fFAshk1epMoxCk1nIP37tPAlbP109 zujmO6sevm2WFvk1sNExyWxo+ewsPhN1LwX8z67r65T80nOURln+OEkgkabFGEVLipGtYV Gb0KryR3QvL+tnC01WOZBvPqcbRl9OFB2T+RzDphBMRCBsDDOFjAyg3Xppn7jkWVGROIpU EXMwx7F79Vcb2dvv0pHL3s49giJDzZW65Kk68qpWeZ9QsQcGXmBJnbZD0dJQFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=No9QHg4u; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674651413; a=rsa-sha256; cv=none; b=EDo/OMi6TZ44yCuCTHivWeJbWPoZec12agacqAbbV/LfNehYxPw6mQs1QUP32cMb7Uv68L SFFiz6OSJg768ylvTqKEccWG2ItAK45wqWTxIYQwEsEJyZWeNg9pjWEC6hmAVb7PEXF0a5 Zh1UW+xqPyTnY719oIrsDpfx6iRErbeibYLsPzUw1hErxQO1e5jLmB4D1savUl5x1ZHqWB fcyzEviAT4YKxX6U9JSaEd2YOcQzRhmqkp3gDzIeMZKd5AMpv2pxXB11n/s/xDzKTbNN/A yoWNQGNvokmeluMQSHfwoExqCpZY45j1K6Q7ZG7cUb2erxqkPcs0uMJaduPX0A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=No9QHg4u; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: BECE42B8B3 X-TUID: Y7IKRVMKR7jK Jean Louis writes: > You see, Org is part of Emacs, me I expect that when I follow Emacs > Instructions that Org will be using Emacs settings, but it follows > it's own settings. > > I mean these settings: > > browse-url-handlers is a variable defined in =E2=80=98browse-url.el=E2=80= =99. > > Its value is > (("gemini:" . elpher-go) > ("gopher:" . elpher-handler-go) > ("about:" . hyperscope-about) > ("mid:" . my-handler) > ("hyperscope:" . hyperscope-url) > ("e2dk://" . amule-handler)) > Original value was nil I do not mind adding several useful link protocols. But which ones? Org cannot just treat arbitrary [[foo:bar]] as links because it will break internal link references like [[ref:one]] <> So, we cannot just say: use `browse-url' when the link type is known. The link types in Org are a closed list. What we can do is add some more known link types. Some of them will use `browse-url' as :follow link parameter. However, what are the link types which are worth including into the Org code? I am looking into the protocols supported by Firefox now. They are: mailto, news, nntp, snwes, afp, data, disk, disks, hcp, htp, htps, http, iehistory, ierss, ile, javascript, le, mk, moz-icon, ms-help, ms-msdt, ps, res, search, search-ms, shell, tps, ttp, ttps, vbscript, vnd.ms.radio, and file. Note that mid: is not listed. Suggestions welcome. Probably, we can at least support the protocols available via Emacs packages (e.g. notmuch does support mid: links). --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at