emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* file property to affect agenda display
@ 2008-09-09 17:29 Eric Schulte
  2008-09-09 17:59 ` Bernt Hansen
  2008-09-09 19:08 ` Manuel Hermenegildo
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Schulte @ 2008-09-09 17:29 UTC (permalink / raw)
  To: Org-mode

Hi,

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.

Thanks -- Eric
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file property to affect agenda display
  2008-09-09 17:29 file property to affect agenda display Eric Schulte
@ 2008-09-09 17:59 ` Bernt Hansen
  2008-09-09 18:09   ` Eric Schulte
  2008-09-09 19:08 ` Manuel Hermenegildo
  1 sibling, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2008-09-09 17:59 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Org-mode

"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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file property to affect agenda display
  2008-09-09 17:59 ` Bernt Hansen
@ 2008-09-09 18:09   ` Eric Schulte
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2008-09-09 18:09 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Org-mode

Bernt Hansen <bernt@norang.ca> writes:

> "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
>

Thanks, exactly what I was after

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file property to affect agenda display
  2008-09-09 17:29 file property to affect agenda display Eric Schulte
  2008-09-09 17:59 ` Bernt Hansen
@ 2008-09-09 19:08 ` Manuel Hermenegildo
  1 sibling, 0 replies; 4+ messages in thread
From: Manuel Hermenegildo @ 2008-09-09 19:08 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Org-mode


 > 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.

I think: 

#+CATEGORY: WhateverYouWant

placed before a set of entries or at the beginning of a file may be
what you want. --Manuel

-- 
-------------------------------------------------------------------------------
 Manuel Hermenegildo                     |              Prof., C.S. Department
 Director, IMDEA-Software and CLIP Group |                T.U. of Madrid (UPM)
 http://www.cliplab.org/herme            | +34-91-336-7435 (W) -352-4819 (Fax)
-------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-09 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-09 17:29 file property to affect agenda display Eric Schulte
2008-09-09 17:59 ` Bernt Hansen
2008-09-09 18:09   ` Eric Schulte
2008-09-09 19:08 ` Manuel Hermenegildo

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).