From: rrandresf@gmail.com (Andrés Ramírez)
To: emacs-orgmode@gnu.org
Subject: testing org-bbdb-anniversaries
Date: Fri, 21 Feb 2020 16:48:10 +0000 [thread overview]
Message-ID: <86blprj391.fsf@gmail.com> (raw)
Hi. Emacs 26.3, org 9.1.9
My bbdb anniversary entries are not being shown on my agenda.
I would like to add warning on emacs startup when bbdb records are not
being showed.
I eval 'org-bbdb-anniversaries' that lead me to
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable date)
(car date)
(let* ((m (car date)) (d (nth 1 date)) (y (nth 2 date)) (annivs (gethash (list m d) org-bbdb-anniv-hash)) (text nil) rec recs) (if (and (= m 3) (= d 1) (not (null (gethash (list 2 29) org-bbdb-anniv-hash))) (not (calendar-leap-year-p y))) (progn (setq recs (gethash (list 2 29) org-bbdb-anniv-hash)) (while (setq rec (car-safe (prog1 recs (setq recs ...)))) (setq annivs (cons rec annivs))))) (if annivs (progn (while (setq rec (car-safe (prog1 annivs (setq annivs ...)))) (if rec (progn (let* (... ... ... ... ... ...) (org-add-props tmp nil ... name) (if text ... ...))))))) text)
org-bbdb-anniversaries()
eval((org-bbdb-anniversaries) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
--8<---------------cut here---------------end--------------->8---
above is intended behaviour?
I would like to to check an specific date on bbdb-records 2020-02-29
and that date should return me a result that would confirm me
org-bbdb-anniversaries is loading my entries on agenda, otherwise a
warning message should appear on emacs startup.
Which is the right way of checking org-bbdb-anniversaries is loading my
entries?
BR
next reply other threads:[~2020-02-21 16:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-21 16:48 Andrés Ramírez [this message]
2020-02-21 18:02 ` testing org-bbdb-anniversaries Nicolas Goaziou
2020-02-21 18:41 ` andrés ramírez
2020-02-22 9:33 ` Bastien
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=86blprj391.fsf@gmail.com \
--to=rrandresf@gmail.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 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).