From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id COzaCL4jyWPHcQEAbAwnHQ (envelope-from ) for ; Thu, 19 Jan 2023 12:04:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ECzeCL4jyWMOkgAA9RJhRA (envelope-from ) for ; Thu, 19 Jan 2023 12:04:30 +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 DA9E332BB8 for ; Thu, 19 Jan 2023 12:04:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIShz-0007jY-6y; Thu, 19 Jan 2023 06:03: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 1pIShw-0007hb-CG for emacs-orgmode@gnu.org; Thu, 19 Jan 2023 06:03:48 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pISht-00084E-Ok for emacs-orgmode@gnu.org; Thu, 19 Jan 2023 06:03:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2537C240619 for ; Thu, 19 Jan 2023 12:03:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674126224; bh=+p0VKAkkw+h7W4X1Ha6Pg839BKMX1Fqj6kWEozNXoCA=; h=From:To:Cc:Subject:Date:From; b=IhoEqRGQGa77ADyPcPpcp3B0r746dOMBC8w53SYTS5hYQGapovSE3fJ/s/vMhn+A4 k/zp7uKQO5Ffo7Q//EhZmLjdvbBj5mi5kzu1kEq0tdx7yDukRM+07HXH9GZ10m3INr IAd1BSYvNaXJ4Pj9qoDl6ZXh1p25baBR3V8UuiEm4BQuBJjatCEK9d3ECH9o8pdbJ+ e+T7V3c6K2aAjayXByJLcU/KrDykZ1GF6DX6GVXpziI8nuW5TCepkkqn1nGGZeMHzp ee3CbQz+ol5jigzRuRP1pIn589HTgvd/1NgNZp682sk4U9dIzlAyzetYyuslrZNu8+ wl6dcZ+ILxGYA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NyKW05RPgz9rxG; Thu, 19 Jan 2023 12:03:40 +0100 (CET) From: Ihor Radchenko To: Felipe Balbi Cc: emacs-orgmode@gnu.org Subject: Re: org-habit and hourly repeats In-Reply-To: References: <87ilh4mjnt.fsf@balbi.sh> <87o7qu4x73.fsf@localhost> Date: Thu, 19 Jan 2023 11:04:11 +0000 Message-ID: <87ilh24wgk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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=1674126269; a=rsa-sha256; cv=none; b=HX31+2DDMERn+VBsmnRFemJ/o4HE29+cmGc6CrrPwHcJ8siPZ59ZshnH1GDueDfIie3Amo iboyXzLMeieUXKp/uWj/0+YYObiblWoitWWWuPOVSJr0KdwcF1PCNXbxiM/WXOhhOMoA7V jsMJk+8kyEvGoSLCkYU1X80cWRD0K/bZsjePI8Lf2lCkd3LuZdG8FCNJvZGnaYoxzG8Htt 9o9+YMhpEiCSAEo5cklisUocIa0xIjPdRr/2Y9wHCpPjvoqt2lt4ExdI33dxIUXiBfdbuV qFdJA9Nca6ABZ/h4790dfr7cvRKyq1eLOe9N3OgLrf2rc++KzWC8+/0X4yPDjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IhoEqRGQ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674126269; 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:dkim-signature; bh=+p0VKAkkw+h7W4X1Ha6Pg839BKMX1Fqj6kWEozNXoCA=; b=pa25ddUiP/di7cwDLEOqrAQc+sGGsV1pbAnO/7GaNGFZOSbdnKumlCe9OHmuuy8p9dNn1F 00nQpbDae6Z4MVTjrOa9mAhNVPmdQAZdgRhYAXPVWtk3Nq/7IaMvGocnQFsNDzc/6sX9kw BjS5rzyGFZkt0GZapWJL68C5Lm5yUeuYQCCmitCYeVha6QSV3RlhyVRGuvtFxCzAz35V3G 5B35133LSPGXq/hq33yZ2PxMYGQV8b9T8leCg4er/GIcklHh1tYml8Ohtn4q5ZbPV5OlfD V69B0daDYPUPBpGYxQdYg2NlMlk2bY9oFaAb5LF6RVO6kHDtO4uXiKW7FR38Xg== X-Spam-Score: -7.38 X-Migadu-Queue-Id: DA9E332BB8 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IhoEqRGQ; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.38 X-TUID: BCBgdtCI1u/Y Felipe Balbi writes: >> Habits occurring multiple times a day are not properly supported in >> general. See https://list.orgmode.org/orgmode/87leplsggg.fsf@localhost/ > > That's very interesting, because repeated tasks clearly mention hourly re= peats: > > https://orgmode.org/manual/Repeated-tasks.html > > "You can use yearly, monthly, weekly, daily and hourly repeat cookies by > using the =E2=80=98y=E2=80=99, =E2=80=98m=E2=80=99, =E2=80=98w=E2=80=99, = =E2=80=98d=E2=80=99 and =E2=80=98h=E2=80=99 letters." Repeated tasks do support hourly repeats. But not habits, as long as habit-specific logic is concerned. >> I afraid that things are not that simple. > > Do you mind expanding on this? Just generally curious, really. I tried to list some things in https://list.orgmode.org/orgmode/87leplsggg.fsf@localhost/ For example, habit consistency graph assumes that habits are repeated every day or longer. Generally, adding hourly habits will require careful checking of org-habit.el code. In addition, org-agenda cannot display repeated tasks when their repeat interval is less than a day (it is a minor annoyance though; should not be a blocker) --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at