我有一项任务,需要在第二天的截止日期前完成。所以如果我在我的.org文件中写这样的东西:
** TODO Daily report
DEADLINE: <2012-07-27 Fri +1d>
SCHEDULED: <2012-07-26 Thu +1d>
这会产生相当令人讨厌的议程,每天有两行,文字相同&#34;每日报道&#34;:
Friday 27 July 2012
Work: Scheduled: TODO Daily report
Work: Deadline: TODO Daily report
我想要的是能够在&#34;每日报告&#34;之后看到日期。添加日期的文本,该行对应于哪一天。例如:
Friday 27 July 2012
Work: Scheduled: TODO Daily report for 27 July 2012
Work: Deadline: TODO Daily report for 26 July 2012
有可能吗?
答案 0 :(得分:5)
您可以将以下内容添加到〜/ .emacs以避免冗余:
(setq org-agenda-skip-scheduled-if-deadline-is-shown t)
从此变量的文档:
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.
如果您希望保留预定的行而不是截止日期行,则更新版本的组织模式也允许以下设置:
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
来自文档:
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.
答案 1 :(得分:3)
不,这是不可能的。
我只是使用SCHEDULED
,而不是DEADLINE
,因为SCHEDULED
隐含地表示“今天在一天内完成”,因此DEADLINE
Cookie会引入冗余你观察。