From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mCgOE3NYIV9jMwAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 11:07:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EOnZDnNYIV8PeAAAB5/wlQ (envelope-from ) for ; Wed, 29 Jul 2020 11:07:31 +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 B6F73940391 for ; Wed, 29 Jul 2020 11:07:30 +0000 (UTC) Received: from localhost ([::1]:40700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0jvl-00088v-Ll for larch@yhetil.org; Wed, 29 Jul 2020 07:07:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0juz-00088l-NU for emacs-orgmode@gnu.org; Wed, 29 Jul 2020 07:06:41 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:50342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0jux-0007G9-Vy for emacs-orgmode@gnu.org; Wed, 29 Jul 2020 07:06:41 -0400 Received: by mail-wm1-x32a.google.com with SMTP id c80so2352758wme.0 for ; Wed, 29 Jul 2020 04:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BQfmS7nw0HEQRGgPX31iV4OrBKUT+UcG6UbaF0EkjZg=; b=tSMAo+fUkH2reYhWzOtwADp5RBI8Zdq9UWVyTQVkFU1FRg/qClGBJydUvpmM02rZ55 dXZb+c0MW8u+pA9pFtImL+vn2/Ki1BmmxNSFVqX5ZYZkA+SVjsP2rw6rCHGgNM4Xp7H/ peV3BWayUF4yt8VgVhlhN77sr0lqGZJyXIOcKJpEGf1DV9IlBQxuyAz+c/ZXtr0AQoNc ONtT98sEqJToGWMX9YdEppFeILcALiR8uHjMEysYdslPw5c8VxI4wKJIBYDEQY3JlvrE ENjJ+3cAYNgIqP4opsPscII+TOwmSJPkNhgMGjKjVm3NwtRQ1emqCEppHVy6HBG4L6EU RwaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=BQfmS7nw0HEQRGgPX31iV4OrBKUT+UcG6UbaF0EkjZg=; b=YjRNza1pX3YM6Lp+jC3rmsq+pIjJSsT7nbkMP+Mf29YLyAjO8ZvhJ/0UZRv/Bf9Lht GDOfiBBI/Vz14xu05kI6GN244xZxKS6xrWQqO2khiAXa7fT0mq/3g/wMGDCzEOPBpjdb Vj6yO6i0RxKLLE49qkvW1ipByHxo2J0tzgDylda6FA3XDOSt4Dp33TWBYv0T7JguZ34c AAf4Fuw/e2QW+QK0aYuZKMV5bsW7zDs46r6YBYZKwiZ21MGQgNizWjYOU/ihY/EyRCDc DD/jg5JXwTsspF4RAB4LAcnCM7YtIKeUAW78dM7GNonIea+ZK1MGa327j4h/B+C/hi/V kK+Q== X-Gm-Message-State: AOAM532q87qkNjRvhN7q62jwwS12Rg8l5yp48imqBEum1yazPnG2AgQj 0hCfR19uJVT2YzTcvsoFFxYVvRn/otA= X-Google-Smtp-Source: ABdhPJwmxJoVaNZ6veh2FYBuqc17/jeW/3kHTAoxFcjZCyZn3240PZWnp7Ozd5Ip7ZOFomOEUzgaoA== X-Received: by 2002:a1c:9d53:: with SMTP id g80mr8159199wme.70.1596020796978; Wed, 29 Jul 2020 04:06:36 -0700 (PDT) Received: from gusbrs-laptop ([194.36.108.6]) by smtp.gmail.com with ESMTPSA id 111sm5091390wrc.53.2020.07.29.04.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 04:06:35 -0700 (PDT) From: Gustavo Barros To: Kyle Meyer Subject: Re: Repeating task hourly References: <87o8o1gpow.fsf@nivekuil.com> <87lfj5gp98.fsf@nivekuil.com> <87sgdbm4tm.fsf@kyleam.com> Date: Wed, 29 Jul 2020 08:06:30 -0300 In-Reply-To: <87sgdbm4tm.fsf@kyleam.com> (Kyle Meyer's message of "Tue, 28 Jul 2020 22:29:41 -0400") Message-ID: <87v9i6fumh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=gusbrs.2016@gmail.com; helo=mail-wm1-x32a.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: Kevin Liu , 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=tSMAo+fU; 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: 1.59 X-TUID: phMCqywvL9on Hi Kyle, Hi Kevin, On Tue, 28 Jul 2020 at 22:29, Kyle Meyer wrote: > Kevin Liu writes: > >>> Is there any way to do this or are the docs out of date? >> >> I made a few quick changes to org-habit and it works prima facie. Will >> continue testing for a bit. > > The hourly repeater came in ec921a2a6 (Support hourly repeat cookies, > 2012-04-20), well after the "less than 1d" guard was added in > org-habit.el. So, perhaps it'd make sense to update org-habit.el to > support hour repeaters, particularly if habit users say there's a need. > > As a non-habit user reading through (info "(org)Tracking your habits"), > I'm a bit worried that your patch only works superficially. That node > talks about "graphs that show every day" and "colors for each day"; does > that sort of logic break down with your proposed changes? As far as I know, indeed, org-habit provides essentially a consistency graph, which shows in the agenda the regularity of the task for a certain period, being the day the least (and only) unit of the graph (1 day = 1 character). I don't think the proposed change would break anything (just a cursory look though) but, unless I'm missing something Kevin has in mind, I don't see how it would be of use, because an hourly repeater cannot really be properly conveyed in the consistency graph of org-habit. So, as far as I understand, there is nothing wrong either in the documentation or in org-habits. It is just that habits tasks are a particular kind of repeating task, and tasks that repeat in frequencies smaller than a day cannot be properly represented in the consistency graphs, though they work as documented in other cases. Kevin, how do you see an hourly repeater would work with org-habit's consistency graph? Or, more generally, what would be the purpose of an hourly repeated habit task? Best, Gustavo.