emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: Bug: Inconsistent effort handling in clock totals in maint [9.1.13 (release_9.1.13 @ /home/bernt/git/org-mode/lisp/)]
Date: Sat, 12 May 2018 00:33:52 -0400	[thread overview]
Message-ID: <87lgcpqyq7.fsf@norang.ca> (raw)


Hi,

I noticed maint (and master) has inconsistent handling for effort amounts

Below is an ECM to reproduce the behaviour.

Thanks for Org-Mode!

Regards,
Bernt

--- test.org -----------------------------------------------------------------------------
#+FILETAGS: TEST
#+STARTUP: content

*Keys To Reproduce*

1) Expand window to full screen so you can see the clock modeline total in step 4

2) Go to first headline
   C-c C-n

3) Go to do something
   C-c C-n

4) Clock in
   C-c C-x C-i

   Notice modeline total has [0:05/0:15]
   So 'do something' has an effort of 15 minutes.  It may be entered wrong but it is a bare 15 value
   instead of 15:00 or 00:15

   :EFFORT:   15

6) Go back to Test Parent
   C-c C-p

7) Enter column mode
   C-C C-x C-c

   Notice the total Effort is 15 hours and 30 minutes
   Column mode is using the 15 effort as hours not minutes while clocking uses it as minutes.
   When I run into this I change the effort value to either 15:00 or 00:15 but it would be better if it was handled consistently.
   
* TODO Test Parent                                          :PRODUCTION:MISC:
  :PROPERTIES:
  :EFFORT:   15:30
  :END:
** TODO do something
   :PROPERTIES:
   :EFFORT:   15
   :END:
   :LOGBOOK:
   CLOCK: [2018-05-12 Sat 00:23]--[2018-05-12 Sat 00:23] =>  0:00
   CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] =>  0:00
   CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] =>  0:00
   CLOCK: [2018-05-12 Sat 00:07]--[2018-05-12 Sat 00:08] =>  0:01
   CLOCK: [2018-05-12 Sat 00:00]--[2018-05-12 Sat 00:04] =>  0:04
   :END:
** TODO foo                                                             :BAR:
   :PROPERTIES:
   :EFFORT:   00:30
   :END:


--- test.el ------------------------------------------------------------------------------
; Set default column view headings: Task Effort Clock_Summary
(setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:} %10CLOCKSUM")

(setq org-agenda-clockreport-parameter-plist
      (quote (:link t :maxlevel 9 :fileskip0 t :compact t :narrow 80)))


------------------------------------------------------------------------------------------

Emacs  : GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-09-17
Package: Org mode version 9.1.13 (release_9.1.13 @
 c:/D-Drive/bin/org-mode/lisp/)

             reply	other threads:[~2018-05-12  4:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-12  4:33 Bernt Hansen [this message]
2018-05-13 21:36 ` Bug: Inconsistent effort handling in clock totals in maint [9.1.13 (release_9.1.13 @ /home/bernt/git/org-mode/lisp/)] Nicolas Goaziou
2018-05-14  0:53   ` Bernt Hansen
2018-05-14 12:46     ` Nicolas Goaziou
2018-05-14 15:52       ` Bernt Hansen
2018-06-19 14:35         ` Nicolas Goaziou
2018-06-19 15:31           ` Bernt Hansen

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87lgcpqyq7.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).