Bernt Hansen
2018-05-12 04:33:52 UTC
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/)
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/)