Emacs 标题中的组织模式任务日期-可能吗?

Emacs 标题中的组织模式任务日期-可能吗?,emacs,org-mode,Emacs,Org Mode,我有一项任务,每天都要完成,第二天是最后期限。因此,如果我在我的.org文件中写下如下内容: ** TODO Daily report DEADLINE: <2012-07-27 Fri +1d> SCHEDULED: <2012-07-26 Thu +1d> 我想要的是能够看到“Daily report”文本之后的日期,并添加该行对应的日期。例如: Friday 27 July 2012 Work: Scheduled: TODO Daily

我有一项任务,每天都要完成,第二天是最后期限。因此,如果我在我的.org文件中写下如下内容:

** TODO Daily report
DEADLINE: <2012-07-27 Fri +1d> 
SCHEDULED: <2012-07-26 Thu +1d>
我想要的是能够看到“Daily report”文本之后的日期,并添加该行对应的日期。例如:

Friday     27 July 2012
Work:       Scheduled:  TODO Daily report for 27 July 2012
Work:       Deadline:   TODO Daily report for 26 July 2012

可能吗?

不,不可能


我只是简单地使用
计划的
,而不是
截止日期
,因为
计划的
在这里隐含着“今天就做”的意思,所以
截止日期
cookie引入了您观察到的冗余。

您可以将以下内容添加到~/.emac中以避免冗余:

(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.

嗯。组织模式的默认设置显示截止日期为“一维:TODO日报”,这与计划行有很好的区别。在您的机器上组织日程截止日期领导者的价值是什么?
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.