2

翌日に締め切りがあり、毎日実行する必要があるタスクがあります。したがって、.org ファイルに次のように記述した場合:

** TODO Daily report
DEADLINE: <2012-07-27 Fri +1d> 
SCHEDULED: <2012-07-26 Thu +1d>

これは、同じテキスト「Daily report」で毎日 2 行のかなり厄介なアジェンダを生成します。

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

私が欲しいのは、「日報」テキストの後に日付を追加して、その行が対応する日付を表示できるようにすることです。例えば:

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

出来ますか?

4

2 に答える 2

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.

より最近のバージョンの org-mode では、締め切りラインの代わりにスケジュールされたラインを維持したい場合、次の設定も可能です。

(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.
于 2012-07-26T17:18:11.737 に答える
3

いいえ、できません。

ここでは、暗黙的に「今日一日でそれを行う」ことを意味するためSCHEDULED、 ではなくを使用するだけなので、 Cookie は観察した冗長性を導入します。DEADLINESCHEDULEDDEADLINE

于 2012-07-25T07:33:01.343 に答える