emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with agenda and diary
Date: Thu, 17 Mar 2011 14:48:07 +0100	[thread overview]
Message-ID: <8762rhg8o8.fsf@member.fsf.org> (raw)
In-Reply-To: 87sjul50xb.fsf@rochester.rr.com

Dan Griswold <dgriswol@rochester.rr.com> 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

  parent reply	other threads:[~2011-03-17 13:48 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 13:30 Problem with agenda and diary Dan Griswold
2011-03-17 13:39 ` Erik Iverson
2011-03-17 13:48 ` Tassilo Horn [this message]
2011-03-17 14:45   ` Julien Danjou
2011-03-17 15:34     ` Tassilo Horn
2011-03-17 16:46       ` Julien Danjou
2011-03-17 20:28       ` Sébastien Vauban
2011-03-17 22:06         ` Nick Dokos
2011-03-17 23:43           ` Sébastien Vauban
2011-03-18  0:20             ` Nick Dokos
2011-03-18 10:07     ` Bastien
2011-03-17 14:48   ` Dan Griswold
  -- strict thread matches above, loose matches on Subject: below --
2010-12-13 17:29 [PATCH] org: rework property set Julien Danjou
2010-12-13 21:21 ` Bernt Hansen
2010-12-14  9:01   ` Julien Danjou
2010-12-14 10:15     ` Giovanni Ridolfi
2010-12-14 10:30       ` Julien Danjou
2010-12-14 12:28         ` Bernt Hansen
     [not found]         ` <julien@danjou.info>
2010-12-14 14:50           ` Nick Dokos
2011-03-17 17:27           ` Re: Problem with agenda and diary Nick Dokos
2011-03-17 18:18             ` Tassilo Horn
2011-03-17 19:06               ` Dan Griswold
2011-03-17 19:45                 ` Nick Dokos
2011-03-17 20:37                   ` Dan Griswold
2011-03-17 22:01                     ` Nick Dokos
2011-03-17 22:11                     ` Nick Dokos
2011-03-18 10:36                 ` Julien Danjou
2011-03-18 10:36             ` Julien Danjou
2011-03-18 14:04           ` Nick Dokos
2011-03-18 14:14             ` Nick Dokos
2011-03-18 14:56               ` Bernt Hansen
2011-03-18 15:20               ` Bastien
2011-03-18 15:33                 ` Nick Dokos
2011-03-18 16:27                 ` Julien Danjou
2011-03-19 10:20                   ` Bastien
2011-03-19 10:20                   ` Bastien
2011-03-18 14:22             ` Julien Danjou
2011-03-18 14:51               ` Julien Danjou, Nick Dokos
2011-03-18 15:05                 ` Bastien
2010-12-16 13:34         ` Re: [PATCH] org: rework property set Carsten Dominik
2010-12-16 13:45           ` Julien Danjou
2010-12-16 13:55             ` Carsten Dominik
2010-12-16 17:12               ` Julien Danjou
2010-12-17 17:39                 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762rhg8o8.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).