From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QA04DCqmpmAURQEAgWs5BA (envelope-from ) for ; Thu, 20 May 2021 20:10:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QHfrByqmpmCsZQAA1q6Kng (envelope-from ) for ; Thu, 20 May 2021 18:10:50 +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 8057127EE7 for ; Thu, 20 May 2021 20:10:49 +0200 (CEST) Received: from localhost ([::1]:48724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljn8A-00047W-4w for larch@yhetil.org; Thu, 20 May 2021 14:10:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljmwN-0004n5-S9 for emacs-orgmode@gnu.org; Thu, 20 May 2021 13:58:35 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:52579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljmwL-0000ua-Q1 for emacs-orgmode@gnu.org; Thu, 20 May 2021 13:58:35 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 2E3F9C0003; Thu, 20 May 2021 17:58:28 +0000 (UTC) From: Nicolas Goaziou To: Axel Kielhorn Subject: Re: Updating column view dynamic block does not work with {est+} References: <20DC75FD-5757-4F9C-8AD1-3B64FE4ECF3C@axelkielhorn.de> Mail-Followup-To: Axel Kielhorn , Org-Mode Mailing List Date: Thu, 20 May 2021 19:58:28 +0200 In-Reply-To: <20DC75FD-5757-4F9C-8AD1-3B64FE4ECF3C@axelkielhorn.de> (Axel Kielhorn's message of "Thu, 20 May 2021 19:12:07 +0200") Message-ID: <877djt1e4b.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: Org-Mode Mailing List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621534249; 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=xjgbLPOfU05Tx5hww9CiOaSffwK3BpgcpeIShtpuj+Q=; b=u4fWp8xNAO2YZ1OAbfrP0vEueds1JC2jt9EcUtlI8RuE4NiOAHTAeHvnHg4TNg+R7RaIHq PM9TIWyND8aa7OvXig0DujpseygwZ8ha9Bi3I+yx5z2nrhEKXXz7AngZRbAfmVhK36ASdn b7pQpdY//LizR5GX7DjO6/UOwssOmzWFzFaxdMl8aDGfOS3su8T8CpkWYcz3SZXDbbaYVa k/Wvlx43sPPIDaR5cGGinuApR2QN1+gMo80mhBq8rygstLKaRidt0tqLrGrnXCNDf8nmNR kf0HVGTYz9qD4gHePhi23GupLSE+plZTT9YHhKBlf2cMir40A2VbXK+SH2hhEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621534249; a=rsa-sha256; cv=none; b=dGAXuBLMwbCTQpiqCpvxxn8nfP0qx9IKXFoAZWsi/YU83soM4W1wcWsl1j6JjNQMA4lzL8 YpuXZ5uWZbeh3CFD7mo+zjI5QDze2DQ4kbBDmr+voGcIuJrU97i//yMjjUkPCU138HBpgK YmZ41gJOXNQ43iFSB6TwuseVb341LJGd3tfwp9Pw9tF7EfCYJN7TkJzNzQJZ1udiwkDNf8 +AwT6iVoWTDGJSx4uGUOma2gyVphb8Z7KwJz6I0t4CVolX4RMBxkL5MMjyBXMTn+Vcn9S8 GIxujY6Gxo20o+swTYd4UmrhAmtI1era3bgyLZIgaq5hce7uSNlYtnUOxLqSUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Migadu-Queue-Id: 8057127EE7 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: HYejM9oNE8np Hello, Axel Kielhorn writes: > In columnview mode the estimate is calculated[1] but the dynamic block do= esn=E2=80=99t get updated. > > I did some bisecting and the last version where both column view and dyna= mic block were working is: > > Merge branch 'maint' 1aeb958e5 Marco Wahl 12.02= .2017, 09:19 > > In > > Use Org duration library 7e8cf5f4c Nicolas Goaziou 13.02.2017, 14:41 > > neither column view nor dynamic block is working. > > > > For the column view this was fixed in: > > Merge branch 'maint' 2f200f50d Bastien 03.05.2021, 15:59 > > (But I don=E2=80=99t understand how this fixes the problem.) > > For the dynamic block the updating does not work. > Since this was broken for 4 years I think no-one uses it. > > [1] The =E2=80=9Eest+=E2=80=9C function only adds integers and doesn=E2= =80=99t work with times like 0:15. > This is to be expected since it is a =E2=80=9E+=E2=80=9C function, otherw= ise it would be =E2=80=9Eest:=E2=80=9C. > One could argue that an =E2=80=9Eest:=E2=80=9C function would be more app= ropriate,=20 > but since no-one seems to use this feature, I=E2=80=99m not the one to ar= gue that. > > Maybe a note in the documentation would be sufficient: > > Note that this is a =3D+=3D function that adds numbers, not a =3D:=3D whi= ch handles times. > > Do you want a patch for that? I think the issue is different.=20 Org Duration is strict about what it is fed with (which is good). Effort property expects a duration as value. But "3-8" is not a valid duration. However, "3" is a valid duration; it means 3 minutes. Maybe Effort property should simply accept a duration or a duration range. Regards, --=20 Nicolas Goaziou