Refile from one file to other

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 19:19:11

问题


I'm trying to implement GTD in emacs based on http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.html and I have a problem with refiling.

In the file .emacs I have such a configuration

(setq org-refile-use-outline-path 'file)
'(org-refile-targets (quote (("gtd.org" :maxlevel . 1) ("done.org" :level . 1))))

The sequence Cc Cw can select only the place of the current file:

  • gtd.org/
  • gtd.org/tasks
  • gtd.org/projects

Please help in determining why do not I move to done.org

Regards Krzysiek


回答1:


Here's a fix of your code:

(setq org-refile-targets
      '(("gtd.org" :maxlevel . 1)
        ("done.org" :maxlevel . 1)))

Here's a setup similar to what I use now:

(setq org-agenda-files
      '("gtd.org" "done.org"))

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

This first element of org-refile-targets decides the heading levels to consider within current file, the second element - within other agenda files.



来源:https://stackoverflow.com/questions/22200312/refile-from-one-file-to-other

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!