组织模式捕获模板

时间:2015-02-09 18:46:38

标签: emacs org-mode

我想知道如何在org-template中使用注释%A。

 %a          Annotation, normally the link created with org-store-link.
 %A          Like %a, but prompt for the description part.

我能够使用%A但是得到了以下内容:

** TODO 
  To improve
  [[file:~/Documents/python/python/xml2csv.py::print%20elem.text,%20use.text][%^{Link description}]]

所以我得到一个链接描述作为提示,但我不知道如何修改提示。 链接说明。我想知道什么应该提示描述部分?

相比之下,常规提示指定提示用户

 %^{prop}p   Prompt the user for a value for property prop.

1 个答案:

答案 0 :(得分:0)

您可以使用以下内容:

("r" "Meeting Schedule" entry 
      (file+headline "~/org/your-file.org" "HEADING") 
      "* TODO Meeting - %? 
       %i
       Room: %^{Place}
       Subject of the Meeting: %^{Subject}
       Who will Atend: %^{Atendees}

 %a ")

我已经混合了许多用途,但是如果你想要一些字符串来提示你,你可以像%^{Place}A一样使用它(它会提示你输入Place,并使用注释规则。< / p>

干杯,

相关问题