我有一项任务,需要在第二天的截止日期前完成.所以如果我在我的.org文件中写这样的东西:
** TODO Daily report
DEADLINE: <2012-07-27 Fri +1d>
SCHEDULED: <2012-07-26 Thu +1d>
Run Code Online (Sandbox Code Playgroud)
这会产生相当讨厌的议程,每天有两行,并带有相同的文字"每日报道":
Friday 27 July 2012
Work: Scheduled: TODO Daily report
Work: Deadline: TODO Daily report
Run Code Online (Sandbox Code Playgroud)
我想要的是能够在"每日报告"文本之后看到日期,其中添加了日期,该行对应于哪一天.例如:
Friday 27 July 2012
Work: Scheduled: TODO Daily report for 27 July 2012
Work: Deadline: TODO Daily report for 26 July 2012
Run Code Online (Sandbox Code Playgroud)
可能吗?
小智 5
您可以将以下内容添加到〜/ .emacs以避免冗余:
(setq org-agenda-skip-scheduled-if-deadline-is-shown t)
Run Code Online (Sandbox Code Playgroud)
从此变量的文档:
In the agenda of today, an entry can show up multiple times because
it is both scheduled and has a nearby deadline, and maybe a plain time
stamp as well.
When this variable is t, then only the deadline is shown and the fact that
the entry is scheduled today or was scheduled previously is not shown.
When this variable is nil, the entry will be shown several times. When
the variable is the symbol `not-today', then skip scheduled previously,
but not scheduled today.
Run Code Online (Sandbox Code Playgroud)
如果您希望保留计划行而不是截止日期行,则更新版本的org-mode还允许以下设置:
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
Run Code Online (Sandbox Code Playgroud)
从文档:
This will apply on all days where a prewarning for the deadline would
be shown, but not at the day when the entry is actually due. On that day,
the deadline will be shown anyway.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
278 次 |
| 最近记录: |