emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Markus Heller <hellerm2@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Question re CATEGORY and Agenda Views
Date: Wed, 09 Sep 2009 19:34:33 -0400	[thread overview]
Message-ID: <87ljkn8zg6.fsf@fastmail.fm> (raw)
In-Reply-To: <h890ni$pca$1@ger.gmane.org> (Markus Heller's message of "Wed, 09 Sep 2009 12:46:57 -0700")

Markus Heller <hellerm2@gmail.com> writes:

> I apologize if this is RTFM, i couldn't find the answer.  Maybe it's
> also because of a misconception on my part.
>
> I have a .org file with the following setup (HEAVILY inspired by Bernt
> Hansen, http://doc.norang.ca/org-mode.html):
>
> * ABC1
>   :PROPERTIES:
>     :CATEGORY: Bugfixes
>     :PROJECT:  ABC1
>   :END:
> ** STARTED Find bugs
> ** STARTED Fix bugs
>
> * ABC2
>   :PROPERTIES:
>     :CATEGORY: Bugfixes
>     :PROJECT:  ABC2
>   :END:
> ** STARTED Find bugs
> ** STARTED Fix bugs
>
> So I have 2 different projects with identical tasks.  If I bring up
> the agenda and list all STARTED tasks, I get a list that looks like:
>
> Bugfixes:   STARTED Find bugs                  :NEXT:
> Bugfixes:   STARTED Fix bugs                   :NEXT:
> Bugfixes:   STARTED Find bugs                  :NEXT:
> Bugfixes:   STARTED Fix bugs                   :NEXT:
>
> So the first column is taken from the CATEGORY property.  How can I
> change this so that the actual project is displayed in the agenda
> view? I would expect that I'd have to use the PROJECT property, but
> how do I do this?  Or is my whole idea flawed?

By default, the first item in an agenda line is the CATEGORY. You can
change the appearance of agenda lines by setting
org-agenda-prefix-format, though you will not be able to display an
arbitrary property such as PROJECT. (AFAIK, you are limited to category,
tag, time of day, and scheduling information.)

There is no default functionality for a PROJECT property in org-mode.

Here are a few options I can think of:

1. Use the CATEGORY to designate the project (perhaps make BUGFIXES a
   tag).

2. Set up a column view for the agenda that allows you to view the
   project property.

3. Use a tag to designate the project. This would allow you to filter
   the agenda by project.

4. Use follow mode in the agenda to see the context (i.e., the project
   heading).

Hope this helps.

Matt

  reply	other threads:[~2009-09-09 23:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 19:46 Question re CATEGORY and Agenda Views Markus Heller
2009-09-09 23:34 ` Matt Lundin [this message]
2009-09-10 10:49 ` Sebastian Rose
2009-09-10 20:56   ` Markus Heller

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=87ljkn8zg6.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=hellerm2@gmail.com \
    /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).