From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Bug: columnview times don't accumulate properly [7.8.03 (release_7.8.03.576.gbeb02)] Date: Tue, 13 Mar 2012 12:00:07 +0000 Message-ID: <87boo07ltk.fsf@ed.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7QKi-00075l-C0 for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 07:56:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7QKb-000321-HZ for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 07:56:03 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:42969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7QKb-00031l-57 for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 07:55:57 -0400 Received: by wibhj13 with SMTP id hj13so466519wib.12 for ; Tue, 13 Mar 2012 04:55:55 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mode --=-=-= Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ 1. start with emacs -q 2. find file test-sums.org (attached) 3. adjust paths in the source block at the top of the file and evaluate (execute?) it with C-c 4. goto the columnview block and C-c I would expect a table like this to be inserted: | ITEM | Sum | |---------------------------------------------+------| | * Introduction | 5:40 | |---------------------------------------------+------| | ** test sums | 0:30 | |---------------------------------------------+------| | ** Getting warmed up | 5:10 | |---------------------------------------------+------| | *** Nitty gritty | 5:10 | | *************** TODO Do something fantastic | 5:00 | | *************** END | | |---------------------------------------------+------| | **** This is not added | 0:10 | | *************** TODO Do something else | 0:10 | | *************** END | | Hoever, the table looks like this: | ITEM | Sum | |---------------------------------------------+------| | * Introduction | 5:30 | |---------------------------------------------+------| | ** test sums | 0:30 | |---------------------------------------------+------| | ** Getting warmed up | 5:00 | |---------------------------------------------+------| | *** Nitty gritty | 5:00 | | *************** TODO Do something fantastic | 5:00 | | *************** END | | |---------------------------------------------+------| | **** This is not added | 0:10 | | *************** TODO Do something else | 0:10 | | *************** END | | i.e. the 0:10 is not being picked up in the accumulation. --=-=-= Content-Disposition: attachment; filename=test-sums.org #+COLUMNS: %50ITEM %5Effort(Sum){:} #+BEGIN_SRC emacs-lisp (setq load-path (cons "~/.emacs.d/plugins/org-mode/lisp" load-path)) (require 'org-install) (require 'org-inlinetask) (require 'org) (load "~/.emacs.d/plugins/org-mode/lisp/org.el") #+END_SRC #+results: : t (emacs-version) = "GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-02-01 on shirley.hoetzel.info" (org-version) = "Org-mode version 7.8.03 (release_7.8.03.576.gbeb02)" * Introduction ** test sums :PROPERTIES: :Effort: 0:30 :END: #+BEGIN: columnview :hlines 5 :id global | ITEM | Sum | |---------------------------------------------+------| | * Introduction | 5:30 | |---------------------------------------------+------| | ** test sums | 0:30 | |---------------------------------------------+------| | ** Getting warmed up | 5:00 | |---------------------------------------------+------| | *** Nitty gritty | 5:00 | | *************** TODO Do something fantastic | 5:00 | | *************** END | | |---------------------------------------------+------| | **** This is not added | 0:10 | | *************** TODO Do something else | 0:10 | | *************** END | | #+END: ** Getting warmed up *** Nitty gritty *************** TODO Do something fantastic :PROPERTIES: :Effort: 5:00 :END: *************** END **** This is not added *************** TODO Do something else :PROPERTIES: :Effort: 0:10 :END: *************** END --=-=-= Myles Emacs : GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-02-01 on shirley.hoetzel.info Package: Org-mode version 7.8.03 (release_7.8.03.576.gbeb02) current state: ============== (setq org-export-preprocess-before-backend-specifics-hook '(org-inlinetask-export-handler) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . org-gnus-no-new-news) (file . find-file-other-window) (wl . wl-other-frame)) org-structure-template-alist '(("s" "#+begin_src ?\n\n#+end_src" "\n\n") ("e" "#+begin_example\n?\n#+end_example" "\n?\n") ("q" "#+begin_quote\n?\n#+end_quote" "\n?\n") ("v" "#+begin_verse\n?\n#+end_verse" "\n?\n/verse>") ("c" "#+begin_center\n?\n#+end_center" "
\n?\n/center>") ("l" "#+begin_latex\n?\n#+end_latex" "\n?\n") ("L" "#+latex: " "?") ("h" "#+begin_html\n?\n#+end_html" "\n?\n") ("H" "#+html: " "?") ("a" "#+begin_ascii\n?\n#+end_ascii") ("A" "#+ascii: ") ("i" "#+index: ?" "#+index: ?") ("I" "#+include %file ?" "")) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-blank-before-new-entry nil org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-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-font-lock-hook '(org-inlinetask-fontify) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-drawers '("PROPERTIES" "CLOCK" "LOGBOOK") org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) --=-=-=--