From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eOC9NCRxTl/oCAAA0tVLHw (envelope-from ) for ; Tue, 01 Sep 2020 16:04:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6NGIMCRxTl/OKAAAbx9fmQ (envelope-from ) for ; Tue, 01 Sep 2020 16:04:52 +0000 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 5729294051F for ; Tue, 1 Sep 2020 16:04:52 +0000 (UTC) Received: from localhost ([::1]:59244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kD8mA-0001hv-U5 for larch@yhetil.org; Tue, 01 Sep 2020 12:04:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD8Ct-0001lq-Bx for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 11:28:23 -0400 Received: from mout.web.de ([212.227.15.4]:37845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD8Cq-0007cO-ES for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 11:28:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1598974097; bh=ndpwpRftkQ5bmIsQq1rlWEoe6csvH/qFwG532KXfNNQ=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=dvii4toOdAckdYc2GAYNFoTtz/JohLwPRbCMXI3NVhCzvwxEQtMW7f0Cfpp3M2qG5 0GKZIrjT4dLyr3ILVYvOvB05dTrXdyclOthlTqDF7kN1xKj+5gV6YoQpqO2+GgAsMj RCB8CYmTubV172Yqn+dHGuyFlMb6jFh5TrOxseN0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.220.78]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MUEoU-1k3gJ8345q-00R3xa; Tue, 01 Sep 2020 17:28:16 +0200 From: Michael Heerdegen To: emacs-orgmode@gnu.org Subject: Re: Headline generation as in diary? References: <878sdth8fm.fsf@web.de> <87zh697ctp.fsf@ucl.ac.uk> <874kohh6el.fsf@web.de> Date: Tue, 01 Sep 2020 17:28:15 +0200 In-Reply-To: <874kohh6el.fsf@web.de> (Michael Heerdegen's message of "Tue, 01 Sep 2020 17:18:42 +0200") Message-ID: <87zh69fre8.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:HLNnc/hWLofilBR/x/IfrfftdnpZvsXzeJqThc+x1S2W2PY6MKD I5Wv1LrHULadoFqfbVIIJL/5Oo9ZZlfphVCo1TuE/ppXMmLEDeH2xAI7Fh2XE0R61t42bsv nAVTlzkfEk8sDiaqrOwKV3+3vxaciw2TbcxRjZAmCztmnvl7GpQRucFQFbWSw/pXo1w9nGW CJz5+MWCLUn43loO3JmZA== X-UI-Out-Filterresults: notjunk:1;V03:K0:U04Y01xMgH4=:BC6KzIiotiPVVtgWQ8oOj3 3gZr70NgqSisIHhTpVJmlMOabopc39jve29z7NkWtMlTnhjpqBCrJu07/IDcs5x2iZ7BGoDm2 mXalmjbKkvqZfAEQOOMkC2JHI5nY2/73YFF5o7KR/jMDACuihrjkr0LYpZETe62fuSFUrW3uG o2sVhTIUXH0s31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l4bzgPoktfiY1Uy0 uhV3/XjaZ6avFu6C+caNcl8tOz+TFIZht1GlwnQ== Received-SPF: pass client-ip=212.227.15.4; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/01 11:28:18 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=dvii4toO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: WkKtZx8R3mkt Michael Heerdegen writes: > > [1] https://github.com/m-cat/org-recur > > Thanks for the hint, I'll have a look. Nice to have definitely. I want to stick to diary sexp expressions for some complicated dates. I have already extended the diary language to fit my needs to specify the dates of garbage collection here. That looks like this: #+begin_src emacs-lisp (dg-let-date (dg-tomorrow) (dg-except-for* (and (dg-friday-p) (cl-evenp (dg-iso-week))) (cl-some #'dg-holiday-p (dg-the-days-between (dg-days-before 2))) +1)) #+end_src It means: warn me one day before garbage collection happens, and that is: every Friday in any week with even week number, unless it has been a holiday up to two days before that, then they collect one day later. I guess I always want Lisp to specify something like this. Michael.