emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* dynamic block for columnview: sub to top level
@ 2011-11-02 17:07 Michael Brand
  0 siblings, 0 replies; only message in thread
From: Michael Brand @ 2011-11-02 17:07 UTC (permalink / raw)
  To: Org Mode

Hi all

When the :id for a columview of a dynamic block references to a sub
tree with the property ID there is an issue if that tree is in
overview (closed): The whole tree of the top level parent of the
requested ID is included in the resulting table.

When the minimal and complete example below is opened with emacs -q,
23.3 and Org release_7.7-508-ga081581 (2011-11-02) then the result of
C-c C-c on the dynamic block header for columnview is unexpected:

| Task                | Hours |
|---------------------+-------|
| * project           |     7 |
| *** Total of Effort |     7 |
| ***** feature       |     7 |

After the sub tree project is opened with M-x org-content then the
result is like expected:

| Task                | Hours |
|---------------------+-------|
| *** Total of Effort |     7 |
| ***** feature       |     7 |

Same issue also in release_6.06a-1-g3cf6fc4, earlier I did not test
any more because of a missing autoload.

#+begin_src org
  ,#+COLUMNS: %50ITEM(Task) %5Effort(Hours){+}
  ,#+STARTUP: odd overview

  ,#+BEGIN: columnview :maxlevel 3 :id 86BFB583-3B55-4D1D-9FD7
  ,| Task | Days | {Hours} |
  ,#+END:

  ,* project
  ,*** Total of Effort
  ,    :PROPERTIES:
  ,    :ID:       86BFB583-3B55-4D1D-9FD7
  ,    :END:
  ,***** feature
  ,******* TODO task
  ,        :PROPERTIES:
  ,        :Effort:   7
  ,        :END:
#+end_src

Michael

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-02 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-02 17:07 dynamic block for columnview: sub to top level Michael Brand

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).