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 0NzjMsVx0WPfFwEAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 19:15:33 +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 0AbdMsVx0WMeJQAA9RJhRA (envelope-from ) for ; Wed, 25 Jan 2023 19:15:33 +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 6E1C9804D for ; Wed, 25 Jan 2023 19:15:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKkIL-00006m-M8; Wed, 25 Jan 2023 13:14: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 1pKkIJ-00006Y-CL for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 13:14:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKkIG-0003mX-UR for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 13:14:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D088124047C for ; Wed, 25 Jan 2023 19:14:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674670482; bh=UQttfIoyIfS0tKCfTSIhC7vE/5QLjr/4XXf15KIYVMc=; h=From:To:Cc:Subject:Date:From; b=be91m3yJduABCsQDnhHxA45L+M9NjtqslPITAS0Ie9Q+7MPOB+iEkv3zeygG7iw8i e3hA3hjsZOqXnaqxXaIyX2EKppcD8ikIOMhxAEgaUjG9P2pfanRiIYo7CTuL+AXfbf 7XpkhBULIJ27Ttpx3AMYyjkZDKI6RUUX8uVKXjNXTz1YNimoerAw2htmXOpd4Sz0Rj 7YO5HH5jrKqh/Q1qs/O9Isq0jZMbjvftzLdcCVLxY+wg1zszgrhik1qO4OPZAQiVTo 1I73oEt4AkRDvlmr0Ln80T7//sdPd96podv641tQ9fcy7+wqruvDSMtxn4yTVUX8ry LAsosk/07qoHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P2BnY68Y3z6tmG; Wed, 25 Jan 2023 19:14:41 +0100 (CET) From: Ihor Radchenko To: Jean Louis Cc: Bruno Barbier , Max Nikulin , AW , emacs-orgmode@gnu.org Subject: Re: Should Org provide commonly used link types? In-Reply-To: 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> <63d015e3.050a0220.5bc9c.95f5@mx.google.com> <877cxan56u.fsf@localhost> Date: Wed, 25 Jan 2023 18:15:10 +0000 Message-ID: <87357ylbv5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674670533; a=rsa-sha256; cv=none; b=Sn7IvwvBlKPmoDfrXwx0UbhzbEBDC4p7hh/3s/1P2qQ9tX5Ga17Q7+RvSvgDOh7KzkASA0 8slqR9Z2P2JTORm10/HAVnYD9tVBritrcy4irVJwKzCFIBi016qO/1VJD28NRxjMyNY+HR FaRUiElvyrimqh8XCBs34ES+ns7gXPF6vX50iDBHrjD+lZD5CL0VsEy/j7vzwc/7anMC0Q gQLwVxtPrGK0W4a0bUjYaYsiCgsKSmJif5o3mRSYIjNFvNQPpkkyniqhxsavThaWiAL9ch U48V1YCo0jWsr8SCWAC2H5duRY4SSHqCrwwB9n8ShPdxDjh3CBAH9GFGcnnQHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674670533; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=koI5cW2nui1F4Wp6Hx3BS499mdR+xqbDRuc5kmvLtwU=; b=sYX4XNFHRjv7N5pbN9QqqXk3iVo4mu548rGa8QXzDs2vb1MHPKD3NlV8fLC3QVvaf4oSzN cdJGOrcD44jGsqRMidhyeSWBHzXjJ++I7M3VdQicP3aQpvycYY1cykSBqS1d3/sqmhDGjA 2ZuihUCthxlkIWvuX82bsjrBDi2eR50WsOcNaQMar8bojMz9NaYxC7PqcTZAiTZZrNnU/o hF+IRzKk9ZV+6IuUw6IeJ+bgQHssy4wpU9J6qVELvypCnTO0Rnq9j62roc1ZPjU6qKN14f QV3Mab4ioEFzswxNlJZAEWZZqc2f/b7+8Fe6CfSiF1Alj7JzXBoTemvNP1d8zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=be91m3yJ; 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=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.14 X-Spam-Score: -9.14 X-Migadu-Queue-Id: 6E1C9804D Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=be91m3yJ; 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=pass (policy=none) header.from=posteo.net X-TUID: 0h5XxOP9KXsT Jean Louis writes: >> Suggestions welcome > > Main suggestion would be to make interface for users to easy setup > those hyperlinks. > > If user is supposed to adapt mind to programmer by setting this horror: > (info "(org) Adding Hyperlink Types") > that leads nowhere. Forget about "usability". I am sorry, but what can be simpler than (org-link-set-parameters "man" :follow #'org-man-open) ? At least, when we only consider Elisp interface. > Customize interface is much better. > > How about this in customize? > > - prefix: pdf > - format %s&%s > - function to run: open-pdf org-link-parameters We can improve custom type definition there, but otherwise we do provide customize interface. > I am changing my mind, now I really think that it is better you hard > code those hyperlinks in Org as you said, that way you will get > functionality that users can still choose but need not be bothered by > programming. > ... [ Some of the suggestions have been discussed in the past - we do not oppose including more built-in link types. Patches are welcome. ] So, the suggested links are: 1. pdf + page 2. video/audio + timestamp 3. epub/djvu/mibi + page Note that all these are basically file: links. While we can make users say pdf:... or video:..., or would be more convenient to extend file: link instead. Max pointed to experimental proof-of-concept code for pdf + page in another email. > Message-ID, should support FOLDER+Message-ID I am not sure here. How can we utilize FOLDER? It depend on the kind of external application or Emacs package we use to open the link. > Is it possible to support Emacs bookmarks as hyperlinks? I would > include that. There is ol-bookmarks package distributed as a part of org-contrib. Someone with copyright assignment may take a look and re-implement it. > Geo location shall be supported, as it has already many handlers in > GNU/Linux, then GPX files, GeoJSON files Are there any? I only know web handlers. I did search at some point. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at