I have set agenda files to refile captures, which codes show as below

(setq org-agenda-files (list "~/org/))

Also, include refile codes

(setq org-refile-targets '((nil :maxlevel . 2) (org-agenda-files :maxlevel . 2)))

(setq org-outline-path-complete-in-steps nil)

(setq org-refile-use-outline-path 'file)

The main problem is I can not find files I set in the org-agenda-files when I want to refile my capture in completions

    • CatUnderOak@alien.top
      cake
      OPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks a lot, but it’s not the reason. I have located the point to solve the problem, which is I didn’t set org-agenda-files in original init.el (I have another extral init.el for convenience)