* Automatically tag an item if direct child of a specific list
@ 2009-07-30 21:22 Marcelo de Moraes Serpa
2009-07-30 21:36 ` Bernt Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-07-30 21:22 UTC (permalink / raw)
To: emacs-orgmode
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).
Marcelo.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Automatically tag an item if direct child of a specific list
2009-07-30 21:22 Automatically tag an item if direct child of a specific list Marcelo de Moraes Serpa
@ 2009-07-30 21:36 ` Bernt Hansen
0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2009-07-30 21:36 UTC (permalink / raw)
To: Marcelo de Moraes Serpa; +Cc: emacs-orgmode
Marcelo de Moraes Serpa <celoserpa@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-30 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30 21:22 Automatically tag an item if direct child of a specific list Marcelo de Moraes Serpa
2009-07-30 21:36 ` Bernt Hansen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.