From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YO3jI44mTGL+AAEAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 13:22:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yEyhHI4mTGL+XAEAG6o9tA (envelope-from ) for ; Tue, 05 Apr 2022 13:22:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0A2A346631 for ; Tue, 5 Apr 2022 13:22:53 +0200 (CEST) Received: from localhost ([::1]:54528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbhGu-0003Ob-14 for larch@yhetil.org; Tue, 05 Apr 2022 07:22:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbhFt-0003Mj-EC for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 07:21:49 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:34306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbhFr-0004Ga-O0 for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 07:21:49 -0400 Received: by mail-pf1-x432.google.com with SMTP id h19so11814601pfv.1 for ; Tue, 05 Apr 2022 04:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=A58s9uVCoRbGFg3U1ppOo80myaK+m5HSmC9OW09k07Q=; b=YClt7jTCxTTnWQmlSe4/O5HMh0y6YjTwWXtOzO6UccX6z1PCDZBHDlhIoIi9+yY2uS XHAsaLnL/LNP7JfTaeQEGa+EzTqjDf8p541ohaUNAMttH7v/Vo+gSkbjdAYJNhg4+57r vTGequ/kmGTPfpNfnNNm0O7iYv24COPUCbiSuNCEJbv009K+fTc9VQBw3FJSx4HsbJDI DpUrzh1tUBjSMwFSWhVOlolDFETP5ddVEvkW/oMzupSulDVANDBZncYPYznJD1DlJ7Iy O6XDGKIOwal+aOKnvfCCICVV2RgwpJKRZTzXGdJ0z2dfi4NSK6NYnBMYKJBfI849/Jr/ TQoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=A58s9uVCoRbGFg3U1ppOo80myaK+m5HSmC9OW09k07Q=; b=B/bl+8sOQd6bVHpgT33+mHXIphqYbo+ksUqhNRSK3SNNAqFSYTpJ0rgrocdVO4ZQsW OXyj7XGER34tIeGN+B/YS3Xp0KLHC/0jEhYrLOBClkCu9+XO9jV77Nn//rHFiCuGl/AX VKcHSKs4SSHXJ7YD96W+KeLNzSvoXb5ix0s5n2BPHY0D8GMjWb49WdE+PNTUCWyhooLT VrwPtNFWPdR5bkUYFPZbte1pyA60+sUTo6eaCb1oj+xhVsZ0vrMwpyRkW7tt7IKlZCDt 8gpFimm1dlp0PO5chKq/8xzDzqkSAiWFmyhMlp4laLPjInMEirB3WFA5KhjyR2eNWxTV YmLw== X-Gm-Message-State: AOAM532TcgVgeiJ4OIXhv+rH5vOfSeUY0tyorHYGSuilLJxIVtJGrN54 xfICqpJyuaDCrdmSVxcjsPQMnbU3uN14fKD2 X-Google-Smtp-Source: ABdhPJzLHC+PD4N1rgyvpGD43/10GVT6EQUT+jQ1ZKwlo+AHlKIRgTv+RqJ9fb7b+i5dv2pqLCz1wA== X-Received: by 2002:a62:1407:0:b0:4fa:6d31:1056 with SMTP id 7-20020a621407000000b004fa6d311056mr2957512pfu.7.1649157706219; Tue, 05 Apr 2022 04:21:46 -0700 (PDT) Received: from localhost ([23.106.161.1]) by smtp.gmail.com with ESMTPSA id p18-20020a17090ad31200b001cab747e864sm2046977pju.43.2022.04.05.04.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 04:21:45 -0700 (PDT) From: Ihor Radchenko To: Christian Stuermer Subject: Re: problem with diary sexps In-Reply-To: <174462e9-b12f-ca0a-04b5-012bc27b603b@recentlyrezzed.de> References: <875ynsq048.fsf@ucl.ac.uk> <174462e9-b12f-ca0a-04b5-012bc27b603b@recentlyrezzed.de> Date: Tue, 05 Apr 2022 19:22:12 +0800 Message-ID: <875ynnojvf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=yantar92@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649157773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A58s9uVCoRbGFg3U1ppOo80myaK+m5HSmC9OW09k07Q=; b=qyRy3j5wOXoQeeEf1Gj6xLeV+/eyV+AodoZktOotM7OV5TfScL836+pY7lbA39tGZeNVh8 i9qbj+O4EqFpfQv+Sfnkijb53zu2XazZd44FJRTVpoZdRfwk99YYdNaM6kOZvNYByQYuTl bW1wU4hBdZWUzH7iLREpf+2/cRbyehY1lgn/ZEnH6fQ9yAVDtMv5wyhH8BQ6Q147qVt89e yn9bcG3OxGwuHGkK/DT4kxUieogLeyKCG30KacPhdAV6y5IeY/arimRlyCdHRu4eybjQvU MBY6PdsOHA78lumkn6iJ/ENWh4pkd38OXlCEJwUwZ+yOBHwmMmJcb6zbNotb7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649157773; a=rsa-sha256; cv=none; b=FYdkrkD+J6TEfjbiuyG4MTgVXU9L+WCV3qGyz+CAtjJH0REccOjUyNnmye1j+UvtNZifP7 AbygHNyvJP3dcYok8IOSS5rHIqhE+zfvdnChtnlGqsfcWTSm6IhyjILmOBxBonCufDABRh og9roHcPmGgcuUwlJ0JGgJptz1tbUDB/0m2io+2SR+ILFGVbW5Guekt5SyDvdewG6eDg7Q oYaV/+vC/RF2eXhUL05vMrfnZXvEpsO/UVS8OHeTwOeS5KOBoV+0UR9Mdtx72Lx3yD0jSP blp5d3buTsmnPk1fwz6h0oNBmUH9fy3juIb7lKu5+9EFLoCuGyfeowfpcg57QA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YClt7jTC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YClt7jTC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0A2A346631 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9XNHCDzV+H9V 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) Best, Ihor