Re: [O] Bug: Clock table reports wrong data [9.0.9]
Great! It just works! Sent with [ProtonMail](https://protonmail.com) Secure Email. > Original Message > Subject: Re: Bug: Clock table reports wrong data [9.0.9] > Local Time: July 4, 2017 12:20 AM > UTC Time: July 3, 2017 10:20 PM > From: m...@nicolasgoaziou.fr > To: Pierre-Henry F.> emacs-orgmode\@gnu.org > Hello, > "Pierre-Henry F." writes: >> Hello! Given: ** test >> >> #+BEGIN: clocktable :maxlevel 3 :scope subtree :block 2017-07-03 >> #+CAPTION: Clock summary at [2017-07-03 Mon 19:30], for Monday, July 03, >> 2017. >> >> | Headline | Time | | >> |--++--| >> | *Total time* | *1:55* | | >> |--++--| >> | \_ test | | 1:55 | >> #+END: >> :LOGBOOK: >> CLOCK: [2017-07-02 Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15 >> :END: >> If I move the cursor to the "#+BEGIN:" line then "C-c", the table >> reports wrong data. Since ":block 2017-07-03" and "CLOCK: [2017-07-02 >> Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15" then the "*Total time*" >> should be: "0" but it is "*1:55*". > Fixed. Thank you. > Regards, > -- > Nicolas Goaziou
Re: [O] Bug: Clock table reports wrong data [9.0.9]
Hello, "Pierre-Henry F."writes: > Hello! Given: ** test > > #+BEGIN: clocktable :maxlevel 3 :scope subtree :block 2017-07-03 > #+CAPTION: Clock summary at [2017-07-03 Mon 19:30], for Monday, July 03, 2017. > > | Headline | Time | | > |--++--| > | *Total time* | *1:55* | | > |--++--| > | \_ test | | 1:55 | > #+END: > :LOGBOOK: > CLOCK: [2017-07-02 Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15 > :END: > If I move the cursor to the "#+BEGIN:" line then "C-c", the table > reports wrong data. Since ":block 2017-07-03" and "CLOCK: [2017-07-02 > Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15" then the "*Total time*" > should be: "0" but it is "*1:55*". Fixed. Thank you. Regards, -- Nicolas Goaziou
[O] Bug: Clock table reports wrong data [9.0.9]
Hello! Given: ** test #+BEGIN: clocktable :maxlevel 3 :scope subtree :block 2017-07-03 #+CAPTION: Clock summary at [2017-07-03 Mon 19:30], for Monday, July 03, 2017. | Headline | Time | | |--++--| | *Total time* | *1:55* | | |--++--| | \_ test | | 1:55 | #+END: :LOGBOOK: CLOCK: [2017-07-02 Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15 :END: If I move the cursor to the "#+BEGIN:" line then "C-c", the table reports wrong data. Since ":block 2017-07-03" and "CLOCK: [2017-07-02 Sun 20:40]--[2017-07-02 Sun 23:55] => 3:15" then the "*Total time*" should be: "0" but it is "*1:55*". Emacs : GNU Emacs 25.2.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-04-21 Package: Org mode version 9.0.9 current state: == (setq org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . graphviz-dot) ("sqlite" . sql) ("calc" . fundamental) ("C" . c) ("js" . js2) ("cpp" . c++) ("C++" . c++) ("screen" . shell-script)) org-export-backends '(ascii beamer html icalendar latex org md) org-hide-leading-stars t org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-agenda-skip-deadline-prewarning-if-scheduled t org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(closure (htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (_name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-link-search-must-match-exact-headline nil org-agenda-skip-scheduled-if-done t org-latex-format-headline-function 'org-latex-format-headline-default-function org-enable-table-editor t org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("WAIT" :foreground "orange" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("CANCELLED" :foreground "white" :weight bold)) org-capture-templates '(("p" "personal" entry (file+headline user/tasks-file "tasks") "* TODO \n DEADLINE: %t" :prepend t :clock-in t :clock-resume t) ) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(closure (t) (_ contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((closure (org-inlinetask-min-level buffer-face-mode-face org-struct-menu org-last-state texmathp-why remember-data-file iswitchb-temp-buflist align-mode-rules-list t) nil (add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (closure (org-inlinetask-min-level buffer-face-mode-face org-struct-menu org-last-state texmathp-why remember-data-file iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-export-registered-backends t) nil (add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (closure (*this* org-babel-confirm-evaluate-answer-no t) nil (add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) org-clock-load org-shortcuts er/add-org-mode-expansions #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-agenda-repeating-timestamp-show-all nil org-ascii-format-drawer-function '(closure