Dan Griswold <[email protected]> writes:
Hi Dan,
> As of today, there's a problem with org-agenda-list when
> org-agenda-include-diary is set to t. I get this error:
> mapcar: Wrong type argument: integerp, nil
Yes, I can confirm that. Here's parts of the backtrace:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument integerp nil)
org-agenda-highlight-todo(#(" Diary: St. Patrick's Day" 0 2
(org-category "diary" tags nil org-highest-priority 65 org-lowest-priority 67
time-of-day nil duration nil effort nil effort-minutes nil txt #("St. Patrick's
Day" 0 17 (fontified nil org-heading t)) time "" extra "" dotime time fontified
nil org-heading t type "diary" date (3 17 2011) face org-todo) 2 14
(org-category "diary" tags nil org-highest-priority 65 org-lowest-priority 67
time-of-day nil duration nil effort nil effort-minutes nil txt #("St. Patrick's
Day" 0 17 (fontified nil org-heading t)) time "" extra "" dotime time fontified
nil org-heading t type "diary" date (3 17 2011) face org-agenda-diary) 14 31
(org-heading t fontified nil org-category "diary" tags nil org-highest-priority
65 org-lowest-priority 67 time-of-day nil duration nil effort nil
effort-minutes nil txt #("St. Patrick's Day" 0 17 (fontified nil org-heading
t)) time "" extra "" dotime time type "diary" date (3 17 2011) face
org-agenda-diary)))
[...]
org-agenda-list(nil)
call-interactively(org-agenda-list)
byte-code("\306\307 \232\203
--8<---------------cut here---------------end--------------->8---
> I have confirmed that the error occurs with only one item in the diary
> file, such as this one:
>
> Mar 18, 2011 8:00 planning
It also occurs with an totally empty diary file like mine.
My settings are as follows.
,----[ C-h v org-agenda-diary-file RET ]
| org-agenda-diary-file is a variable defined in `org.el'.
| Its value is diary-file
`----
,----[ C-h v diary-file RET ]
| diary-file is a variable defined in `calendar.el'.
| Its value is "~/.emacs.d/diary"
| Original value was "~/diary"
`----
Hm, the entry it errors with seems to come from the St. Patrick's Day
entry in `calendar-holidays'...
Bye,
Tassilo