From: "Francis J. Monari, Esquire" <monarifj.esq@juno.com>
To: emacs-orgmode@gnu.org
Subject: agenda start date
Date: Thu, 23 Jun 2016 20:52:51 -0400 [thread overview]
Message-ID: <844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com> (raw)
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 @<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/)
next reply other threads:[~2016-06-24 1:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-24 0:52 Francis J. Monari, Esquire [this message]
2016-06-28 19:35 ` agenda start date Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=844bd0cc-a95c-750b-bbea-6c2c34dd6983@juno.com \
--to=monarifj.esq@juno.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.