From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 0JmUBgZez2P0iwAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 05:26:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cHqHBgZez2PSDAAAauVa8A (envelope-from ) for ; Tue, 24 Jan 2023 05:26:46 +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 A5027BED2 for ; Tue, 24 Jan 2023 05:26:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKAsi-0000ml-89; Mon, 23 Jan 2023 23:26:00 -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 1pKAsg-0000mN-Vx for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 23:25:59 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKAsb-0001Tu-Hj for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 23:25:58 -0500 Received: from localhost ([::ffff:197.239.14.182]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000010B84A.0000000063CF5DD0.00002919; Mon, 23 Jan 2023 21:25:52 -0700 Date: Mon, 23 Jan 2023 21:37:24 +0300 From: Jean Louis To: Max Nikulin Cc: AW , emacs-orgmode@gnu.org Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) Message-ID: Mail-Followup-To: Max Nikulin , AW , emacs-orgmode@gnu.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <939b62c1-34ee-051e-405a-328b841d3d16@gmail.com> User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 autolearn=no 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674534405; a=rsa-sha256; cv=none; b=lWRV2jpNjXCTdTQ/FrLn5XPfROo24XyZ2XUyWXPjH2PR6jyFgcX92mFqR5ZzwxN6qlPwQt anXnCUTvoEPqZU1E083q+Wz9VZAUXu81EcRY2gee1ci7q6oeVwqGru4BNefxH/ycVk85wA M0l+DauDK+jFGmhzhTH3qsIRK9nKBJum4YphC0XhvkGPWYeI6xAvYK+H2Lu0q5nSVxkHNU GcN689ZjGshiBWGJNImam8282YPxYV9YkAIEqlmV1GWVX59bZ6SFRA3wu9C1qAvQRKk+9B m0IgAsukYaMly6QFgIaIC2B/M4zNA9QDmNomLnhgJe+DUpCF8mZuoHGDDt7CQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674534405; 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; bh=/a5rp6RZWh7GStf4Bjwg4SixJooiahbWtip1HeB256I=; b=ufiUrG+UBxNQgG6SKxb1P3iHpHje+Hl0HbiLPN1uzKP+WUYB6UprlotSPgE6i12vMO/6a2 UnCENhSeMAGa0eRwrSRRnVtD9VpIyKxT/nYwMOZuSiLY4IJtQMi0tWMKdcPLUcQuuAAJA7 EuweX4zhJrEEHItXQ+2nAiVUVMaJEFNoJ8Eyj3FJ1Q3qe7eowsHKSHhHWDXJm6wBj7nV4y gm1GGp8OUPvRo6cslVY7d3VIhE/QRZ2XaQ4YxnwZYPQ+Gx4DkrTEyTSvtz5BAWen+8uXF4 TEyENkON3zoHytDJSW5xfK8n61JIi404iFu5lGdYj5C+9ltS0Lbq6/FC10v2Tg== X-Spam-Score: -2.49 X-Migadu-Queue-Id: A5027BED2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none X-Migadu-Spam-Score: -2.49 X-TUID: GAnLQIWZQnig * Max Nikulin [2023-01-23 14:49]: > I agree that linking mail messages and Org notes is important. On the other > hand my impression is that the "mid:" URI protocol is not adopted wide > enough by mail user agents yet, so it is too early to enable it by default > in Org. All URLs defined by Emacs that are to be run by browse-url in Org shall be allowed by org, to let the Emacs settings pass through. And not to hard code it in Org. To circumvent hard coding in Org, one can always use elisp: type of links: (defun my-handler (mid) (message mid)) [[elisp:(my-handler "I am ok here")][my handler]] Though it is not logical to hard code in Org how this or that URL can't be open, as Org should allow present configuration of user to run. Is that currentlyy working? > Configuring of "mid:" links requires just a few lines in init.el and they > are quite usual for custom links. I have configured it, it does not work in Org -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/