简体   繁体   English

没有位置和日期的组织模式捕获

[英]Org-mode capture without location and date

I would like to customize my org-mode capture so that the output in my notes.org file will be in the simpler form: 我想自定义组织模式捕获,以便notes.org文件中的输出将采用更简单的形式:

* TODO WhatIwanttodo

without anything else. 没有别的。 At the moment I get something like this: 此刻我得到这样的东西:

* TODO Make a new post in the blog explaining how u can put TODO in org mode using the android app by IFTTT  [2015-03-14 Sat 09:21 [[file:~/Dropbox/org/dailywork.org::*ES][TODOES]]

Here are two variations: 这是两个变体:

The first one adds a todo to a file under header TODO-HEADER. 第一个将待办事项添加到标题TODO-HEADER下的文件中。 The second simply appends it to the end of file. 第二个只是将其附加到文件末尾。

 (setq org-capture-templates
      '(
        ("s" "Simple" entry (file+headline "my-org-todo-file" "TODO-HEADER")
         "* TODO %?")
        ("x" "Very Simple" entry (file "my-org-todo-file")
         "* TODO %?")
         ))

Template can be very powerful. 模板可以非常强大。 I recommend you read 我建议你读

http://orgmode.org/manual/Capture-templates.html#Capture-templates http://orgmode.org/manual/Capture-templates.html#Capture-templates

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

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