emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-refile and ivy
Date: Fri, 22 Jan 2021 23:53:07 +0530	[thread overview]
Message-ID: <m2im7okfby.fsf@codeisgreat.org> (raw)
In-Reply-To: <87h7n9rmxs.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 22 Jan 2021 15:49:51 +0000")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I have been trying to get to grips with org-refile.  For some reason,
> the completion mechanism (I use ivy generally but I have no idea what
> org-refile actually tries to do/use) only shows me the current file name
> if I have org-refile-targets set to nil.  It doesn't show any top level
> headlines to choose from which is what I would expect from the
> documentation.  Hitting RET to select the completion target given (file
> name only) refiles to the end of the file which is not what I want.

I use the built-in completion framework. And if the org-refile-targets
is nil, it shows me the top level headings from the same file in the
*Completions* buffer when I press TAB.

So, in your case, it looks like an Ivy issue.

> This is with org updated fairly recently but not quite up to
> date.  However, I've had this problem for a long time and don't use
> org-refile as a result.

My org-version is 9.4.4

  parent reply	other threads:[~2021-01-22 18:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 15:49 org-refile and ivy Eric S Fraga
2021-01-22 17:37 ` Gustavo Barros
2021-01-22 19:24   ` Tim Cross
2021-01-25  8:40   ` Eric S Fraga
2021-01-25 12:12     ` Pankaj Jangid
2021-01-22 18:23 ` Pankaj Jangid [this message]
2021-01-25  8:29 ` Loris Bennett

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=m2im7okfby.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).