简体   繁体   English

emacs组织模式,无法设置自定义TODO序列

[英]emacs org-mode, can't set custom TODO sequence

I want to define a custom sequence for the TODO feature of org-mode. 我想为组织模式的TODO功能定义一个自定义序列。

So I added this to the very top of the file (first column): 所以我将其添加到文件的最顶部(第一列):

#+SEQ_TODO: TODO TEST DONE

Finally, when I pressed Cc Ct , the sequence wasnt appearing, it was just the normal TODO-->Done--->blank sequence. 最后,当我按Cc Ct ,该序列没有出现,它只是正常的TODO-->Done--->blank序列。

Why wasn't my custom sequence used? 为什么不使用我的自定义序列?

My org-agenda-files is set to: 我的org-agenda-files设置为:

(setq org-agenda-files '("~/Documents/org"))

Further tries: 进一步尝试:

  1. I tried to run Cc \\ , this gave my the "Match:" prompt at the bottom, but didn't return any matched results. 我尝试运行Cc \\ ,这在底部显示了“ Match:”提示,但未返回任何匹配结果。

    Cc \\ runs the command org-match-sparse-tree, which is an interactive compiled Lisp function in org.el'.

    I have a feeiling that Cc \\ not returning any matches might indicate some underlying problem. 我感到Cc \\不返回任何匹配项可能表明存在一些潜在的问题。 A problem that might cause the "sequence instruction" on top not to be parsed? 可能导致顶部的“顺序指令”无法解析的问题?

  2. Then I run Cc [ which is mapped to: 然后我运行Cc [映射到:

    Cc [ runs the command org-agenda-file-to-front, which is an interactive compiled Lisp function in org.el'.

    This re-parses the .org file. 这将重新解析.org文件。 Didn't change anything. 没有任何改变。

So again, how can I defined a custom TODO-sequence? 再说一次,如何定义自定义的TODO序列?

And also as a secondary question, why isn't Cc \\ working? 还有一个次要问题,为什么Cc \\不起作用?

I can run Cc a , which is agenda-mode, from which I can do what Cc \\ does, but I'm curious to know. 我可以运行Cc a ,这是一种议程模式,可以从中执行Cc \\工作,但是我很想知道。

Thanks in advance for your time and kind concern. 在此先感谢您的时间和关注。

Jenia 杰尼亚

这可能太明显了,无需#+SEQ_TODO ,但是您是否尝试过在#+SEQ_TODO行上的点进行Cc Cc

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM