From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yCUzJaLM5masJgEAqHPOHw:P1 (envelope-from ) for ; Sun, 15 Sep 2024 12:01:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yCUzJaLM5masJgEAqHPOHw (envelope-from ) for ; Sun, 15 Sep 2024 14:01:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iPIKywMW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726401698; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hLX/F0LdvY0LlKU5uQy6jCOKYoR7uMunISnlx4Fv7XY=; b=FbYweQgmFG9V26E7ja2NvXQ4osknyMvzcYobQbB2VbViqESEDkJPfYz8rmUkRPB3bISqHh eKinEZk8wSRZLkNj+Rw0bx4QEKi4zANUYpY3sUW5arj42YQtlTOWJgzFsBTgurD0mKY4Xu fi77A32PX11qIQairQz5IDtYtuUsJwS8kmzLM4GF0nVB9ItqDfGazWn32MwkrmE523kVQQ qNZB+MttmpqzlUuNilEaRNnYalUof6vi8NpkXnRm/BpyWNdAy3XXoN5GSySBWoCr+wObwv UnFPxIKc4U80j8qKtcECT3tFxC51d2q8LR8y9FtIjyMRQIFP3UkEXRxrwTTxrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726401698; a=rsa-sha256; cv=none; b=HpuWPV4+IEXoP+JaiuE5NAzvlVolHbEKz3P++hBZhtnGDJsT9noyhMVNULXxJKxsGlPVXN QYlX8ktIroamXjFOhyGUM9+N9KbNPFeBRsRpF7ZaJCwCwD9gBmfW6+drphgvNqhj4iysHk rA6OaBRiylGviT4ZRYHa0sPTHzOdCVw/loKkBEuw5ncmyrV/Pr0ynpncXsDB1H1R7khyqS AeTP+3q0FmFEEVNcpx1BiI8Pjmq5JYdseZF6k9BN8nhuLafmWvRDTuI+zcHUdfUizTnWIs 0CiX61sA61kj2BtD4Yn/D+vo6p8jAivpXvrcG9fC+isGZSjVxgVR9TRUJbsIbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iPIKywMW; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 275B11BBF5 for ; Sun, 15 Sep 2024 14:01:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spnw5-0003eK-SN; Sun, 15 Sep 2024 08:01: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 1spnvx-0003aZ-8Q for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:00:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spnvs-0006Qk-Ea for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:00:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C097C240103 for ; Sun, 15 Sep 2024 14:00:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726401645; bh=HunXkTLmiXEYHBi9kj1tTGRi4c525gBf5rDRGD6nUNE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=iPIKywMWs9UKnorBQSuV1ZBnLIYbk/A23oZg1QcuvfAXDq3RJgnpIMNmydCHxjJZR LBjejy3J7gM1yHx2xsIVra30Zul8NSF/MbMU4wWPQFB99GXeaDRGaNpWEbNX6N4WpJ bYs90lhCYKrIBXMfkh23V/Z/ZWMXzz6vSuHxwpgD/xFu5kWG2E3VvnyNKILfIesE7t EtbRH71QZeeVCn4IwEWlpRKwKALEE/cgmVCooN0TqNaXzdg/LMMEBD/ox8BSg5Mv5p ElihYkMCD6iW+CePU5jhqx3IPsYjEH8GYpVjI3xxx/PyVoCar+ZEpMx+K20RvS3CmY gHFMiJFqGrUVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X667c64Vcz9rxB; Sun, 15 Sep 2024 14:00:44 +0200 (CEST) From: Ihor Radchenko To: Guido Stevens Cc: emacs-orgmode@gnu.org Subject: Re: support range durations In-Reply-To: References: Date: Sun, 15 Sep 2024 12:02:18 +0000 Message-ID: <8734m1ktv9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.73 X-Migadu-Queue-Id: 275B11BBF5 X-Spam-Score: -9.73 X-TUID: F940C151/pQm Guido Stevens writes: > As per https://orgmode.org/manual/Column-attributes.html I'm using range > durations to express effort estimations. Those get summarized nicely in > column views, using the {est+} summarizer. But when I access an agenda > view that encounters a task that has such a range duration directly set, > the agenda chokes with an error message: > > org-duration-to-minutes: Invalid duration format: "1d-2d" May you please provide more details on how to trigger the error? > ... > * lisp/org-duration.el (org-duration-to-minutes): Do not choke on > low-high range durations (e.g. "2d-5d") when rendering an agenda. Calculate the average > of the range instead. > > Range durations are valid when estimating effort, and supported > elsewhere via the {est+} summarizer. Org mode durations have no notion of ranges. It is completely org-colview thing. So, modifying `org-duration-to-minutes' is not appropriate. We need to fix org-colview, not org-duration. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at