emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] dynamic block for columnview: sub to top level


From: Michael Brand
Subject: [O] dynamic block for columnview: sub to top level
Date: Wed, 2 Nov 2011 18:07:26 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]