From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sIH8CN0g0GObawEAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 19:18:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GJHGCN0g0GMkVwEAauVa8A (envelope-from ) for ; Tue, 24 Jan 2023 19:18:05 +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 F3CEA40508 for ; Tue, 24 Jan 2023 19:18:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKNqd-0003T0-OF; Tue, 24 Jan 2023 13:16:43 -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 1pKNqb-0003Sl-QR for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 13:16:41 -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 1pKNqZ-0000nE-PO for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 13:16:41 -0500 Received: from localhost ([::ffff:197.239.13.158]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000103A96.0000000063D02069.00007618; Tue, 24 Jan 2023 11:16:08 -0700 Date: Tue, 24 Jan 2023 21:14:03 +0300 From: Jean Louis To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch) Message-ID: Mail-Followup-To: Max Nikulin , 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> <87pmb45kv8.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: 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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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=1674584285; 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=29QZSR3VOUwBMS6f6LGkcTgBtbwDzwk4u6uh+F4VOl8=; b=ZCdAlpio6WI7Jzduv/4RvbkEJgMVdrGtdW/Gsd6mNekWaTeF8uke2fo2FRUQd+pG2UTrD1 H8rk7Ilu4CUfnQohF4JM+sbF5/bTz+zM9U4J4TGBsGRxvF4OuaD2FI/0c/DPaNEcVCOrZC E0td/61OuTqDXSbQDAuAtP+5ZGivnXqxbfylO1C6jKie7e7Y49sXCG9WnubGMjVUV/AZT0 G6u7NLlRNAB3iINYZ7Ia84CgjLtXgN5vTZMp/x1v8rVmcVtgRV8eue9mdWDtrm+KNJ+4Ur WsxbPCv2/ZU1+tX9zMOVvyAERk4USbCPXVFGveWdkW30H4UqxHajY+p8npheXQ== 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=1674584285; a=rsa-sha256; cv=none; b=bvLbR0XC1Qj2RGKfF1VV+D07Djjg8Q/QeG+ICaYo8GCrJ9qbJY8MBQuyBJLHuxqv5cRAM7 DAIS/oCZGtLytzmu2rwRFkTrJ9y31jD/SpZO+wmb5Ixl5SdPl/cg5YZ69wdPS2GJirZ30x bsKdwQxesMJE9dHeZeFDz8iU3C0QnvY2UWa/3ueEfOrNxcUNMpNd4+5neiER78uwrUMJqq 8VG1pHI8H5QECPC8SJRmy+KD/q+Z4jv8kIjydzMBpUz+IXghDTiFz5pA3jHw7lkngQfuL4 uCekBD+xt+cmEGkori5EK0/O8QVM14hRUmHUnk+zKnO8A0eqy5cW6/GoYDbcHQ== X-Migadu-Scanner: scn1.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: -0.88 X-Spam-Score: -0.88 X-Migadu-Queue-Id: F3CEA40508 X-TUID: DsJpY1vi2sap * Max Nikulin [2023-01-24 18:52]: > > 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. You should neither enable, neither disable opening of any links on the Org level except maybe Emacs Lisp links. Otherwise let users enable or disable what they want. > 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. Let users open Hyperlinks with any browser or function how they want. I am aware that Org has that mixed hyperlink types as explained in: (info "(org) External Links") and when I say "mixed" it does not support the expected standard of URI Schemes (https://en.wikipedia.org/wiki/List_of_URI_schemes) as it introduces various Org related hyperlinks. At this point, after so many years, nobody recognizes that such capricious single user decision does not scale well for broad public. And now because all the users are entangled using non-standard URI schemes, it is very hard to switch, as it would break compatibility. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/