From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: CLOCKSUM counts appointments excluded by tag Date: Tue, 9 Dec 2014 22:48:26 +0000 Message-ID: References: <87zjb3koen.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158c09a5323a20509d057c0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyTa1-0006qp-Mf for Emacs-orgmode@gnu.org; Tue, 09 Dec 2014 17:48:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyTa0-0003BQ-1G for Emacs-orgmode@gnu.org; Tue, 09 Dec 2014 17:48:29 -0500 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:62253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyTZz-0003BM-Jc for Emacs-orgmode@gnu.org; Tue, 09 Dec 2014 17:48:27 -0500 Received: by mail-la0-f50.google.com with SMTP id pn19so1413330lab.37 for ; Tue, 09 Dec 2014 14:48:26 -0800 (PST) In-Reply-To: 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 --089e0158c09a5323a20509d057c0 Content-Type: text/plain; charset=UTF-8 On 9 December 2014 at 21:35, Myles English wrote: > I made a mistake in my first mail: the totals are for the Effort property > not CLOCKSUM. > > Can no one confirm this? Is there something else wrong with my post? The > situation is the same after pulling from master today. > > > On 4 December 2014 at 22:58, Myles English wrote: > >> 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. >> > Yes, I can see similar behaviour for clocked tasks. That is to say, with this file contents: #+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM * TODO Earn money :PROPERTIES: :Effort: 0:10 :END: * TODO Drink tea :a: :PROPERTIES: :Effort: 0:30 :END: #start emacs $ emacs -Q M-x org-agenda < ;; narrow to current buffer t ;; see all TODOs C-c C-x C-c ;; see column view / - TAB a ;; exclude the item tagged :a: And the result looks something like this: Task | Estimated Effort ____________________________________________________ Global list of TODO items of type: ALL Available with `N r': (0)[ALL] (1)TODO | 0:40 TODO Earn money | 0:10 Myles --089e0158c09a5323a20509d057c0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 9 December 2014 at 21:35, Myles English <mylesenglish@gmail.co= m> wrote:
I made a mistake in my first mail: the totals are for th= e Effort property not CLOCKSUM.

Can no one confirm this?=C2=A0 Is th= ere something else wrong with my post?=C2=A0 The situation is the same afte= r pulling from master today.


On 4 December 2014 at 22:58, Myles English <= mylesenglish@gmail.com> wrote:
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.=C2=A0 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){:} %10CLOCKS= UM"

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
;;|=C2=A0 =C2=A0SCHEDULED: <2014-12-04 Thu 9:00-10:00>
;;|
;;| * Earn money=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:spous= e:
;;|=C2=A0 =C2=A0SCHEDULED: <2014-12-04 Thu 09:00-20:00>
;;|
;;| * Drink tea
;;|=C2=A0 =C2=A0SCHEDULED: <2014-12-04 Thu 10:00-16:00>
;;`------------------------------------------------------------------------= ------


C-c a < a=C2=A0 =C2=A0 =C2=A0 =C2=A0;; get the agenda for the current te= st file
C-c C-x C-c=C2=A0 =C2=A0 =C2=A0;; turn on column view

;;,------------------------------------------------------------------
;;| Thursday=C2=A0 =C2=A0 4 December 2014=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 18:= 00 |
;;|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 8:00...... -----= -----------
;;| * Nail org mode bug=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| 1:00=C2=A0 |
;;| * Earn money=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 | 11:00 |
;;| * Drink tea=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| 6:00=C2=A0 |
;;`------------------------------------------------------------------


/ - 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=C2=A0 =C2=A0 4 December 2014=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 18:= 00 |
;;|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 8:00...... -----= -----------
;;| * Nail org mode bug=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| 1:00=C2=A0 |
;;| * Drink tea=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| 6:00=C2=A0 |
;;`------------------------------------------------------------------

I would have expected something this:

;;,-----------------------------------------------------------------
;;| Thursday=C2=A0 =C2=A0 4 December 2014=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 7:0= 0 |
;;|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 8:00...... -----= -----------
;;| * Nail org mode bug=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| 1:00 |
;;| * Drink tea=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| 6:00 |
;;`-----------------------------------------------------------------

and am therefore disappointed.

I haven't investigated if this happens for simple clocked time as well<= br> as appointments yet.

Yes, I can see similar behaviour for clocked tasks.=C2=A0 That is to= say, with this file contents:

#+COLUMNS: %40ITEM(Task) %17Effort(Es= timated Effort){:} %CLOCKSUM
* TODO Earn money
=C2=A0 :PROPERTIES:=C2=A0 :Effort:=C2=A0=C2=A0 0:10
=C2=A0 :END:

* TODO Drink tea= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 :a:
=C2= =A0 :PROPERTIES:
=C2=A0 :Effort:=C2=A0=C2=A0 0:30
=C2=A0 :END:
#start emacs
$ emacs -Q

M-x org-agenda
= <=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; narrow to current buffer
t=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; see all TODOs
C-c C-x C-c= =C2=A0 ;; see column view
/=C2=A0 - TAB a =C2=A0 =C2=A0 ;; ex= clude the item tagged :a:

And the result looks something= like this:

Task=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | Estimated Effort
____= ________________________________________________
Global list of TODO ite= ms of type: ALL
Available with `N r': (0)[ALL] (1)TODO=C2=A0=C2=A0 |= 0:40
=C2=A0 TODO Earn money=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 0:10

Myles

--089e0158c09a5323a20509d057c0--