From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KIOIOl3pF2amfwAA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Apr 2024 15:45:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KIOIOl3pF2amfwAA62LTzQ (envelope-from ) for ; Thu, 11 Apr 2024 15:45:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XREjCqre; 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=1712843101; 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=z2X9cbgBrdlnmmqOSzfVrjWQhUwiKeps14cucpMWJTg=; b=oRd4a7LeviMali6RtxBhzvlaoFTk5lmh15AdbNuEmyX12FzPwAY5QwshJubw1uJ6+UAw7+ hR2NU5TyW1e1TX7HqVrfYlbsGa7u83w0JpJ2vgDTZKft8u0CUnAsZt3ULUmEJP65QwSX3M caU2a0jcn8V6o+9C61kbxjFXHtRqcKtLAM73rpXx3sHxfXEvELZj19NEPqBzn3KJqeAJRr VnxZX5a1NE40mXe8tH/REChJsbdzWxz/lnGM81dnQKmht0B6LbIMyrFPrIS3gOpCNq6JUu NXRIeUDmUVTUXyr0OnXDG8PQwhBz2Tx7Eix/D+d4HxHZ94AwmakpXej3eROtgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712843101; a=rsa-sha256; cv=none; b=aQJuUJmLEVbkX8ARkfMYPNr7J2aQBcLLj6MUM/zYK49ejJlsiTzUfjHt3brz+UVHj0cPyW ufOSNGfp1pBFHV95hPEjXdhtaXG9jIeOtz+r/7wqaEBsq37AR3I6pnO2sUd86aUD1dl7G5 Q4b91mAVILECxxdaL+nkl0mUPQH+x/MDKStl+il1/XyqAQV90pe4QNhYR6gtCjPaJqJZK1 bjaYUq8AGJ8DcQE6vpNFnQ7Q7+N6nxv2A0Awpukn3qWHrzQFDx9P412BDuPjIXmN3wqFDZ 1r3R0iIbEWjj69M6+/9A1S1aLKD6Cn5bClt42AOxTFEQiMb5hVjLvNozdce+sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XREjCqre; 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 AC02816F76 for ; Thu, 11 Apr 2024 15:45:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruuii-0004N1-Bh; Thu, 11 Apr 2024 09:44:04 -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 1ruuig-0004Mq-8p for emacs-orgmode@gnu.org; Thu, 11 Apr 2024 09:44:02 -0400 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 1ruuid-0000YI-5v for emacs-orgmode@gnu.org; Thu, 11 Apr 2024 09:44:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A2691240029 for ; Thu, 11 Apr 2024 15:43:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712843036; bh=u5EfgOZrux6rTqYwsApY501AmZ08KSo34ZNuNTZq/i8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=XREjCqreeEmsShnepJwKuIz7y6I99wovDUA6Um0wtFu6CmtCcldLhhVVmAFQerx14 r9fPfsEi6lRMk8vnfzLugVtTvlVxgOqIeELSxpV4TdnoYJPuWM5FHIyu5GUY7rYWkj vtSIeBiO3muaH6KuM3GXFiLRXDy36p5FDHyIJPupSaOWo8cWN8iM0PBRfc+4kExU++ v0k2zIz55LfesPMjN7hhXU52cWtyUlLUiLD0zYxan9ZgS4jD98CwHgRnvwYKdNU0OK O84IIDaTiklpZ7LpN4iaQfs0qTEDEl5rD3/wIltslMzarwmgV3EzVJHM1IjHv5Lebs mDALKQfy7qUmg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VFgs76yMkz6tvl; Thu, 11 Apr 2024 15:43:55 +0200 (CEST) From: Ihor Radchenko To: Alexander Adolf Cc: emacs-orgmode@gnu.org Subject: Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM In-Reply-To: <486d2b818b62c71b3f307305c06c4318@condition-alpha.com> References: <486d2b818b62c71b3f307305c06c4318@condition-alpha.com> Date: Thu, 11 Apr 2024 13:44:22 +0000 Message-ID: <871q7cypxl.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-Migadu-Queue-Id: AC02816F76 X-Migadu-Scanner: mx13.migadu.com X-TUID: MCyO3Ls0vHnn Alexander Adolf writes: > it seems that the time summing behaviour of columnview dynamic blocks is > different for CLOCKSUM than for EFFORT columns with respect to how the > contributions from sub-headlines are handled. When summing up CLOCKSUM > columns, a parent headline can have its own clocked time, which gets > added to the sum of its sub-items' clocked times to produce its CLOCKSUM > value. When summing up EFFORT columns, any effort a parent headline may > have been manually assigned gets overwritten with the sum of its > sub-items' efforts, however. In the example at the end of this message, > compare the results for tasks A and D. If you change the effort for > either task B or C, and then update the dynamic block, the EFFORT in the > property drawer of task A will get overwritten with the new sum of B's > and C's efforts. > > I'd have two questions regarding this: > > Does anyone recall the rationale for this different behaviour? The "default" behaviour is to store summary of all the child property value in each parent. For example, starting from #+COLUMNS: %ITEM%EFFORT{:} * 1 :PROPERTIES: :EFFORT: 0:00 :END: ** 1.1 :PROPERTIES: :EFFORT: 0:20 :END: ** 1.2 :PROPERTIES: :EFFORT: 0:20 :END: after generating column view, you will get * 1 :PROPERTIES: :EFFORT: 0:40 :END: ... This is, however, not possible for CLOCKSUM because clocksum is not an actual property, but a "special" one - it is derived from logbook data. That's why its behavior is different. In fact, CLOCKSUM property does not support custom summaries. > Is there any way to change the summation behaviour for either or both > column types? It is currently hard-coded. (Although, it is not too hard add some kind of switch). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at