Eric S Fraga <e.fr...@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