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 EHSEFRAIzWPE8QAAbAwnHQ (envelope-from ) for ; Sun, 22 Jan 2023 10:55:28 +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 ILKbFBAIzWPVNQEAG6o9tA (envelope-from ) for ; Sun, 22 Jan 2023 10:55: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 E8212A576 for ; Sun, 22 Jan 2023 10:55:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJX3p-0000NE-LW; Sun, 22 Jan 2023 04:54:49 -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 1pJX3n-0000N0-BB for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 04:54:47 -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 1pJX3l-0003ym-Aw for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 04:54:46 -0500 Received: from localhost ([::ffff:197.239.5.204]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000010394E.0000000063CD07E6.00002C28; Sun, 22 Jan 2023 02:54:45 -0700 Date: Sun, 22 Jan 2023 12:38:34 +0300 From: Jean Louis To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, AW Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) Message-ID: Mail-Followup-To: Ihor Radchenko , emacs-orgmode@gnu.org, AW References: <3218434.44csPzL39Z@linux.fritz.box> <860cca44-faa3-ce41-3606-f92b50ee00a9@gmail.com> <87a62bnf4t.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87a62bnf4t.fsf@localhost> 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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674381328; 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=pe6+kgg1ImXvcct+tnSFejgQFGeK/bBCEx6X4a9UNPo=; b=foZFk0qTZxVNVowoLmC2cBs6KqM6ipzsDAxL72N6poV6Yo/TyySC27XGzOtsCbX2Ik8igG c9L4cVwGnAgPgax8Ugr+6jCleKtDa0QXS6o4KgLMjP8KROLjnM+U/TzQPLVaiIEZfwTva6 tAnSRLwchpAavnZqyvlW5GKHBUJ+UrKrd+t85odFEl5uyoihxwAUWV3+1YaHje4rh9HN1x 6rApS9vg6eIVGG49Qx4HWLeD7DWCszzxJxikX0OkbgLgv8iZLbNUvlxzUlTc+XuAx+//Ll KZCIC08a1XmL8yka5d/ZNgsRbm6xBhoQUsBBDSwlzK3mC3rYl/jR00OlV0RhWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674381328; a=rsa-sha256; cv=none; b=dHQ9umb6HpvqEZLnWRmz8RtPHG9bQPEt+ROiJdT2KluimFOe4+HJ6WC4ECfDwAiKLueNez 4OVq+GXvxhdHu4SccJGLczTQB/DBJFsMCArOTJrzUce1E6U7FDJkyJB/mZGjR8F+ibOVph 4Y4eAU8sqBqcW1fAlhbzpREp+W5vs2eqMmcJghiw47FQuuSzRQXjqHq7cuX3DBsUv2axRG kOWJWHe3RuaGRoxzytSFWMnieIj5GSac0s+VxvyR5/6zKrLSNsQV4LSfXfN7pIttLHtHAh VF9elD4XONb2ddBIjjk918h4Eejn8Z5P2gxhupibIc2RBDuQ+d1IeU86ftLm+g== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 2.41 X-Spam-Score: 2.41 X-Migadu-Queue-Id: E8212A576 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-TUID: 6uWcO3GQ5MXt * Ihor Radchenko [2023-01-22 11:34]: > We could support mid: is the corresponding url schema existed and > supported by various OSes. Instead of supporting hard coded `mid:` in Org, you better support generally anything that users may define with variable `browse-url-handlers` and `browse-url-default-handlers` or `thing-at-point-uri-schemes', that way you need not need to hard code it in Org, let it be handled on Emacs level. Hide browse-url-handlers: '(("gemini:" . elpher-go) ("gopher:" . elpher-handler-go) ("about:" . hyperscope-about) ("mid:" . mutt-by-message-id) ("hyperscope:" . hyperscope-go) ("e2dk://" . amule-handler)) Unless it already works that way. But on my side it opens up GUI widget telling me "No match, create heading" -- which is wrong. If I however, turn on M-x goto-address-mode then about:hyperscope and mid:123 starts working automatically, it is handled by user's choice. List of URI Schemes: https://en.wikipedia.org/wiki/List_of_URI_schemes -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/