From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GG8fCa+4YmKW+AAAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 16:16:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KBg6CK+4YmK8WwEAG6o9tA (envelope-from ) for ; Fri, 22 Apr 2022 16:16:15 +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 14D861542D for ; Fri, 22 Apr 2022 16:16:14 +0200 (CEST) Received: from localhost ([::1]:58544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhu4y-0001CD-Ep for larch@yhetil.org; Fri, 22 Apr 2022 10:16:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhu4H-0001Ae-GL for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 10:15:32 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:45720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhu4E-0000K0-N7 for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 10:15:29 -0400 Received: by mail-ed1-f53.google.com with SMTP id be20so2270407edb.12 for ; Fri, 22 Apr 2022 07:15:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:content-transfer-encoding; bh=T2nZPC8smNGPjxy32mo4O1Zr1aT9FMlZGjjjPOmEXXc=; b=hZIqDYqJY7lZ/l3HZEZC/S91jfUeasNSAaI1CtHwuUyrLmOyvjftpgVM/qWVqfEFU0 AI2V23EHiMkXDvAHwZhk3WC9bzlbnBWwq+QbY/JGl7eS/olleFer1oAHwa50mCne7RoZ TjFDajD54H8hw/4HG6hQgtC6TF5WRbrXAf0CenkV/fvHh4d3qHEXPRLH3DZOHsYoplpb 5GmEl+gq5r1qERIMbRgwfJQxOUGNYAqYCQU7LtBVCT/93IzIJr9KnKRLelU6Y2Ur16zZ lzWmB8HO2FTwonaoxsnX2PUnHtrvGNr5zJ6DKIYB42FiMJE2Y9AG+ELqZWmdpV96GBFu lKpg== X-Gm-Message-State: AOAM532UOZfT/7Odk/Oodi/X8vzRkoNnoTO+oRcUPXg+KPFyN4BbyebK vCf/jxLUM1m0G+2Z8uTTHboDPMlIY20gx6T1ys8xYwdfABo= X-Google-Smtp-Source: ABdhPJyqwM6qSm/u6jqB3zs2iQKSPAbLeB7MwGVtX6h3S3tJbOdrqaJMUabZQBh1XUwH+61Mr/rBvCiyGJPmMiZaj2A= X-Received: by 2002:a50:8d8a:0:b0:423:d77b:a683 with SMTP id r10-20020a508d8a000000b00423d77ba683mr5103381edh.138.1650636920851; Fri, 22 Apr 2022 07:15:20 -0700 (PDT) MIME-Version: 1.0 From: Rainer Thiel Date: Fri, 22 Apr 2022 16:15:10 +0200 Message-ID: Subject: how to exclude several single dates from a diary block To: org-mode-email Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.208.53; envelope-from=rainer.thiel@gmail.com; helo=mail-ed1-f53.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-To: r.thiel@uni-jena.de 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=1650636974; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=T2nZPC8smNGPjxy32mo4O1Zr1aT9FMlZGjjjPOmEXXc=; b=OS9tPk8qy8nLZ0WPqirYknXZaASLxhXu4FXTnHDfreLvc7kkB1Gx+WEaL+WueVuL4AnQAn qku8ukNekfx77Q3X1VfGbgiY/ixDD8MMUTDkJfviKKEZ1gmyM9Tcc0lQ4fkHXUIoDdWbGa bTIvya38pqRDLRBmTFO/m1c8d5469X3L/tiFw9N+E+00Y0ivmCCKo9onVeD5LHSq+lnZ3G sQIqcSawPEy9/tK46QVBXj5FzVu0rootWoCLn6rOYYWH7TGwMF1YswjOmt/If9EXQcH20n JwsWdb3gjbD+c/lQMheu0a2NZJblTBMlPZqAA37bsO5P2RysyPXVhxX2duQgBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650636974; a=rsa-sha256; cv=none; b=YkuMKNIEn+D3SXbiAELVcPWb4Ai+9Y/vt+DLc7iIH1wpXldfuIKtroHv1vXPULYbhS2hmG bcRZk2ObnPvlH/4JXY+cySgiWaSJU2bK3xL4UZATBv+TLD7E7B+qcCjM9VJb4WusLvn1DH pcvdmWzf1OyOGIvhzfiJHBcihcnGpZitv4nWlo5AJzsHjg3MNRM/Lj2gWsMOga9iG9ud00 +QWzfRfoncxzgLfwIyE5h/PPhz0+jCpdkNUoe04v3gaUQgfeyRs5OlTVckNzT4YbxBGm+n /yoFUc7o1uCJoibdZ+ptwd6djEwtRHWZ1n1kkuV1y3KAN9cAkPbSJS4l8ytCBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uni-jena.de (policy=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: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uni-jena.de (policy=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: 14D861542D X-Spam-Score: 3.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: LgUZPiJ4mOQp I use Org-Mode to schedule most everything, including my lectures which typically are recurring events. I have learnt that I can exclude a certain range of days or weeks where no lectures take place. For this, I use: * TODO 12:15--13:45 Lecture: Aristotle <%%(unless (diary-block 12 20 2021 12 31 2021) (and (=3D 3 (calendar-day-of-week date)) (diary-block 10 18 2021 02 11 2022)))> which means that the lecture on Aristotle is scheduled for every Wednesday between October 18th, 2021 and February 11th, 2022 =E2=80=93 exce= pt for the time between December 20th, 2021 and December 31st, 2021. What I need to do for this year is to exclude single dates such as April 26th, 2022 and June 21st, 2022. Can someone please help me how to achieve this? Many thanks in advance, Rainer --=20 Prof. Dr. Rainer Thiel Institut f=C3=BCr Altertumswissenschaften 07737 Jena, Germany (EU) r.thiel@uni-jena.de