|
From: | Max Nikulin |
Subject: | Re: problem with diary sexps |
Date: | Tue, 5 Apr 2022 23:06:32 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
On 05/04/2022 18:22, Ihor Radchenko wrote:
Christian Stuermer writes:And the problem is gone, after reverting (result (if calendar-debug-sexp (eval sexp t) (condition-case nil (eval sexp t) back to (result (if calendar-debug-sexp (eval sexp) (condition-case nil (eval sexp) in org-diary-sexp-entry in org.el.More accurate error can be found after setting calendar-debug-sexp to t. I got the following backtrace clearly indicating lexical scope issue: Debugger entered--Lisp error: (void-variable entry) (diary-float t 2 1) (let ((entry "") (date '(4 5 2022))) (diary-float t 2 1)) (eval (let ((entry "") (date '(4 5 2022))) (diary-float t 2 1)) t)
It looks like the source of the problem with unit tests that I faced yesterday trying to look closer at the bug with daylight saving time in agenda.
Bad sexp at line 25 in /home/ubuntu/src/org-mode/testing/examples/agenda-file.org: (let ((entry ) (date '(3 25 2022))) (diary-date 3 25 2022))
((should (= 3 (count-lines ... ...))) :form FAILED 255/900 test-org-agenda/property-timestamp (2.018120 sec) Emacs-27.3
[Prev in Thread] | Current Thread | [Next in Thread] |