From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sBDDJvmo+WRZTQEA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 12:42:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sBDDJvmo+WRZTQEA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 12:42:01 +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 58FC1320FF for ; Thu, 7 Sep 2023 12:42:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FwH8fIIJ; 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=1694083321; 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=hZx8s0xzTQ2vg/zbyY1GAtYJibcVM6Lu33Qua/aFjsU=; b=S8r15kuFGNxMusF6WX2u8WLac+77VO85+RRzxWpzmXoNAGF+xq59YF/uotpooPkNuEUcC+ X21Oda/IIlNtXGo32Gx6r7knxKhnhplzkf0/gaDmhiNNWWU2sL3LrgBhoNMbGWVMI6JbTn up91GiVuoF+6lg4E3MFFzsKxdEV8vZBE9KIoTim38nSApUddboWk38uFFyKLIJ2JNHB3oE q/+EPDmEPwz65/mFtQ1fpIPg1ZwHZtBk7hqJWOKYSyCulQaG7Q04Ujgs6TPX+Rn/Bx3LGA /elFNLWDi4Z+YJX2D+zaYtsuJ6VdzmgyTIlhqX9FEGiLvhWERNAmCw8IHs0Y6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694083321; a=rsa-sha256; cv=none; b=cbPIaDf/lr1FfAW1yFJ7x5ex3TIogPxbULZgjbjtuDSoj+SLKuAwDvrfrGDp50Oe+yBgFu IuH/va5ndUZrmYvufQdOF7I+xHXzrmLMvD/ZIYx019TsQ7G4Ipp3vNf0Tb2f5m7GDz7y7b tFCHQ8+5Fjh/1w0sCz/i/Bn74ok4OJs3/6tBhWboeDuQ73bnmAZCKvpXKPXT24wXRFbg6U luT7xIDwWCyIwXrkV6oDp8aOX9t/gp7/9LCghhdAc0hhXQ1C6iLYUN/IVwvsKrZ8ZkxjDz tuNY6xIhcB7P7cAnpJhtqmijwiG1If+FQZWZqKKw2JhwIOB6pqaSM3qJP4Lmlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FwH8fIIJ; 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 1qeCSG-0002UI-Hu; Thu, 07 Sep 2023 06:41:44 -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 1qeCSE-0002O6-73 for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 06:41:42 -0400 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 1qeCS8-0001xS-Vp for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 06:41:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1685D240028 for ; Thu, 7 Sep 2023 12:41:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694083295; bh=4onsLOG02f7hX+1qHlG8aRf0W00QYBS0hNIAbf0JylU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=FwH8fIIJuMX5NCXLJResdDQV71+k2RvzFaoQqsHamknm4q72uUJKGe14xKNqOuDhi Z7J6WC3ocsRmIzLnkRQ991Xnvyu6IviGaLPToJXoHK8uZrwEJsWvPqyrmynuCcp9dO +o3VSUjYOx3QTz7yF7cgKgkZvecdrw3GQfsB0ntCbvNyCOcqHQujsX8rdNvxtiHMbo LAPYEPEFJpg8lz+rkYyo+Pyc1PDOgMbbEGtmiyKOGYFo5eVvGTgzvk95p3BfToI4Cn XCWGSq5EvSdKrGj6nlisUeCL8qY7I6WXezbGYwvvc4fUCoJhW5gLwoMk1UH3lRMaKX JNa9CI1sAGDOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhG4t4fRSz6tsf; Thu, 7 Sep 2023 12:41:34 +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> <87fs3svq5f.fsf@localhost> Date: Thu, 07 Sep 2023 10:42:25 +0000 Message-ID: <875y4mp8mm.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, 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: mx0.migadu.com X-Migadu-Spam-Score: -4.53 X-Spam-Score: -4.53 X-Migadu-Queue-Id: 58FC1320FF X-TUID: YqXTz1JF0jKi Max Nikulin writes: >> Max Nikulin writes: >>> 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? > > I am considering another behavior. If any PREFIX: is recognized then the > link exported literally as PREFIX:PATH unless the PREFIX is registered as > > (org-link-register-search-link-prefix "sec") > > So if the document does not contain PREFIX:NAME target then it is an > export error (or another prescription controlled by > `org-export-with-broken-links') and it may be reported so by `org-lint'. > > Different users expect different degree of strictness during link > export. I am unsure which variant is better. I feel that it will be too complex. We might simply throw a warning when we get unregistered [[type:path]] link, so that the user can notice if there is any problem. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at