From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WNIZFkJxvGX7LAAA62LTzQ:P1 (envelope-from ) for ; Fri, 02 Feb 2024 05:36:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WNIZFkJxvGX7LAAA62LTzQ (envelope-from ) for ; Fri, 02 Feb 2024 05:36:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ushin.org header.s=key1 header.b=eEtBzzKv; dmarc=pass (policy=quarantine) header.from=ushin.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706848578; a=rsa-sha256; cv=none; b=nlgrTCYF1czONCyecQCZdK/2Qtnv3QOp3cprZbz8v9kewqVs70pI53YEKy+f4rAydgJelG V2gXJ0tRv3Lk+79dOeqxWKYqa1tZpkkY39Uw27yoIl7UGn+L1GH8JRY33li0/XXHBWBvjF 8aP63is+mKZunyVcw+cqP66h7oaoHf4FMa7G0dqj5mqjwAroCYj4WzMVRcn/p3oJDfHNCN ASn1J0YxQN3eC7YaxOjHIvYyUchqPrEeivg9eroIz5uwrMIhcRIEFa5LBB3UWwT/PLAYeH Av5vKj+x+9hKPv7f9DP4p9QhgX+3Eukg5cOirIKL34b6kjacONst1phiFsSlZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ushin.org header.s=key1 header.b=eEtBzzKv; dmarc=pass (policy=quarantine) header.from=ushin.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706848578; 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:dkim-signature; bh=+/h+5TIYPDXJ6fk0Ca3t2pT5frmhb2HJ+vxDRvrWmus=; b=FIPs5J0t2HjGtbaPfEOm8zyr7Arg1fdptUoq1CY8likYsB9I/NUPzZDvqZ8Ok4+K7muYYS Kbiz4F/6e+yPvZ53gSUjKiWq31db1RvIOmBX1K/4Lbriwo14cu4mzOhIsgdAAVIv0St76D 5+c4Od8xkLAde0RebWoHrfECXFC13Yn49FeLmuxxr5bpzVr12mrWsVF6GLJdsRYzY0lIq3 HWTIGgtcdsIKBcwVqvHUL2jPO92S8/YzKoWD7z/nVCl10jhPDH2iyxNlHqR4O8/xFGFkDi j7+2Nvoiif5+9xzDSyRJfZcU51WOo2crCs6DcJFPdu1HsmJMdmB2iIKrlkkQdw== 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 6A87678377 for ; Fri, 2 Feb 2024 05:36:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVlGu-0006AD-Ol; Thu, 01 Feb 2024 23:35:25 -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 1rVlGr-00069x-86 for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 23:35:22 -0500 Received: from out-189.mta1.migadu.com ([2001:41d0:203:375::bd]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVlGo-0004Jm-UT for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 23:35:20 -0500 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1; t=1706848514; h=from:from: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; bh=+/h+5TIYPDXJ6fk0Ca3t2pT5frmhb2HJ+vxDRvrWmus=; b=eEtBzzKv/8UOFwY8n0IAt/MfzDgOYbZ/zZTHttBvRrFOkpbpGOFOeNr9utQN89D8KHF/RJ RjNB591OxjmOv7ClymgPAv20eJA1YeUiH9nT6FA2vSEoMuDkgVLax+7t5U5+ckUB6YS/Dn cHK30aP1bcMyai27YhBlS118W0x8xkJQfEwBPQlmOQIQnUl6Gv4Q6IeaD43/CS0yv+jdEf Uc0W78Hr4h6ixH55/87J3rOcmzdvsYWoVnU5zh27rRC1+AhPLE0QPfTT7EUTeo4LE11Urq XUuzibIouALRQJXXJ3raH/v9gXS/viFD2wNZ7qrkh8KAucjsotatqNx5jqErqg== Date: Fri, 02 Feb 2024 04:35:13 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: joseph@ushin.org Message-ID: TLS-Required: No Subject: Re: Should org-link-parser add type "file" when link has no "file:" prefix? To: "Ihor Radchenko" Cc: emacs-orgmode@gnu.org, "Adam Porter" In-Reply-To: <87v878gypt.fsf@localhost> References: <87o7e9ei3p.fsf@ushin.org> <87wmsx3vyc.fsf@localhost> <87a5pro14q.fsf@ushin.org> <87le9a76mk.fsf@localhost> <87wmss1r51.fsf@ushin.org> <87ttnvan3m.fsf@localhost> <87v87v0zno.fsf@ushin.org> <87le8pl7lw.fsf@localhost> <87mst5f1o9.fsf@ushin.org> <87ttnchzi2.fsf@localhost> <87v878gypt.fsf@localhost> Received-SPF: pass client-ip=2001:41d0:203:375::bd; envelope-from=joseph@ushin.org; helo=out-189.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.26 X-Migadu-Queue-Id: 6A87678377 X-Migadu-Spam-Score: -4.26 X-TUID: KskSh/gwgza0 February 1, 2024 at 4:23 AM, "Ihor Radchenko" wrote= : >=20 >=20joseph@ushin.org writes: >=20 >=20>=20 >=20> >=20 >=20> > > > What we can do then is pass an extra argument to :follow func= tion - the > > >=20 >=20> > > > link object. That way, :follow function can get all the info= rmation it > > >=20 >=20> > > > needs. > > >=20 >=20> > > >=20 >=20> >=20 >=20> > >=20 >=20> >=20 >=20> > > I like this idea! Would this change break existing :follow fun= ctions > > >=20 >=20> > > which only expect max two args? > > >=20 >=20> > >=20 >=20> >=20 >=20> >=20=20 >=20> >=20 >=20> > No. We can preserve backwards-compatibility by checking :follow = function > > >=20 >=20> > arity and only passing the extra argument with the :follow funct= ion > > >=20 >=20> > supports that many arguments. > > >=20 >=20>=20 >=20> Good to know. If the goals of hyperdrive.el can be accomplished wi= thout adding complexity to Org mode, it may be best to avoid avoid adding= another argument to :follow functions. WDYT? > >=20 >=20 > I did not make any changes to Org mode. And I will not, unless we need >=20 >=20to pass this extra information to :follow functions. Thank you! I think we can close this issue. Can I close the issue mysel= f? > --=20 >=20 > Ihor Radchenko // yantar92, >=20 >=20Org mode contributor, >=20 >=20Learn more about Org mode at https://orgmode.o= rg/%3E . >=20 >=20Support Org development at , https://= liberapay.com/org-mode%3E,=20 >=20 > or support my work at https://liberapa= y.com/yantar92%3E >