emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: file property to affect agenda display
Date: Tue, 09 Sep 2008 13:59:36 -0400	[thread overview]
Message-ID: <87tzcptd2v.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <87d4jdi5xc.fsf@gmail.com> (Eric Schulte's message of "Tue\, 09 Sep 2008 10\:29\:35 -0700")

"Eric Schulte" <schulte.eric@gmail.com> writes:

> I have many org files named "TODO", and when I open up an agenda view
> all of the tasks from these files are labeled by their file name "TODO"
> rendering them in-differentiable to me.  Is there a file property I can
> set to override the use of the file name in the agenda views?  I looked
> in the documentation but to no avail.

If I understand correctly you can set different categories for each
using a subtree property

  :PROPERTIES:
  :CATEGORY: SomeName
  :END:

or with

#+CATEGORY: SomeName

,----[ from the manual ]
| `#+CATEGORY:'
|      This line sets the category for the agenda file.  The category
|      applies for all subsequent lines until the next `#+CATEGORY' line,
|      or the end of the file.  The first such line also applies to any
|      entries before it.
`----

I prefer to put category names in the subtree as a property in the level
1 task - all my todo items are level 2 or higher in my files and I have
multiple categories per file.

-Bernt

  reply	other threads:[~2008-09-09 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 17:29 file property to affect agenda display Eric Schulte
2008-09-09 17:59 ` Bernt Hansen [this message]
2008-09-09 18:09   ` Eric Schulte
2008-09-09 19:08 ` Manuel Hermenegildo

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=87tzcptd2v.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@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).