From: Ihor Radchenko <yantar92@gmail.com>
To: Christian Stuermer <orgmode-ml@recentlyrezzed.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: problem with diary sexps
Date: Tue, 05 Apr 2022 19:22:12 +0800 [thread overview]
Message-ID: <875ynnojvf.fsf@localhost> (raw)
In-Reply-To: <174462e9-b12f-ca0a-04b5-012bc27b603b@recentlyrezzed.de>
Christian Stuermer <orgmode-ml@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
next prev parent reply other threads:[~2022-04-05 11:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-01 15:44 problem with diary sexps Eric S Fraga
2022-04-05 10:28 ` Christian Stuermer
2022-04-05 10:51 ` Eric S Fraga
2022-04-05 11:22 ` Ihor Radchenko [this message]
2022-04-05 11:39 ` Eric S Fraga
2022-04-08 2:59 ` Ihor Radchenko
2022-04-08 10:46 ` Eric S Fraga
2022-04-05 16:06 ` Max Nikulin
2022-10-19 2:30 ` [PATCH] Bind calendar-debug-sexp to non-nil when running tests (was: problem with diary sexps) Ihor Radchenko
2022-11-11 3:36 ` Ihor Radchenko
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=875ynnojvf.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=orgmode-ml@recentlyrezzed.de \
/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).