emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: emacs-orgmode Mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87boo07ltk.fsf@ed.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]


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.


[-- Attachment #2: test-sums.org --]
[-- Type: text/plain, Size: 1664 bytes --]

#+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

[-- Attachment #3: Type: text/plain, Size: 3766 bytes --]


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" "<src lang=\"?\">\n\n</src>")
				("e" "#+begin_example\n?\n#+end_example" "<example>\n?\n</example>")
				("q" "#+begin_quote\n?\n#+end_quote" "<quote>\n?\n</quote>")
				("v" "#+begin_verse\n?\n#+end_verse" "<verse>\n?\n/verse>")
				("c" "#+begin_center\n?\n#+end_center" "<center>\n?\n/center>")
				("l" "#+begin_latex\n?\n#+end_latex"
				 "<literal style=\"latex\">\n?\n</literal>")
				("L" "#+latex: " "<literal style=\"latex\">?</literal>")
				("h" "#+begin_html\n?\n#+end_html"
				 "<literal style=\"html\">\n?\n</literal>")
				("H" "#+html: " "<literal style=\"html\">?</literal>")
				("a" "#+begin_ascii\n?\n#+end_ascii") ("A" "#+ascii: ")
				("i" "#+index: ?" "#+index: ?")
				("I" "#+include %file ?" "<include file=%file markup=\"?\">"))
 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))
 )

             reply	other threads:[~2012-03-13 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 12:00 Myles English [this message]
2012-03-16  2:56 ` Myles English
2012-03-16  3:08   ` mylesenglish
2012-03-16 18:03   ` Achim Gratz
2012-03-23 21:38   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boo07ltk.fsf@ed.ac.uk \
    --to=mylesenglish@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Bug: columnview times don'\''t accumulate properly [7.8.03 (release_7.8.03.576.gbeb02)]' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).