[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Automatically tag an item if direct child of a specific li
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Automatically tag an item if direct child of a specific list |
Date: |
Thu, 30 Jul 2009 17:36:59 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Marcelo de Moraes Serpa <address@hidden> writes:
> Hello list -- here goes a quick crazy question:
>
> Is there a way to extend org in a way that, whenever I write/add a new
> item as a direct child of a Projects list, it will tag this item as
> :PROJECT: automatically ? This could happen when I press enter or if I
> enter the item through another command (instead of writing it directly
> in the buffer -- like when refiling).
Tags are normally inherited - so if you tag the parent task
with :PROJECT: then ALL tasks under that will inherit the :PROJECT: tag.
There's no need to tag everything under it with the :PROJECT: tag.
Alternatively if you keep all of your projects in a separate
projects.org file you can add a FILETAGS entry that puts the :PROJECT:
tag on every entry in that file.
This way your child task is part of a project or not based on where it
is currently. You're free to refile it somewhere else (that is not a
project) and it loses it's project tag.
HTH,
Bernt