From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AyRtLBFWX2PtrgAAbAwnHQ (envelope-from ) for ; Mon, 31 Oct 2022 05:58:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4OaAKxFWX2NuuQAA9RJhRA (envelope-from ) for ; Mon, 31 Oct 2022 05:58:57 +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 7199428737 for ; Mon, 31 Oct 2022 05:58:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opMs5-0000hR-Ey; Mon, 31 Oct 2022 00:58:01 -0400 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 1opMs3-0000hJ-ST for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 00:57:59 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opMs2-00086B-7B for emacs-orgmode@gnu.org; Mon, 31 Oct 2022 00:57:59 -0400 Received: from localhost ([::ffff:197.239.4.235]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000081D92.00000000635F55D1.00004832; Sun, 30 Oct 2022 21:57:53 -0700 Date: Mon, 31 Oct 2022 07:57:32 +0300 From: Jean Louis To: Renato Pontefice Cc: emacs-orgmode@gnu.org Subject: Re: One thing each 3 days but maximum 10 Message-ID: Mail-Followup-To: Renato Pontefice , emacs-orgmode@gnu.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667192337; 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: 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=cMzr0ncUXV4TiPCT/va0szwsn6ZuqnqguCgu/6eJs+I=; b=UMELnSqlPdbpNO2j+jGrdRPOJbR1GZ/ukeEvPHA+BkZfl7Def6qg7Z0soOA/lTOWhvsB6/ FDchjchoSnVI7zmMf0afzYJriOoNdWVsGvK2/xbBbyQMymxmmatsP8xL9tjasJ/56DcHmo E07REEJ8gH3fMBS92h3u6D3+joeupKxcE3i41Om46CJ1V1uNupz1BdSXY6D/Bz5GGef6Xd G+EJRlP37bsqz+5yfNsqSgN+jQfAKOIV/9Vh80PTxqBdvgsmZnTH0psEHna93U6PJU3O36 JmXg5jvVuSjuHJFpXpGV1KUkXC+5ZE/1eUmmTOO02m4D37/VM7/KcbGmZdEdrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667192337; a=rsa-sha256; cv=none; b=OmR6TWzMxf1k7fwOQfq0MY7kxSEwGfRhO8xcfjC3IaU9DQcIjtHgkwFcouiVXc7e67C0k4 Htdi898kuFhPzzNefP5HHB0VXs6W6ZWYtSULNX64K6IgZVvCEGM0/REo18OaE7GUabGTLv 4y840OHgrDUH7H4HD4GfjdMZFzURTyOgNrJ8oLalMdeEdgeBBjkRh1xQhCptkk7DVrx2Y6 tCE3sapXivDlmMa7pZrQ9GMKNnmN7awdxKYCCnO8U+6cfWBBUQkEO1/aFrVQ/QKtI/dxIR RbeXylbG5u/BHMjwu+9s0Q8W8NP1w0LczkpRUvpz5R4j/lkVfxm+WzRWcm/urA== 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: -0.96 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: 7199428737 X-Spam-Score: -0.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: HxEH4y0kOK38 * Renato Pontefice [2022-10-30 19:11]: > I have to take a pill each 3 days, but for max 10 times. > So I set a TODO pill >2022-10-28 +3d> and each 3 days my calendar tell me that I have to take the pill. But is possible to say 1/10; 2/10; 3/10 etc? > I nean to show how many pill I have already take? Use PostgreSQL to give you schedule: #+BEGIN_SRC sql :engine postgresql :results value raw SELECT '** TODO Take pill again SCHEDULED: <' || generate_series('2022-10-28', '2022-11-26', '3 day'::interval)::date || E'>\n' AS "* My treatement"; #+END_SRC #+RESULTS: * My treatement ** TODO Take pill again SCHEDULED: <2022-10-28> ** TODO Take pill again SCHEDULED: <2022-10-31> ** TODO Take pill again SCHEDULED: <2022-11-03> ** TODO Take pill again SCHEDULED: <2022-11-06> ** TODO Take pill again SCHEDULED: <2022-11-09> ** TODO Take pill again SCHEDULED: <2022-11-12> ** TODO Take pill again SCHEDULED: <2022-11-15> ** TODO Take pill again SCHEDULED: <2022-11-18> ** TODO Take pill again SCHEDULED: <2022-11-21> ** TODO Take pill again SCHEDULED: <2022-11-24> -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/