emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Agenda view: Displaying the contents of a task
Date: Fri, 04 Jan 2013 17:16:04 +0100	[thread overview]
Message-ID: <871ue0nci5.fsf@bzg.ath.cx> (raw)
In-Reply-To: <m24nix1i6x.fsf@top.irisa.fr> (Alan Schmitt's message of "Fri, 04 Jan 2013 09:11:18 +0100")

Hi Alan,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> I'm trying to have an agenda view where the TODO entries show the
> subtree below, so that I can export them and have all the information
> required. I've been looking around and it seems that what I want to do
> is a "tags-tree", according to this message:
> http://lists.gnu.org/archive/html/emacs-orgmode/2008-12/msg00229.html
>
> Unfortunately I cannot get this to work, even using the example from the
> manual (http://orgmode.org/manual/Setting-Options.html). If I use the
> following custom view
>
>               ("U" tags-tree "+@office"
>                ((org-show-following-heading nil)
>                 (org-show-hierarchy-above nil)))
>
> I get a "org-check-for-org-mode: Cannot execute org-mode agenda command
> on buffer in org-agenda-mode" error when I try to view it.

This means you tried to produce the tags-tree agenda view from a buffer
that is not an org-mode buffer.

The {tags/occur/todo}-tree views are special because they need to be
called from an Org buffer, they are always computed locally.

This was not very clear from the documentation so I added a note.

> Is this a bug with tags-tree? Is there a way to do what I want without
> using tags-tree?

Yes.  Either using tags-tree or any other way to limit the buffer to the
headlines you want (C-c / comes to mind) and then exporting only the
visible parts of the buffer (C-c C-e v ...)

HTH,

-- 
 Bastien

  reply	other threads:[~2013-01-04 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04  8:11 Agenda view: Displaying the contents of a task Alan Schmitt
2013-01-04 16:16 ` Bastien [this message]
2013-01-05  9:38   ` Alan Schmitt
2013-01-05 14: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=871ue0nci5.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=alan.schmitt@polytechnique.org \
    --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).