emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: John Borwick <borwick@uw.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-agenda fails when a scheduled/deadline date is in the past [9.1.9 (release_9.1.9-65-g5e4542 @ /Users/borwick/.emacs.d/elpa/org-plus-contrib-20190218/)]
Date: Tue, 19 Feb 2019 21:39:21 +0100	[thread overview]
Message-ID: <878sybtsw6.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <AEF95D43-C211-4D31-AD64-28AC2253636B@uw.edu> (John Borwick's message of "Tue, 19 Feb 2019 19:13:08 +0000")

Hello,

John Borwick <borwick@uw.edu> writes:

> If I execute in *scratch*
>
>     (org-agenda-get-day-entries "~/Dropbox/org/main-todo.org" '(2 18 2019) :deadline :scheduled :timestamp :sexp)
>
> and main-todo.org contains this entry:
>
>     *** TODO Medium priority inboxes                               :@work_online:
>         SCHEDULED: <2019-02-18 Mon>
>
> (where 2019-02-18 is yesterday), I get the error "Wrong number of
> arguments: (0 . 0), 2".
>
> If I change the SCHEDULED date to today:
>
>     *** TODO Medium priority inboxes                               :@work_online:
>         SCHEDULED: <2019-02-19 Tue>
>
> and execute the same org-agenda-get-day-entries statement, I do not get
> this error.
>
> It appears to me that there is some issue with scheduled and deadline
> dates that are in the past?
>
>
> I found this after finding that =C-c a a= was erroring out with the same “Wrong number of arguments: (0 . 0), 2”. Here is the backtrace from trying to show my agenda:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 2)
>   org-get-tags(nil nil)

Could you use latest Org release and try again. It might have been fixed
in the meantime.

Thank you!

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2019-02-19 20:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 19:13 Bug: org-agenda fails when a scheduled/deadline date is in the past [9.1.9 (release_9.1.9-65-g5e4542 @ /Users/borwick/.emacs.d/elpa/org-plus-contrib-20190218/)] John Borwick
2019-02-19 19:31 ` John Borwick
2019-02-19 20:39 ` Nicolas Goaziou [this message]

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=878sybtsw6.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=borwick@uw.edu \
    --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).