From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GZ81ILOUS2AncgAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 16:20:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6KalG7OUS2C5WwAAbx9fmQ (envelope-from ) for ; Fri, 12 Mar 2021 16:20:03 +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 94C851FC7C for ; Fri, 12 Mar 2021 17:20:02 +0100 (CET) Received: from localhost ([::1]:46262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKkW8-0008JO-SK for larch@yhetil.org; Fri, 12 Mar 2021 11:20:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKkRm-0005P8-5m for emacs-orgmode@gnu.org; Fri, 12 Mar 2021 11:15:31 -0500 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:54430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKkJj-0005xQ-GY for emacs-orgmode@gnu.org; Fri, 12 Mar 2021 11:07:14 -0500 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 40239E50F0 for ; Fri, 12 Mar 2021 17:07:04 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8NgB3ljXhtWQ for ; Fri, 12 Mar 2021 17:07:04 +0100 (CET) Received: from Inspiron (lfbn-idf2-1-1362-224.w92-169.abo.wanadoo.fr [92.169.171.224]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 2CA05E505D for ; Fri, 12 Mar 2021 17:07:04 +0100 (CET) From: Firmin Martin To: emacs-orgmode@gnu.org Subject: Bug: Clock date range with the enclosing markup <> are not fully supported [9.4.4 (9.4.4-27-gb712b9-elpaplus)] Date: Fri, 12 Mar 2021 17:07:01 +0100 Message-ID: <8735x04aqi.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=140.77.167.81; envelope-from=firmin.martin@ens-lyon.fr; helo=lxc-smtp2.ens-lyon.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , 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=1615566003; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=afdT+9tdcxDX8hk6zb42p9jncrMKg3XtNBsSXKuUZnE=; b=bNBjDef47yaZzw1bc1tSsEObrPoFQnKxRPSERzcRn92YMXFQd1d4NdE/qqYKKMGraio4ET J4cuCbdGgqfcFjXaJayZZaFDmMZ10iDRG7vVYfzRg7qFZWQa2XdpwUCRfvmi+Vlj/1PcxF zXP8CE4CCvJmBjoPlbreHfmSsK5ZuDIwrICEdkrSKwOf/MyNmH9vkmqXD7updZsAnVUJig y/m7mG6uqYYBnwwJYq3dKxd/MRkbyr99tWECH7DowD8JkzZatLxXhIEXOW1qr16CQgK+WX 9bQ4Qd64EPVYJKMQXehk4nK5FVMXvmUSqtvyz4CN8/MC1xqe8y2iOS/77lgXEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615566003; a=rsa-sha256; cv=none; b=r/wdr2vZ1yADkMtu1eRxS5R3jrb1qmQ5SoE4OXdUXrt4Jzy4Wr3bfNQZ9IqoRQbKsK7AHj taGwPV2iA566pm/db5Ht8147VzLvYUMfmFdpeuX5ilnQa3cNljPVKlbTB39pYDCgmxzd9w 1l9TXRxftg7rKLKq4UkzZUZRvZX9a1B3iWZe8gt0k61ks6leda4mzkmQ1p2h7NbPHkI5sr CcRe0lBRFN/m3Ao6zYAjtC+oC8ReoX0jBWWmLJ3CGDWuRVMXdiA38gp+OBnPU+IQV4sXQ1 BpvkFiQde1TGokjJ/leKuZrDrIN2wopZN1I0OjxMPyNr6C4dEtJZ7UIEYTvS3w== 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.39 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: 94C851FC7C X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: u01y0TXyD+Hs I have manually changed a clock date range in a task's logbook using the shortcut =C-c .= (org-time-stamp). It modified the Org timestamp to the date I wanted, but changed the enclosing markup from [] to <>. I didn't pay much attention on it as C-c C-c (org-ctrl-c-ctrl-c) updated correctly the total time. But it happens that the change from [] to <> markup is enough to let - clock table - org-agenda-columns' CLOCKSUM_T property completely ignore the clock entry I modified. I tested that after changing the enclosing markup from <> to [], everything works as expected. BTW, org-lint reports nothing on this. Below is a minimal not working example. 1. In ~/test.org, put the following content. * TODO Task SCHEDULED:<2021-03-13 sam. ++1d> :PROPERTIES: :Effort: 1:00 :LAST_REPEAT: [2021-03-12 ven. 12:39] :END: :LOGBOOK: - State "DONE" from "TODO" [2021-03-12 ven. 12:39] CLOCK: <2021-03-12 ven. 09:15>--<2021-03-12 ven. 12:15> => 3:00 :END: 2. Insert the dynamic clock table and press C-c C-c on it #+BEGIN: clocktable :scope ("~/test.org") :maxlevel 8 :block 2021-03-12 #+END: the task does not show up. 3. Put this file in your agenda files and set agenda columns (add-to-list org-agenda-files "~/test.org") (setq org-columns-default-format-for-agenda "%50ITEM(Task) %2PRIORITY %10Effort(Effort){:} %10CLOCKSUM_T") 4. Now open org agenda in "columns mode" (org-agenda-list) (org-agenda-columns) The task's CLOCKSUM_T field is empty. 5. Finally, replace the CLOCK property timestamp enclosing markup from <> to [] in test.org. Try again 2. and 4. Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-01-20 Package: Org mode version 9.4.4 (9.4.4-27-gb712b9-elpaplus)