emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Inconsistent effort handling in clock totals in maint [9.1.13 (release_9.1.13 @ /home/bernt/git/org-mode/lisp/)]
@ 2018-05-12  4:33 Bernt Hansen
  2018-05-13 21:36 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Bernt Hansen @ 2018-05-12  4:33 UTC (permalink / raw)
  To: emacs-orgmode


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/)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-19 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-12  4:33 Bug: Inconsistent effort handling in clock totals in maint [9.1.13 (release_9.1.13 @ /home/bernt/git/org-mode/lisp/)] Bernt Hansen
2018-05-13 21:36 ` 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

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).