all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitri Makarov <dmakarv@gmail.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: property ":CLOCK_MODELINE_TOTAL: today" has no effect.
Date: Sun, 16 Aug 2015 18:31:22 +0200	[thread overview]
Message-ID: <CANLX=WjPnrenbpSXdBSPo__Apz7aV3zWqgo0yxgUMoPcdPbxhA@mail.gmail.com> (raw)
In-Reply-To: <87h9nz8ba9.fsf@kyleam.com>

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 <kyle@kyleam.com> wrote:
> Dmitri Makarov <dmakarv@gmail.com> 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

  parent reply	other threads:[~2015-08-16 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 14:55 Bug: property ":CLOCK_MODELINE_TOTAL: today" has no effect Dmitri Makarov
2015-08-16 16:10 ` Kyle Meyer
2015-08-16 16:22   ` Dmitri Makarov
2015-08-16 16:31   ` Dmitri Makarov [this message]
2015-08-16 16:41     ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANLX=WjPnrenbpSXdBSPo__Apz7aV3zWqgo0yxgUMoPcdPbxhA@mail.gmail.com' \
    --to=dmakarv@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.