如何在Emacs组织模式下插入日期和时间的日程表 [英] How to insert schedule with date and time in Emacs org-mode

查看:169
本文介绍了如何在Emacs组织模式下插入日期和时间的日程表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Emacs org-mode 中插入带有 Cc Cs 的日程表时,它总是插入一个这样的日期:

  * TODO写产品文件
SCHEDULED:< 2013-10-25 Fri>

而我想要的是:

  * TODO写产品文件
SCHEDULED:< 2013-10-25 Fri 11:34>

现在我手动进行:首先插入一个日程表,然后删除日期,然后插入一个时间戳日期和时间使用 Cu Cc。



如何使用日期

解决方案

>当您在提示时被要求提供日期时,您也可以输入时间。
例如如果我在提示下说+ 2d 1pm,我会得到

SCHEDULED:< 2013-10-25 ven。 13:00>

在缓冲区。有关提示的更多信息,请参阅信息页(info(org)日期/时间提示符)


When I insert a schedule with C-c C-s in Emacs org-mode, it always inserts a date like this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri>

while what I want is this:

* TODO write product documents
  SCHEDULED: <2013-10-25 Fri 11:34> 

Now I do this manually: firstly insert a schedule, then delete the date, then insert a timestamp with date and time using C-u C-c ..

How can I insert a schedule with date and time only using C-c C-s?

Thanks.

解决方案

When you're being asked for a date at the prompt, you can also enter a time. e.g. if I say "+2d 1pm" at the prompt, I get SCHEDULED: <2013-10-25 ven. 13:00> in the buffer. See Info page (info "(org) The date/time prompt") for more info about the prompt.

这篇关于如何在Emacs组织模式下插入日期和时间的日程表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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