emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Francis J. Monari, Esquire" <monarifj.esq@juno.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda start date
Date: Tue, 28 Jun 2016 21:35:57 +0200	[thread overview]
Message-ID: <87inwtxg0y.fsf@saiph.selenimh> (raw)
In-Reply-To: <844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com> (Francis J. Monari's message of "Thu, 23 Jun 2016 20:52:51 -0400")

Hello,

"Francis J. Monari, Esquire" <monarifj.esq@juno.com> writes:

> # error shown is: Wrong type argument:  sequencep, t
> # commenting out the following lines seems to make part of the agenda work.
> # (org-agenda-span 'month)
> # (org-agenda-start-day (org-read-date nil nil "-01m 01d")) ;trying to start at the first of the prior month
> # problems seem to occur around the end of the month.
> # 07 works
> # 14 works
> # 21 works
> # 22 works
> # 27 works
> # 28 does not work
> # 31 does not work
> # if I substitute
> # (org-agenda-start-day (org-read-date "01")) for
> # (org-agenda-start-day (org-read-date nil nil "-01m 01d"))
> # then the agenda works
> # if I just remove the org-agenda-start-day, then the agenda fails
> # org-mobile-push work, however, I would like to automate the selection of the first day of the current month.

I am a bit puzzled.

I can reproduce the error even when commenting out the expressions
mentioned. I can also reproduce the error when substituting parameters,
as you suggest, in `org-read-date'.

It looks like the problem comes from "diary-lib.el". For example,
evaluating the following sexp

  (let ((entry "14:30 @<description>")
        (date '(6 22 2016)))
    (diary-remind
     '(and (diary-float t 3 -1) (not (or (diary-date 2016 6 29))))
     '(-7)
     nil))

returns the very same error you're experiencing, even though Org is not
involved at all.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-06-28 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24  0:52 agenda start date Francis J. Monari, Esquire
2016-06-28 19:35 ` 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=87inwtxg0y.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=monarifj.esq@juno.com \
    /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).