From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Francis J. Monari, Esquire" Subject: agenda start date Date: Thu, 23 Jun 2016 20:52:51 -0400 Message-ID: <844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com> Reply-To: monarifj.esq@juno.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGFqq-00054g-1s for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 21:24:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGFqm-00020h-PU for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 21:24:07 -0400 Received: from outmail149062.authsmtp.com ([62.13.149.62]:19859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGFqm-0001zy-Gv for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 21:24:04 -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: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org Subject: Bug: agenda start day [8.3.4 (8.3.4-88-g792bb9-elpaplus @ c:/USR/FJM/APP/.emacs.d/elpa/org-plus-contrib-20160620/)] From: monarifjmk@verizon.net (F. J. Monari) --text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ After adding the sexps below a previously working custom agenda stopped working what you expected to happen = I expected the agenda to complete for an entire month what in fact did happen. = The agenda stopped at various points during the month comments = Although I included the sexps, they do not appear to be the real problem = The start date of the custom agenda seems to hold the key # #+BEGIN_SRC emacs-lisp %%(diary-remind '(diary-float t 3 -1) '(-07) nil) 14:30 @ %%(and (diary-float t 3 -1) (not (or ; (diary-date 2016 05 25) ; (diary-date 2016 06 29) ; ) ;end-- or ) ;end-- not ) 14:30 @ %%(diary-remind '(and (diary-float t 3 -1) (not (or ; (diary-date 2016 05 25) ; (diary-date 2016 06 29) ; ) ;end-- or ) ;end-- not ) '(-07) nil) 14:30 @ #+END_SRC # first sexp works # second sexp works # third sexp does not work when following custom agenda is run: ("Er" "Esquire review month" ;single block agenda begin ( ;list of agenda commands begin (agenda "" ;agenda command begin ( ;list of options for specific command begin (org-agenda-entry-types '(:timestamp :sexp :deadline :scheduled)) ;in agendas (org-agenda-files '("C:/ESQ/FIRM/USR/ESQ/FJM/DAT/DBF/ORG/fjm-esq-emacs.org")) ;list of agenda files (org-agenda-include-diary nil) (org-agenda-overriding-header "Esquire month review") (org-agenda-show-all-dates t) ;nil only if entry on date (org-agenda-span 'month) ;Can be day, week, month, year, or any number of days. (org-agenda-start-day (org-read-date nil nil "-01m 01d")) (org-agenda-start-on-weekday nil) (org-agenda-sorting-strategy '(habit-down time-up scheduled-down deadline-down todo-state-up priority-down effort-down alpha-up)) (org-agenda-time-grid '((daily) "----------------" (0400 0600 0800 1000 1200 1400 1600 1800 2000 2200))) ) ;list of options for specific command end ) ;agenda command end ) ;list of agenda commands end ( ;list of block options begin (org-agenda-log-mode-items '(clock state)) (org-agenda-start-with-log-mode '(clock state)) (org-agenda-with-colors t) ) ;list of block options end ("C:/ESQ/FIRM/USR/ESQ/FJM/DAT/DOC/ESQ_month-review.html") ;exports block ) ;single block agenda end # 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. # # Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Package: Org-mode version 8.3.4 (8.3.4-88-g792bb9-elpaplus @ c:/USR/FJM/APP/.emacs.d/elpa/org-plus-contrib-20160620/)