Christian Stuermer <orgmode...@recentlyrezzed.de> 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) Best, Ihor