From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id dHjgAXe9FGBseQAA0tVLHw (envelope-from ) for ; Sat, 30 Jan 2021 01:59:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OD27OHa9FGC7bgAAB5/wlQ (envelope-from ) for ; Sat, 30 Jan 2021 01:59:18 +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 8176894029C for ; Sat, 30 Jan 2021 01:59:18 +0000 (UTC) Received: from localhost ([::1]:56178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5fXf-0006za-RN for larch@yhetil.org; Fri, 29 Jan 2021 20:59:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5fVB-0004JW-CQ for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 20:56:41 -0500 Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:65320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1l5fV9-0001CX-Ov for emacs-orgmode@gnu.org; Fri, 29 Jan 2021 20:56:41 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4DSHPZ0X9LzQlZr for ; Sat, 30 Jan 2021 02:56:34 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id RhyP4yPynKhW for ; Sat, 30 Jan 2021 02:56:31 +0100 (CET) From: Kevin Foley To: emacs-orgmode@gnu.org Subject: Refile Targets Custom Function Support Date: Fri, 29 Jan 2021 20:56:25 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-MBO-SPAM-Probability: X-Rspamd-Score: -4.86 / 15.00 / 15.00 X-Rspamd-Queue-Id: 2134317CC X-Rspamd-UID: 9554d6 Received-SPF: pass client-ip=2001:67c:2050::465:201; envelope-from=kevin@kevinjfoley.me; helo=mout-p-201.mailbox.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 8176894029C X-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: heLShvIuB/Dl 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