Michaël Cadilhac <mich...@cadilhac.name> writes: > Here's the ECM. > > init.el: > (require 'org) > (setq org-refile-use-outline-path (quote file)) > > Now open an Org file, say foo.org, and type C-u C-c C-w foo.org/ RET > At org.el:11832, pos is nil.
Confirmed here with Org 9.0.5. I think it's from org-refile-check-position: (pos (nth 3 refile-pointer)) causes the error because the refile-pointer doesn't have a position set, because you selected the top-level, file-only completion without a heading.