From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WGxYOO9692VrZQAAqHPOHw:P1 (envelope-from ) for ; Mon, 18 Mar 2024 00:21:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WGxYOO9692VrZQAAqHPOHw (envelope-from ) for ; Mon, 18 Mar 2024 00:21:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ricklupton.name header.s=fm1 header.b="t 3EI1AK"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=vH3NrZIm; 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=ricklupton.name ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710717679; 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=WKDP+OAOS0s/ZpJ/fQWxiurXAgEIlZJo5UtD2XXq+rU=; b=GIlxiowWboSgR66aCWb0fq/FPVUmaGxd4Y2LNwNHAIZo6uULxYkGk0kK9h8XhWn3XnsFeC mEDw0xBKU7OPzjx38C4yiBjk0aj6pRSL2E3KcVLLSm9Zp/IFFY1z5JIKn2+fO1ccMRFobg BzOY3m5eSYMU+Q8rrbFqjJOZk3v8DUA2vuu6ovdHDqdxHFqCdYjjTOWEslm4SGpwUoonMA L0RlYGjYHC2KCB3VC0FIbP1yLAN2T0It+wfPQWPjy7OfcWKEi9wf0BiLPvHk6fPHTHneX7 zBvwbx5ImZ9aTbb8OwAdMZPWNhhqAcL+jRvpcNLcedRQqXa8ZvneDBkgP6JDFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710717679; a=rsa-sha256; cv=none; b=qnJiqcCMEHy+OOl6ievuWvbRZqvA97Yxp6n6K059cUAU2bJkf76+pRIbKKvwrF/z2SrUt8 9Erk3B2zphT3p+kQBcijRvNyMguseORNmjM8UxjiwLc4St3v/5hVPJqzqnufr2Zl0eh6aB f5Jtc0Oh1h/JLL6FH329LsoSSl5kLzQpOwWDw+V5JgmsOchYwMm0t0wT/SdDx/SnIVlK2e HWlaA8MosKL1RXg5uqTVGGZrYb5IYi10sfUiAhbUZYUeWMmPRymYEuFZVlh4ppHL0HFdlM D9h5UWEG37PUa3nyjngq+G2u+9dQGb9/aO4BIzsle+QOUg2XaFuHwDEFgnxXTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ricklupton.name header.s=fm1 header.b="t 3EI1AK"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=vH3NrZIm; 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=ricklupton.name 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 E7EF05FC5D for ; Mon, 18 Mar 2024 00:21:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlzPW-0006Q9-5L; Sun, 17 Mar 2024 18:55:22 -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 1rlzPU-0006Py-Bh for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 18:55:20 -0400 Received: from fout3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlzPS-0003ZF-FQ for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 18:55:19 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 5784B13800E9; Sun, 17 Mar 2024 18:55:14 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute2.internal (MEProxy); Sun, 17 Mar 2024 18:55:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ricklupton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1710716114; x= 1710802514; bh=WKDP+OAOS0s/ZpJ/fQWxiurXAgEIlZJo5UtD2XXq+rU=; b=t 3EI1AK5JbDPuv8FxwtyUMitZp/oze3N1xw+gTLBE4PgPJI2zy4yU8/W1z/4tW/n5 B1Jc/o4US/6k6JTYA/FFxkX/pvSVGcWs+ntoUodoMKHfUcCIbOH4tMMg/ziJEwlB uOmmzO6g8uI7qeQQ2ykC8fut+hqBITjHHMk7a0KiOQ2UXCVx3uaRBBJ/iOG/AiwK N1pK+9qb9Ztvc9ZE5o45Nif/SEFpARfiuDQA0kOb/lf37YIITLtEhVb1q84VnQYJ Qjkm7LFSUjcNJz3dijWu/L3qozPUfSBvEtcPdp23YQxl4p0YQMDraR2Z4ewnvYeQ /g5RwMd7BhSTYbrDCqQWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1710716114; x=1710802514; bh=WKDP+OAOS0s/ZpJ/fQWxiurXAgEI lZJo5UtD2XXq+rU=; b=vH3NrZIm/XdpZCmo9S+a9TVSVq9RfufCHlnsgo1VlzK9 Boz0FxbJ+8R4KNL7n1Wq556M9ojIAxzLI7g/jsS56dqX4k96DEwKT1dDxrYcYeDa EM9O+UbExry6fSV7OqiE+QqVAV1jPnxUT/MIfqSYxZpqC/m6SbeRir/mkkujZeDj VZg6k9dnTxrVuh31pFiPz+ll/TYwjqSkNo9Ijw3ni9f4o3sYGQvQBzkUWsH1jGtI CctduXeWJZVXkkvW2EY+47NHPJEdoxuOcvsaPw+WTG7vdTx4I3SMyVMzxsIbs/Jv qwHqU+Rzi6wxy4S/8P2e1zas4ixuatuHbsGEyvu45A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrkeeigddthecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvfevufgtsehttd ertderredtnecuhfhrohhmpedftfhitghkucfnuhhpthhonhdfuceomhgrihhlsehrihgt khhluhhpthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeffvefhhfdvueeuueeute eugfffjeefgeelteejvdeiueetffejffekjeevhefgieenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilhesrhhitghklhhuphhtohhnrd hnrghmvg X-ME-Proxy: Feedback-ID: i0143436f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E3CAD1700093; Sun, 17 Mar 2024 18:55:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-300-gdee1775a43-fm-20240315.001-gdee1775a MIME-Version: 1.0 Message-Id: <253384f1-503f-4417-a060-74aac5b97090@app.fastmail.com> In-Reply-To: <87le6hyxf1.fsf@localhost> References: <715e7a79-2107-4c61-8b7c-26b68e680451@app.fastmail.com> <87zfv2wbyq.fsf@localhost> <87le6hyxf1.fsf@localhost> Date: Sun, 17 Mar 2024 22:54:53 +0000 From: "Rick Lupton" To: "Ihor Radchenko" Cc: "Y. E." Subject: Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.146; envelope-from=mail@ricklupton.name; helo=fout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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-Spam-Score: -7.73 X-Spam-Score: -7.73 X-Migadu-Queue-Id: E7EF05FC5D X-Migadu-Scanner: mx11.migadu.com X-TUID: PyOLhkF/6JZr Thanks, I hadn't understood the significance of named functions vs variables for advice. But now I realise this is not solving the same problem as the original patch. The point is that I was thinking org-roam should advise/modify/hook the specific function `org-id-find' [to find ids in its database] but NOT the more general `(org-link-get-parameter "id" :follow)' [because `org-id-open' has a lot of extra logic for search-strings, backwards compatibility, where to open the new location, which it would not be reasonable to duplicate]. Is there a way to do this using the approach you are suggesting?