emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Agenda view: Displaying the contents of a task


From: Bastien
Subject: Re: [O] Agenda view: Displaying the contents of a task
Date: Fri, 04 Jan 2013 17:16:04 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Alan,

Alan Schmitt <address@hidden> 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 "address@hidden"
>                ((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 via email to

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