From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: CLOCKSUM counts appointments excluded by tag Date: Thu, 04 Dec 2014 22:58:55 +0000 Message-ID: <87zjb3koen.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwfRq-0008GX-7F for Emacs-orgmode@gnu.org; Thu, 04 Dec 2014 18:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwfRh-0002E7-6m for Emacs-orgmode@gnu.org; Thu, 04 Dec 2014 18:04:34 -0500 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:55608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwfRg-0002DX-OI for Emacs-orgmode@gnu.org; Thu, 04 Dec 2014 18:04:25 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so15690596wgh.19 for ; Thu, 04 Dec 2014 15:04:23 -0800 (PST) Received: from localhost (host31-48-248-181.range31-48.btcentralplus.com. [31.48.248.181]) by mx.google.com with ESMTPSA id ep9sm8674981wid.3.2014.12.04.15.04.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Dec 2014 15:04:22 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode Hello, I am using git master from yesterday (commit 6d2a661f) and have found that when the agenda is narrowed by tag (i.e. all appointments marked with a certain tag are excluded), the clocksum still shows the un-narrowed total. Is this the correct behaviour, or a bug? Selected variables: org-agenda-columns-add-appointments-to-effort-sum is t org-columns-default-format: "%80ITEM(Task) %10Effort(Effort){:} %10Duration(Duration){:} %10CLOCKSUM" org-global-properties: (("Effort_ALL" . "0:00 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00 16:00 24:00 32:00")) Test org file: ;;,------------------------------------------------------------------------------ ;;| * Nail org mode bug ;;| SCHEDULED: <2014-12-04 Thu 9:00-10:00> ;;| ;;| * Earn money :spouse: ;;| SCHEDULED: <2014-12-04 Thu 09:00-20:00> ;;| ;;| * Drink tea ;;| SCHEDULED: <2014-12-04 Thu 10:00-16:00> ;;`------------------------------------------------------------------------------ C-c a < a ;; get the agenda for the current test file C-c C-x C-c ;; turn on column view ;;,------------------------------------------------------------------ ;;| Thursday 4 December 2014 | 18:00 | ;;| 8:00...... ---------------- ;;| * Nail org mode bug | 1:00 | ;;| * Earn money | 11:00 | ;;| * Drink tea | 6:00 | ;;`------------------------------------------------------------------ / - TAB 'spouse' ;; narrow by excluding the item tagged 'spouse' See how the 18:00 has counted the 11:00 that should have been excluded: ;;,------------------------------------------------------------------ ;;| Thursday 4 December 2014 | 18:00 | ;;| 8:00...... ---------------- ;;| * Nail org mode bug | 1:00 | ;;| * Drink tea | 6:00 | ;;`------------------------------------------------------------------ I would have expected something this: ;;,----------------------------------------------------------------- ;;| Thursday 4 December 2014 | 7:00 | ;;| 8:00...... ---------------- ;;| * Nail org mode bug | 1:00 | ;;| * Drink tea | 6:00 | ;;`----------------------------------------------------------------- and am therefore disappointed. I haven't investigated if this happens for simple clocked time as well as appointments yet. Myles P.S. Sorry for the ugly boxes, I can't remember how to get the nice ones.