From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 sPPbNL4D0GP9SQAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 17:13:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gMDQNL4D0GPPgQEA9RJhRA (envelope-from ) for ; Tue, 24 Jan 2023 17:13:50 +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 86BFF39AEE for ; Tue, 24 Jan 2023 17:13:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKLYu-0003bz-SX; Tue, 24 Jan 2023 10:50:16 -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 1pKLYl-0003bW-Uc for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 10:50:08 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKLYi-0008UT-MT for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 10:50:05 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pKLYe-0000nO-Ec for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 16:50:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) Date: Tue, 24 Jan 2023 22:49:54 +0700 Message-ID: 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> <87pmb45kv8.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US In-Reply-To: <87pmb45kv8.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.149, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-1.148, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674576830; a=rsa-sha256; cv=none; b=oxc3ITuyCucp7Yshtav/rUH5P6pVmcLtV797ZcB6LPLdJiLxPBRhZL1osd1eqK9eOd9P7Q NasWhE1STxXhS+lrXCqVcrD1JyoCsrU7WQbV5CoEKKpuwyBQikOrektutJFymyFMWRYqkH BaO0AX5OTPYMjk1x5EuImDgILUnyC/A2/oDbiGBcw+Pv9iWWsfM/yHeYARqiCt7GsayB1d iWyNzwyW+m4nMEp1SUnA/jkUAlGOirSY14qrLK82kQqjid5U9mkaftmWE+IsMPwTFWt7Ed 41zpbMTBFrpeoYiKh+Rqf/K1jbWcQjQbQzfXvWyi5+dsbJxZLpRrlw9ULUWUiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674576830; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Zj8ZuKJ9eTddfQSY1I9JxS4HUmuRBPeHCMwN56L+3h8=; b=VxcRy//U1X7mY51q6EX7Uaqs7hEpUxrur6Y08kk7A4IZk5Yrn8t/GogHqbHIS5PEVTFiIh 31/o0tkSWEIEaRWnNHH7TvvnowcxdYgqu/7mvhe0hzKI9vAS/kNn5IMF5SJ31RfAFomlLj jC1wwD95/r6oF6CxILQ0dnqj2Di+1T20X01cBpuVcHa6s7u5N/c+JoGGnKgLo5znUAehhT sKrK5tG765RIxj9UbW01jvpFv15fF2/BZ1TdMdE8wGpaoYsknhjiBr8VM7yq2+2d15V8Oy 2ihuKTnnpROxXjIp+fac12+0FJccOUlXe73d/I7fNJEw9wHWhvSypId0gN6FGQ== 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 3.32 X-Spam-Score: 3.32 X-Migadu-Queue-Id: 86BFF39AEE 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-TUID: Zs1YrNcNI0NX On 24/01/2023 16:42, Ihor Radchenko wrote: > Max Nikulin writes: > >> On 23/01/2023 17:40, Ihor Radchenko wrote: >>> I am not even sure if we need to make Org open mid: links via >>> `browse-url'. Maybe it should be something else? IDK. >> >> Do you know an alternative? ... > I am mostly concerned that channelling mid: links to browse-url will not > work (open empty page in browser) in most cases. This is more confusing > than not having mid: link handler at all. For me it may be a reason to not enable to enable "mid:" links by default, but I am still considering `browse-url' as the proper handler. Code to determine handler is platform-specific, e.g. for Linux xdg-mime query default x-scheme-handler/mid xdg-settings get default-url-scheme-handler mid The latter actually calls the former. I would avoid both variants during load time. If you get browser fallback then you are advanced enough user to avoid a DE. Gnome shows application selection dialog, KDE throws an error window.