From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Makarov Subject: Re: Bug: property ":CLOCK_MODELINE_TOTAL: today" has no effect. Date: Sun, 16 Aug 2015 18:31:22 +0200 Message-ID: References: <87h9nz8ba9.fsf@kyleam.com> Reply-To: dmakarv@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZR0qC-0004lk-RL for emacs-orgmode@gnu.org; Sun, 16 Aug 2015 12:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZR0qB-0007oB-Hu for emacs-orgmode@gnu.org; Sun, 16 Aug 2015 12:31:24 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:34868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZR0qB-0007o4-C0 for emacs-orgmode@gnu.org; Sun, 16 Aug 2015 12:31:23 -0400 Received: by iodt126 with SMTP id t126so128905492iod.2 for ; Sun, 16 Aug 2015 09:31:22 -0700 (PDT) In-Reply-To: <87h9nz8ba9.fsf@kyleam.com> 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: Kyle Meyer Cc: emacs-orgmode@gnu.org The problem seems to be in the order of :PROPERTIES: v. :LOGBOOK:. If I move :PROPERTIES: above :LOGBOOK: block in the file, then the mode line starts displaying the correct time for the task. It used to work before the regardless of the ordering the :PROPERTIES: and :LOGBOOK: blocks, so I considered it a bug. Also, it's 'org-mode' that put the blocks in the specific order I have in my file, since I didn't manually typed the "PROPERTIES: and :LOGBOOK: into the file in a particular order. Regards, Dmitri On Sun, Aug 16, 2015 at 6:10 PM, Kyle Meyer wrote: > Dmitri Makarov writes: > >> After update to Org-mode version 8.3.1 (8.3.1-16-gf6aa53-elpa) the >> property "CLOCK_MODELINE_TOTAL" value "today" has no effect. The >> modeline timing for a task display the total time for the task, not >> the time since the start of the current day. >> >> GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.4.0, NS appkit-1348.17 >> Version 10.10.4 (Build 14E46)) of 2015-08-12 > > I'm unable to reproduce this (using emacs -Q with Org 8.3.1-95-g25b02e > and Emacs 25.0.50.1) on the following example. > > * h > :PROPERTIES: > :CLOCK_MODELINE_TOTAL: today > :END: > :LOGBOOK: > CLOCK: [2015-08-16 Sun 02:53]--[2015-08-16 Sun 08:53] => 6:00 > CLOCK: [2015-08-15 Mon 02:53]--[2015-08-15 Mon 08:53] => 6:00 > :END: > > Running 'C-c C-x C-i' on above reports 6:00 in the modeline. > s/today/all/ shows 12:00. Does the above work correctly for you? If > so, can you provide a minimal example that doesn't work for you? > > -- > Kyle