From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iKwSGAEL92RRGwEA9RJhRA:P1 (envelope-from ) for ; Tue, 05 Sep 2023 13:03:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iKwSGAEL92RRGwEA9RJhRA (envelope-from ) for ; Tue, 05 Sep 2023 13:03:29 +0200 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 EC69C57CE9 for ; Tue, 5 Sep 2023 13:03:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NP00/EdV"; 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693911809; 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=UT/RVnQ3NPIG28+3WrUECKHCfkh33RuUv01vWVCDSEs=; b=IZlMZyx3/+hKHBB98TI6vm3nMYIxD9c1oOS6UkgrqYXC+la8+mn+4N7w2Tg1sLJOKW0Uny /UIzhrch60cRTNg5Ms49NAk6mOhu2ufVGss5vdD7kGIZk9J+Isk8+CWreHrN9inkMBe/R0 f/26NIta709/nxkxV7xQw4F8wf4/Lo8wPYEBMkfn38eQjgweH1nY52Stw44oAEfxCiw7eh 8lk9gZKIJmQYZrybe4JhtN1cg18SMkFFPoFS62lvDwmIqpY7DUuD+XzfZpER/5NwYXEzLp UmgiPCb0txencF1dOqRqddeZDi6ys8GZuC2OZkzEvqn34NNkqpgJdPMm3o7vYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693911809; a=rsa-sha256; cv=none; b=PEDX2aIdxvlvqVAb+blAjz4We2epkvHt7QrdDIL2PWyKXvldj9oxOhczSECaS10SKbxHgD NL/NZOkdwSkQJ6GWHxqvUUcaxU/0XyAhiOMaISBIfiei45SDFGw5ZeWP38rwlxeArOmKMj ar4JUfCHblLF0g7BfcU1f4XGeO8IG9akZ8rWK3rAOgWG2/bvGxSdQ6kfCLK379Zlglx+aA Fz/oVyffO0fOdVstgXeIRliDVIQknCxxOg3Y8LQ85HXuZyfhC6yNFsGO8qKm6DMn1+tmDl bMtMGlhWEKJrdEwHuz6iK+3acNXZcI1E9rDI0n7+1YkHKkTdFtCzql9q98vdjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NP00/EdV"; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdTpE-0006h4-G5; Tue, 05 Sep 2023 07:02:28 -0400 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 1qdTpC-0006gA-Tb for emacs-orgmode@gnu.org; Tue, 05 Sep 2023 07:02:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdTp9-0000Hd-D7 for emacs-orgmode@gnu.org; Tue, 05 Sep 2023 07:02:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1D608240104 for ; Tue, 5 Sep 2023 13:02:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1693911724; bh=OrbgzMTDgQIsW3yyTNZ4QIZcAlGSe490CcXg1KZ2Ri4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=NP00/EdVSLU5O6xGy84QqUdUO6/c/5gVxC4Lb18k2Hhb6d7Xla7Y5LGQL1WCLNj3w wa4pMIKRPshE+OOo6R4qVbqTj2LcB+f5/GcNxgVFHStDaAe94MbLyXHKlie34Nl8Ar drS2eoKFR2jApRe28tpNmKMOoZmPEkaZufC7jf27HaGA3IPG7JDKwfpeMl8FlRnTJ0 6ZmbK/v+Rb8Qy7EI46Tl0u5d40HOhrhwx7lT3OTW+GMu9lxRfDqDjI7iNmjioNEXS5 TNT+sljB/SL0wRTm4e0tira34zBi+g5hQwz/BHkHPzcYyd9WqJwMOLWdizrtnkPgsC IGGiPdzLquSmg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rg2dR33YXz9rxQ; Tue, 5 Sep 2023 13:02:03 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [DISCUSSION] May we recognize everything like [[protocol:uri]] as a non-fuzzy link? (was: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)]) In-Reply-To: References: <87il8v2q00.fsf@riseup.net> <89434f4f-8aea-23f2-bbfc-3961c18f2154@gmail.com> <87a5u6tgb3.fsf@localhost> <87fs3ydv17.fsf@web.de> <871qfirwbx.fsf@localhost> <875y4udqim.fsf@web.de> <871qfhhw7h.fsf@localhost> Date: Tue, 05 Sep 2023 11:02:52 +0000 Message-ID: <87fs3svq5f.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -5.22 X-Migadu-Queue-Id: EC69C57CE9 X-Migadu-Spam-Score: -5.22 X-TUID: JP2mKzR/Pk3P Max Nikulin writes: > On 02/09/2023 14:26, Ihor Radchenko wrote: >> With my proposal, it would become >> >> (link :type "sec" :path "spielbeispiel" ...) >> >> However, "sec" link type will still not be listed in the output >> `org-link-types' (not registered). >> >> Then, ox.el and other link processing code, when encountering a link >> type that is not registered, will fall back to searching "fuzzy" link. >> >> So, export, and following the link should not be affected. > > I do not see which way it may help in the reported case of complications > with URI schemes not enabled by default. What is the purpose of parser > changes if links can not be exported or opened? What I had in mind is a bit elaborate: 1. We get actual link type 2. If link type is not registered, we try "fuzzy" 3. If "fuzzy" target is not found, instead of broken link, we export a link with unknown type. > I am unsure if any "PREFIX:" should be recognized as a link type, but > there is another possibility on this way: allow users to mark some > prefixes as search links, not link types. May you elaborate? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at