emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] agenda start date


From: Francis J. Monari, Esquire
Subject: [O] agenda start date
Date: Thu, 23 Jun 2016 20:52:51 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

To: address@hidden
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: address@hidden (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 @<description>

%%(and (diary-float t 3 -1)
       (not (or
               ; (diary-date 2016 05 25) ;
               (diary-date 2016 06 29) ;
            ) ;end-- or
       ) ;end-- not
  ) 14:30 @<description>


%%(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 @<description>
#+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/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]