kiwanami / emacs-calfw

A calendar framework for Emacs
1.16k stars 100 forks source link

Not showing deadline items #156

Open AtomicNess123 opened 1 year ago

AtomicNess123 commented 1 year ago

DEADLINES items are not displayed for some reason. My setting is: (setq cfw:org-agenda-schedule-args '(:timestamp))

Any help, thanks!

ml729 commented 1 year ago

calfw uses org-agenda-get-day-entries to get entries from org-agenda. It is a bit confusing, but it appears that with just :timestamp both deadline and scheduled entries are not collected, it will collect entries with just a timestamp, like the third entry below:

* entries
** test
    DEADLINE: <2023-03-03 Fri>
** test 2
    SCHEDULED: <2023-03-03 Fri>
** test 3
    <2023-03-03 Fri>

You need to add :deadline (and :scheduled if you want that as well) to your list in cfw:org-agenda-schedule-args in order for deadline entries to be included.