From mboxrd@z Thu Jan 1 00:00:00 1970 From: rrandresf@gmail.com (=?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?=) Subject: testing org-bbdb-anniversaries Date: Fri, 21 Feb 2020 16:48:10 +0000 Message-ID: <86blprj391.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5BTY-0000Hh-NM for emacs-orgmode@gnu.org; Fri, 21 Feb 2020 11:48:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5BTM-0002mb-Vm for emacs-orgmode@gnu.org; Fri, 21 Feb 2020 11:48:28 -0500 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]:44037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5BTM-0002jX-Oz for emacs-orgmode@gnu.org; Fri, 21 Feb 2020 11:48:16 -0500 Received: by mail-qt1-x842.google.com with SMTP id j23so1698444qtr.11 for ; Fri, 21 Feb 2020 08:48:16 -0800 (PST) Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.221]) by smtp.gmail.com with ESMTPSA id 65sm1767543qtc.4.2020.02.21.08.48.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 08:48:14 -0800 (PST) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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