From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EFE0CzQa2GOgjQAAbAwnHQ (envelope-from ) for ; Mon, 30 Jan 2023 20:27:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WBVCCjQa2GNRgwAAG6o9tA (envelope-from ) for ; Mon, 30 Jan 2023 20:27:48 +0100 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 6C148EC2F for ; Mon, 30 Jan 2023 20:27:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMZnn-0000s2-6r; Mon, 30 Jan 2023 14:26:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMZni-0000qc-Ey for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 14:26:46 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMZnf-0006hI-21 for emacs-orgmode@gnu.org; Mon, 30 Jan 2023 14:26:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 18D9F2403A8 for ; Mon, 30 Jan 2023 20:26:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675106801; bh=tpE+Gu/UHBn7DywEV/RqF6KWHFIqnaYHYmtfjlD/cPg=; h=From:To:Cc:Subject:Date:From; b=JUzGp3uznslJb1jYw4l6SVSf3gK5c3tKqRS2NFUXQKjRNGS/MZ3HqMjFKl4AdAlbz p2BQUTDmc+D5/xU7c98coOl/12m0Jp836dKnr7+LskOD4R9tylIXhEYOx/xlWkanDC 2bm/NuVl/HAeNynvDrhjwVTJ/8WhMbPHGwnFkc915THGIDg8ZCEy1GoESb4aW+BmtA xp/ZEN4bM51U9BEzR+dH21Zk2/EWIog3vqXYiEuFIKY396irFj7J+XPQwkgkbI6v1O 8iNTnCZ34+SMb3lkbIxe+OuYWiQnGmoc2vnNv8kHSEKMWLVK0oMgpn2b3qy5CZHQJb CD1Qu6pY8B56w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P5J8J3RFsz9rxG; Mon, 30 Jan 2023 20:26:40 +0100 (CET) From: Ihor Radchenko To: Renato Pontefice Cc: emacs-orgmode@gnu.org Subject: Re: diary-anniversary doesn'work om Mac osx 12.6.3 In-Reply-To: References: <87sffs3zk2.fsf@localhost> Date: Mon, 30 Jan 2023 19:27:12 +0000 Message-ID: <878rhj4ycv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675106868; a=rsa-sha256; cv=none; b=etF7U+2yikyXWAzyXiUD45suqsR4e7N8adQiai/Y4vrVZ4wGXXxCusR8Pim4bodbqZYLdi i9n9egA3KciNuFqLGL4hlcDr3z5aI2903SBiNHRo9SZSmBa3sWb+4f7SJE/SPw2p+Uu7Sz qaeZozLLeDNZp8F4HtW36/s2OdlyAmWz/ziEVhjhrN71E6txgzWa1ejM1hDyEi/sJD3Lv/ BEJw89rb1fO5k8G2Gtb97o9IwAZZmsBPAbUqUwOb5gHYCAl/f52AELQPx5lYN5vKNvt28z 6e7dvRQrzkM4l1jMGGnKkE2WjnBI1ws4IEjPfi46MQP0dY3RiOyJsiqEnqUbSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JUzGp3uz; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675106868; 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=FGJ4X6tuxz1wOdnnUPDECnVi2Fd5gufi9KBKvmzbMmE=; b=qJuD1elto+u6Ghf0EZcS9p34puX9kQJSlpoi9Rw7FspYK7D5//LcLtaYkh4MnN/xmKnfDv YaB6R5+F6fCkybyD1URjqLy4wfVrGHuk7RtdHE3uaNk6YdpOAXmxZGh8EHKUJ1z8j4+Dgw WmKDRFI+h/OCAoE6XQ7WjUKPJHbsY0bIHUdmMVd+0JSR50WS34izuQ517Pr/7YA2z3DyDV h1sBR6v+4m1Jf/+YIkdKXmFQG1XdS1MMawy+Iklidpipz4ufK98hSRrmYeMfrTyBV8qB15 yJEBFjzEP/DZsih4vAk5jwevamx7/rfu8D/5gRejVPu4mm9Ij2FQVDdP56K+9Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JUzGp3uz; 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"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: 6C148EC2F X-TUID: S3MX8yQe7Pij Renato Pontefice writes: > * Anniversaries > %%(diary-anniversary 1948 01 30) Arthur's birthday (%d years old) > > %%(diary-anniversary 2023-01-30) Arthur's birthday (%d years old) > > <2023-01-30 Mon 15:53> > Just this. The last line is made by C-u-c . > To display the way my date are setted > > If I press C a a > Emacs compose the agenda (as in the attached file, but without the entry of Arthur birthday I tried the above and can hear error being signalled: Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(1 30 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(1 31 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 1 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 2 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 3 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 4 2023))) (diary-anniversary 2023-01-30)) Bad sexp at line 4 in /tmp/bug.org: (let ((entry Arthur's birthday (%d years old)) (date '(2 5 2023))) (diary-anniversary 2023-01-30)) Your diary entries have wrong format. If you do f diary-anniversary , you will see (diary-anniversary MONTH DAY &optional YEAR MARK) So, the correct entries will be %%(diary-anniversary 01 30 1948) Arthur's birthday (%d years old) %%(diary-anniversary 01 30 2023) Arthur's birthday (%d years old) org-anniversary uses more conventional year-month-day order: %%(org-anniversary 1948 01 30) Arthur's birthday (%d years old) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at