* Bug: Clock table reports wrong data [9.0.9]
@ 2017-07-03 17:43 Pierre-Henry F.
2017-07-03 22:20 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Henry F. @ 2017-07-03 17:43 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 7709 bytes --]
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 (t) (_name contents _width)
contents)
org-clock-persist 'history
org-enforce-todo-dependencies t
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-list-indent-offset 2
org-todo-keywords '("TODO(t!)" "WAIT(w@/!)" "|" "DONE(d!)" "CANCELLED(c@)")
org-modules '(org-bbdb org-bibtex org-docview org-gnus org-habit org-id
org-info org-irc org-mhe org-rmail org-w3m)
org-capture-before-finalize-hook '(user/before-finalize-capture-hooks)
org-agenda-span 'month
org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el")
("elisp" . "el"))
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-log-into-drawer t
org-clock-clocktable-default-properties '(:maxlevel 3 :scope file)
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-html-format-headline-function 'org-html-format-headline-default-function
org-link-parameters '(("w3m" :store org-w3m-store-link)
("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link)
("info" :follow org-info-open :export org-info-export
:store org-info-store-link)
("id" :follow org-id-open)
("gnus" :follow org-gnus-open :store
org-gnus-store-link)
("docview" :follow org-docview-open :export
org-docview-export :store org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete org-bbdb-complete-link :store
org-bbdb-store-link)
("file+sys") ("file+emacs")
("doi" :follow org--open-doi-link)
("elisp" :follow org--open-elisp-link)
("file" :complete org-file-complete-link)
("ftp" :follow
(lambda (path) (browse-url (concat "ftp:" path))))
("help" :follow org--open-help-link)
("http" :follow
(lambda (path) (browse-url (concat "http:" path))))
("https" :follow
(lambda (path) (browse-url (concat "https:" path))))
("mailto" :follow
(lambda (path) (browse-url (concat "mailto:" path))))
("message" :follow
(lambda (path) (browse-url (concat "message:" path))))
("news" :follow
(lambda (path) (browse-url (concat "news:" path))))
("shell" :follow org--open-shell-link))
org-babel-load-languages '((emacs-lisp . t) (org . t) (dot . t)
(plantuml . t) (scheme . t) (latex . t)
(ditaa . t) (plantuml . t) (js . t))
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-agenda-mode-hook '((lambda nil
(local-set-key (kbd "<tab>") (quote org-agenda-goto)))
)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-confirm-babel-evaluate 'my-org-confirm-babel-evaluate
)
[-- Attachment #2: Type: text/html, Size: 26712 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Clock table reports wrong data [9.0.9]
2017-07-03 17:43 Bug: Clock table reports wrong data [9.0.9] Pierre-Henry F.
@ 2017-07-03 22:20 ` Nicolas Goaziou
2017-07-04 8:37 ` Pierre-Henry F.
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-07-03 22:20 UTC (permalink / raw)
To: Pierre-Henry F.; +Cc: emacs-orgmode@gnu.org
Hello,
"Pierre-Henry F." <pierrehenry.frohring@protonmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Clock table reports wrong data [9.0.9]
2017-07-03 22:20 ` Nicolas Goaziou
@ 2017-07-04 8:37 ` Pierre-Henry F.
0 siblings, 0 replies; 3+ messages in thread
From: Pierre-Henry F. @ 2017-07-04 8:37 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode\@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]
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: mail@nicolasgoaziou.fr
> To: Pierre-Henry F. <pierrehenry.frohring@protonmail.com>
> emacs-orgmode\@gnu.org <emacs-orgmode@gnu.org>
> Hello,
> "Pierre-Henry F." <pierrehenry.frohring@protonmail.com> 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
[-- Attachment #2: Type: text/html, Size: 2078 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-04 8:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-03 17:43 Bug: Clock table reports wrong data [9.0.9] Pierre-Henry F.
2017-07-03 22:20 ` Nicolas Goaziou
2017-07-04 8:37 ` Pierre-Henry F.
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).