emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <leo@relevant-information.com>
To: Kevin Foley <kevin@kevinjfoley.me>, emacs-orgmode@gnu.org
Subject: Re: Refile Targets Custom Function Support
Date: Sat, 30 Jan 2021 12:11:03 +0100	[thread overview]
Message-ID: <87zh0q3cjc.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <m2v9bfw5km.fsf@ip-192-168-50-252.ec2.internal>

Kevin Foley <kevin@kevinjfoley.me> writes:

> I'd like to use an `org-ql' query in order to get eligible targets when
> calling `org-refile'.
I actually also wanted to do that a couple of weeks ago. I ended up
using org-ql and completing-read to select a target. The last optional
argument to org-refile lets you specify a location to refile to.

I have shared this code in my dotfiles:
. Keep in mind that it depends on dash.el too. I also discussed this in
an issue in org-ql: https://github.com/alphapapa/org-ql/issues/177

      parent reply	other threads:[~2021-01-30 11:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30  1:56 Kevin Foley
2021-01-30  2:18 ` Samuel Wales
2021-01-30  2:18   ` Samuel Wales
2021-01-30 11:11 ` Leo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh0q3cjc.fsf@leo-B85-HD3.i-did-not-set--mail-host-address--so-tickle-me \
    --to=leo@relevant-information.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kevin@kevinjfoley.me \
    --subject='Re: Refile Targets Custom Function Support' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).