From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 IBrXKoUaTGLlxAAAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 12:31:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CN+0J4UaTGKINQEAauVa8A (envelope-from ) for ; Tue, 05 Apr 2022 12:31:33 +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 36010443E9 for ; Tue, 5 Apr 2022 12:31:33 +0200 (CEST) Received: from localhost ([::1]:44090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbgTD-000618-Ml for larch@yhetil.org; Tue, 05 Apr 2022 06:31:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbgQj-0005ya-Hu for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 06:29:00 -0400 Received: from mail-out1.kundencontroller.de ([2a02:180:ffff:1::551f:b871]:35212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbgQh-0006nU-JY for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 06:28:57 -0400 Received: from [192.168.178.20] (mue-88-130-62-189.dsl.tropolys.de [88.130.62.189]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: pop287690-admin) by mail-out1.kundencontroller.de (Postfix) with ESMTPSA id C48441800C70 for ; Tue, 5 Apr 2022 12:28:48 +0200 (CEST) Message-ID: <174462e9-b12f-ca0a-04b5-012bc27b603b@recentlyrezzed.de> Date: Tue, 5 Apr 2022 12:28:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 From: Christian Stuermer Subject: Re: problem with diary sexps To: emacs-orgmode@gnu.org References: <875ynsq048.fsf@ucl.ac.uk> In-Reply-To: <875ynsq048.fsf@ucl.ac.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=2a02:180:ffff:1::551f:b871; envelope-from=orgmode-ml@recentlyrezzed.de; helo=mail-out1.kundencontroller.de 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=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: , 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=1649154693; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=/iQqq9masPEF1NxTA2VAdtvDTp5kH4CmDXz309GzmPU=; b=KDduuUHzoIMidxGIMu133KMODpXFrBg/vgXZCwoUjWFwaXMp3d+ZGB9dyM6Uyfb2S9soKM 4jxfpKKItvn3R+xenYIozyOwv4P2QtU4ygdORLnZs7tRLq/o62UWNvQJDaZx0rpHqcERd0 emnyGY1OBEK/2ZBUDzz4YMxAjl7FY0cl3m/0KdPWycTZe1+eN/8lW1lReW2+e0+OfgTItz 85Bz4yYwXjknbVF0TTG/kRL5/HR1omeRedQUaiNfmftmhYpcUK1ThB/vGn/6+QukUZu5Ot OH0Kh9fHYGn0WBLNwgmnjqdktG6UrVo7vyfzrcceu8cPls1fp1VdDNwjJrAn3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649154693; a=rsa-sha256; cv=none; b=SkTfBbbWijwDQpeGmwAeXxm4YLBMrb3U7XQBLp7mKBgxYHPT8/IaWImRMPIi17qedSpu7J tsL8ybeFyS6dwleT4aEh7yptbrsMHZZM3Os4C+f5NX30/OYY9kvW8EOTsx2WaO0iegDWgU NUmuscgzb/wI6aExKrh+bzGS9ADfu+Z8NMtwce86mMBSDGO+xXTYfEcwMq3LMklWelKbFT qHqnK8B9i4cWPI8DNYCCXBKk4vvmt9BVNcuygE98eXGfY8VO3h0mRgpaWFK7Wos9C+z3vb TRW7Crm+xNfky9/TYDEC+E3JbY4/Ns43tICc4v+EV+y6E69APZgk8Yf/1+W0uQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: 4.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 36010443E9 X-Spam-Score: 4.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: fIs1Zd2ldGf1 Hello! Eric S Fraga writes: > I updated org today and now get > > Bad sexp at line 461 in /home/ucecesf/s/notes/diary.org: > (let ((entry ) (date '(4 19 2022))) (diary-float t 2 3)) > > for a line that looks like > > <%%(diary-float t 2 3)> > > This has been in my diary for a very long time with no error. I wonder > if this has anything to do with the changes to the use of advice? > Nothing else in the recent changes in the git log seem to be relevant. I've had the same problem after updating org from git with entries like %%(org-anniversary 2000 4 4) X is %d years old The commit introducing it is https://github.com/bzg/org-mode/commit/6d73cd34a07796c33f9435bfc8c9a19e67656c7a 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. I wrote about in on Reddit: https://www.reddit.com/r/orgmode/comments/tvwxv0/the_commit_on_apr_1_2022_broke_organniversary_for/ Kind regards, Christian