From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Problem with agenda and diary Date: Thu, 17 Mar 2011 14:48:07 +0100 Message-ID: <8762rhg8o8.fsf@member.fsf.org> References: <87sjul50xb.fsf@rochester.rr.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54351 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0DZF-0007lu-Th for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 09:48:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0DYx-0000Bk-Ph for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 09:48:28 -0400 Received: from lo.gmane.org ([80.91.229.12]:40718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0DYx-0000BS-FJ for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 09:48:27 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0DYu-0006sp-Uj for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 14:48:24 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 14:48:24 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 14:48:24 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dan Griswold 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