From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CPZxNXQx1mNTVAEAbAwnHQ (envelope-from ) for ; Sun, 29 Jan 2023 09:42:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4EN0NXQx1mOgMwAA9RJhRA (envelope-from ) for ; Sun, 29 Jan 2023 09:42:28 +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 2857A171B6 for ; Sun, 29 Jan 2023 09:42:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pM3Fl-0004m6-0e; Sun, 29 Jan 2023 03:41:33 -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 1pM3Fj-0004lk-0F for emacs-orgmode@gnu.org; Sun, 29 Jan 2023 03:41:31 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pM3Fd-0001KD-0z for emacs-orgmode@gnu.org; Sun, 29 Jan 2023 03:41:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 65B7B240374 for ; Sun, 29 Jan 2023 09:41:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674981681; bh=wh6i1qKzvTo90ofiWnZC3tzNpAbpaY0ncYJLA1djEi8=; h=From:To:Cc:Subject:Date:From; b=L8S70pz2jI2pe1ZXRPOKStQKCP2RVY8en7N6XIfzMPkFfZWqQLYaBQvoDFgvVKWka mf066DddZU+4nz/oVh6lEEmO+6faNIgWK9AIXGJ/mERDbNNtCMFjQMEOL61UlsQOX8 pLfZgFPGoCF7pFwKihriqIjE27mb1TlHWzpFlJeMmzYQgi65zL5f5NodP/85fyPGhZ A0bT30W+kbeNxWj4c7XhDKikoX9ai8MqeXi/mqdjVOkPbkT5clQALLNYGCLyl/o40Z EKAcZ3x0BX08AECerfJCqofO0xz+XXggYxiD5u+EpnPCUllw8xJbSz3XYjxmmADoVv Rn+RrHYVsv8VQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P4Pt84wzgz6tpW; Sun, 29 Jan 2023 09:41:20 +0100 (CET) From: Ihor Radchenko To: Jean Louis Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) In-Reply-To: References: <860cca44-faa3-ce41-3606-f92b50ee00a9@gmail.com> <87a62bnf4t.fsf@localhost> <21750362.EfDdHjke4D@linux.fritz.box> <939b62c1-34ee-051e-405a-328b841d3d16@gmail.com> Date: Sun, 29 Jan 2023 08:41:50 +0000 Message-ID: <87o7qh7mwh.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.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H2=-0.001, 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=1674981748; 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=wh6i1qKzvTo90ofiWnZC3tzNpAbpaY0ncYJLA1djEi8=; b=XA+kgCQrhSs90pCib+7E0ZZnKpQvE6hXbo0Y6HcTDcegYVbH/DwePDyTPb1W4j30/2kwf/ 0dsnq/Bh3Qr07xFNVBR9HCRKucUEMGqK++xRCs1Hh5W3q98VgzWbvMtbhPfTm+SEb9uq6g Q2Pk3CVp0pAUOcq3odfrGAdNST5QmLs2NF2IshKJcre54yglqCO4ljXYb9SHaM1c17maQ/ vnJVkUZexJ2D9VsIxZlTdsNF/9qzUUFzdMJ2TguAKgfTk8FutEfz4/uGtwVAOsecppa0pX IPaws3zi95wD3V2XoWyfKWZPXnaDR32rYm2IKhijKa8tnRlKtFccr1YvsUzR9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L8S70pz2; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674981748; a=rsa-sha256; cv=none; b=VyW+HCpIqGzu44A4MjkyJlFCm2bp7MVOUShTck5pC8MBslvvAEIL7IqP8Yk318enkCdi2X 8pbaUGguQaTrsMv4xWP6HsAbpWyYXmRyaBkDSMJ/cZGDLBzerNqflXmMb4dIDIDvcYo4Qj kIkSJzMb3bV1JUsOKCSiHVrXu9IajqH/kfC8/baUS9WYkXUMAKzkN9bidhYBf5uxV+llCY Zjh3u6YJQsPbpKBv00+2BAWddEU1yVkp+Q9Gz+SoraN1sbNgPK6tmw5EzoVCyykPoAnwHZ SXORohadqPwEFMh20X2HZqxL1s1kW9affw9EpS25gf5YCD9IuQ53RS2rOBNmOQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L8S70pz2; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.84 X-Spam-Score: -7.84 X-Migadu-Queue-Id: 2857A171B6 X-TUID: q6pfjybVJFkM Jean Louis writes: >> Try to derive list of supported schemes from `browse-url-handlers'. > > browse-url-handlers =E2=9E=9C (("gemini:" . elpher-go) ("gopher:" > . elpher-handler-go) ("about:" . hyperscope-about) ("hyperscope:" > . hyperscope-url) ("e2dk://" . amule-handler)) > > it is user option to be customized. > > It is obvious that my idea that URL schemes should be unified may be > reasonable, but there is not enough programming functionality in Emacs > to allow it to be very deterministic. And thus Org has to make it's > own URL handling. That is how I understand, correct me if this is > wrong. Kind of. `browse-url-handlers' may have predicate as a function. Then, or may need to run all the predicates any time we need to know if given url-looking string is a link or not and what type of link. Considering that such information is needed, among other times, during fontification, I doubt that we can practically support `browse-url-handlers'. Or we can make Org unusable. `browse-url-handlers' is designed in a way that is to be used on demand only - when the user issues an interactive command. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at