From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qJarJAzCFGDSHwAA0tVLHw (envelope-from ) for ; Sat, 30 Jan 2021 02:18:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gCtSIAzCFGBhIwAAbx9fmQ (envelope-from ) for ; Sat, 30 Jan 2021 02:18:52 +0000 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 E2C4894029C for ; Sat, 30 Jan 2021 02:18:51 +0000 (UTC) Received: from localhost ([::1]:51236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5fqb-0000vt-PE for larch@yhetil.org; Fri, 29 Jan 2021 21:18:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5fq1-0000vi-1w for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 21:18:13 -0500 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:37654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5fpz-00087E-GA for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 21:18:12 -0500 Received: by mail-lf1-x136.google.com with SMTP id i187so15136825lfd.4 for ; Fri, 29 Jan 2021 18:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=td8GNwTubbo3fMs5BGxnFHx+/CcDjqYNSiL6t97+sfc=; b=p8UNH0T24D5Ljc8VBR9RQUyERbos8ZF66QvHt+h0L03z7uIfY7S+Ur748QMhXvPr53 5C4ycVXvwpcBgG+J9okVzSpC7FdWCaePz2nEpRTEkpopt6sCjqRHaj7Jf0BZkbNTC/F1 ddRAFkI9H1sekju6EvxMYHqyHJ0Q+gE7F3+Q5Z329ZYKICBLeBfBxp08nhXcNxPrUYro vdqXcFyAgvFu7vsL8WTzFBHznRzwNQwVQVsVKj8VJSbNvXUfuOQmsMw2AFDVEzqNIfiY OsWBzYADKxFrv8gznGM78At4echETtDL386htgbcHYK4CH8Iz6dm5Rs6eOa7g2bI5E41 NWhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=td8GNwTubbo3fMs5BGxnFHx+/CcDjqYNSiL6t97+sfc=; b=dRj+jPFzJ+2QtZejK7KiCVpLlUmM5jJAYJs2d3a8au0BSclaPQA36IjOlzM1FrLQEw XfRFy8hyzl+wQ4+TGpCo+XaWApIczx52McUxnfm7pxYvggByg72cx+jjKMnoJeolmoWu Jmngkq+KBrvHlsvYxHFDUxsthpy8eJzjkmjEOmkCCL1Lw3hO7elkvuM7X7eBDVn54D+a fIm3t0bzONN3dcZNTx/JytyDaFQ9SA/lazQlUkxREp4vNjZUOSAze8+Csr9zOUdXXcX5 2I/iFook6M9d1+ede0eRUsXvbYvpBK09pXlgPCYtT1cK5bY814uj1UlX8UsYIRr2+l2T EqcQ== X-Gm-Message-State: AOAM5322gHJiIc9TMbic28DRPJnHkbOFYG1HICLMzX6Nmt7C8ijhDJWr MISf6S5v6PPikuqeudNRpQlvFXzxV2HYWx1Fd7rEnypLlI/52w== X-Google-Smtp-Source: ABdhPJylFf9ppr/oGgjc3Xjr+WcT8088ASGqBSiMRYBCoAEVcOU8ta7NvT5NgNcWF4YEtb3XAw8xWZWBBIYYlobUT6A= X-Received: by 2002:a05:6512:3094:: with SMTP id z20mr3629548lfd.441.1611973089265; Fri, 29 Jan 2021 18:18:09 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:5789:0:0:0:0:0 with HTTP; Fri, 29 Jan 2021 18:18:08 -0800 (PST) In-Reply-To: References: From: Samuel Wales Date: Fri, 29 Jan 2021 19:18:08 -0700 Message-ID: Subject: Re: Refile Targets Custom Function Support To: Kevin Foley Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=samologist@gmail.com; helo=mail-lf1-x136.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=p8UNH0T2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E2C4894029C X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: dHe5D/QswJ7V alpha-org-refile-target-verify-function is all i know of. On 1/29/21, Kevin Foley wrote: > I'd like to use an `org-ql' query in order to get eligible targets when > calling `org-refile'. > > It doesn't seem `org-refile-targets' supports something like passing a > function that returns the desired targets. Is it possible through some > other means? > > If not, would a patch to `org-refile-get-targets' controlled by a new > type in `org-refile-targets' be welcome? > > Thanks, > Kevin Foley > > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html