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 eF9IFwWkIV8UYwAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 16:29:57 +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 0LQDEwWkIV+NLwAAbx9fmQ (envelope-from ) for ; Wed, 29 Jul 2020 16:29:57 +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 D5FE894051F for ; Wed, 29 Jul 2020 16:29:56 +0000 (UTC) Received: from localhost ([::1]:35440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0oxn-0005HE-Lb for larch@yhetil.org; Wed, 29 Jul 2020 12:29:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0oxM-0005Gm-RS for emacs-orgmode@gnu.org; Wed, 29 Jul 2020 12:29:28 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:39435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0oxK-0004kE-R9 for emacs-orgmode@gnu.org; Wed, 29 Jul 2020 12:29:28 -0400 Received: by mail-qk1-x731.google.com with SMTP id l6so22778469qkc.6 for ; Wed, 29 Jul 2020 09:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:in-reply-to :message-id:date:mime-version; bh=zCwBJPCrKHPwjTO9ZtIGQ11gGeBRTBn/TT9wQA7JQow=; b=ofnBTcxVhLAz8Bo/LXtXumzROLJRwlE/d1Ufti0hF6NRoHS3eO7lehcwLkBBXDQ8G4 tlwBzfAxne9SmY9mR6lC0M/Hoh3ckPdPq3ay3jRgaXY59cX77eN8YYNETBID01FOkTay 6bIYY1CUirGRkzbcY70g6W2iwquu8/f1c7GJht0/6+yiY+l/+O8VN1aU7mNoJ3iWf5aM nBM0LS/ARTylXjrpK6z/xRZycUJF36IqdX4k8CUvpc7ziOPem4fKCySYRfTfuPDWFDiY q51/SN2qsmYmuX6fVSb2ZZR6hkXnmlEqgDAF6BcL6hzFcU+HZBBD4gVTKPH9DV7QVPud fjyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=zCwBJPCrKHPwjTO9ZtIGQ11gGeBRTBn/TT9wQA7JQow=; b=X/DKXqh4Mb6ZJkAMnj444RG917Y5MPE5uhYRU/C3N+48zFMYbzkGbuRqonffEuFAIJ YX8gJKebIqj0T1zpN2JrJCG4PMFMpBNTwhHhq6CY3H61qWL9X5IfCiZMw5RUGYRJBNvL umI6OFaVrJfOYle7c8hJr6Xo7UVVmpMsaw+5unLyMJ/AA+ze7ChEP1pRGwcgIbIDevm9 dshxYQAWRfTF21rOlMYHttkeaqc/WL4rACpRFSG+HYy+pGhk4U8Tcjb0mKHy+P3kGz8t Afe8Yl6gnT/Jfv0zcydaIseH/fafkvH3CVD7z61qk8/+gYRrgkWhO9iaNTjcvljHm5qz 6+SA== X-Gm-Message-State: AOAM5335ehfr4aD5YaQKHa4z4c1HRH6kIVWAZ9keOCQVx0eYR9R1UJKg iKFr3waEbEj5Ss5rCezswpU= X-Google-Smtp-Source: ABdhPJzvtbmQmss+lVOgZePzQ0MucaBTnt/4w0s53GKSycEivMFf+nULYgeYjfah6647Cw3FpImMHg== X-Received: by 2002:a37:6583:: with SMTP id z125mr15736417qkb.297.1596040164716; Wed, 29 Jul 2020 09:29:24 -0700 (PDT) Received: from gusbrs-laptop ([193.37.252.100]) by smtp.gmail.com with ESMTPSA id c22sm1965908qke.2.2020.07.29.09.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 09:29:24 -0700 (PDT) References: <87o8o1gpow.fsf@nivekuil.com> <87lfj5gp98.fsf@nivekuil.com> <87sgdbm4tm.fsf@kyleam.com> <87v9i6fumh.fsf@gmail.com> <87a6zi5qgu.fsf@nivekuil.com> <87r1sufj3u.fsf@gmail.com> <877dum5nwx.fsf@nivekuil.com> User-agent: mu4e 1.4.12; emacs 27.0.91 From: Gustavo Barros To: Kevin Liu Subject: Re: Repeating task hourly In-reply-to: <877dum5nwx.fsf@nivekuil.com> Message-ID: <87o8nyffog.fsf@gmail.com> Date: Wed, 29 Jul 2020 13:29:20 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=gusbrs.2016@gmail.com; helo=mail-qk1-x731.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ofnBTcxV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 X-TUID: 6hmCLn84YZ5y On Wed, 29 Jul 2020 at 12:41, Kevin Liu wrote: > The graph works for hourly repeaters in exactly the same way as it > works > in all other cases. It illustrates whether the task was done on a > given > day. But what will happen is that the task will be both "done" and "due" on the same day. Which face shall org-habit use? Which symbol? The task will be shown in the agenda, all right, whether the consistency graph is meaningful is another matter. > As Kyle mentioned, I don't think authorial intent counts for a whole > lot > here since the code was last touched in 2009, years before hourly > repeaters were added. I'm not so sure. Take a look at commit be2806d281 "Fixes to the consistency graph in org-habit", by John Wiegley, in 2009-10-22. There the following error check was then introduced: (unless (> sr-days 0) (error "Habit's scheduled repeat period is less than 1d")) Considering `sr-days' was then let-bound with: (scheduled-repeat (org-get-repeat "SCHEDULED")) (sr-days (org-habit-duration-to-days scheduled-repeat)) And that `org-habit-duration-to-days' performs its conversion of the repeaters to days with `floor', I'd say it is pretty deliberate. If this was before the introduction of hourly repeaters, I'd take this to be even more meaningful, not less. Best, Gustavo.