From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: agenda start date Date: Tue, 28 Jun 2016 21:35:57 +0200 Message-ID: <87inwtxg0y.fsf@saiph.selenimh> References: <844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHynm-0003SQ-Ts for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 15:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHynl-0004O9-T7 for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 15:36:06 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHynl-0004NP-Mh for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 15:36:05 -0400 In-Reply-To: <844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com> (Francis J. Monari's message of "Thu, 23 Jun 2016 20:52:51 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Francis J. Monari, Esquire" Cc: emacs-orgmode@gnu.org Hello, "Francis J. Monari, Esquire" 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 @") (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