从一个文件转换到其他文件 [英] Refile from one file to other

查看:184
本文介绍了从一个文件转换到其他文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在基于 http://members.optusnet.com的emacs中实现GTD .au /〜charles57 / GTD / gtd_workflow.html ,我有一个重新编译的问题。

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.

在文件.emacs中我有这样的配置



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))))

序列Cc Cw只能选择当前文件的位置:

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


  • gtd.org /

  • gtd.org/tasks

  • gtd.org/projects

请帮助确定为什么我不搬到do.org

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

Regards
Krzysiek

Regards Krzysiek

推荐答案

这是您的代码的修复:

(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)))

org-refile-targets 的第一个元素决定标题级别在当前文件中考虑
,第二个元素 - 在其他议程文件中。

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

这篇关于从一个文件转换到其他文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆