emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: dynamic block for columnview: sub to top level
Date: Wed, 2 Nov 2011 18:07:26 +0100	[thread overview]
Message-ID: <CALn3zogDniZ6tcHUzEE9_704HbyX3A+SBDbnqGrq2KDKsG7jEw@mail.gmail.com> (raw)

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	other threads:[~2011-11-02 17:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CALn3zogDniZ6tcHUzEE9_704HbyX3A+SBDbnqGrq2KDKsG7jEw@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).