emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* add todo state when tagging by specific tag
@ 2009-11-19 22:11 Marcelo de Moraes Serpa
  2009-11-19 22:14 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo de Moraes Serpa @ 2009-11-19 22:11 UTC (permalink / raw)
  To: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]

Hello list,

What would be the easiest way to apply a TODO state to an item just after
tagging it by a specific tag? For example,  want to tag an item with the
:PROJECT: tag and when I do that, change the TODO to PROJECT too.

I know it is possible somehow, given the flexibility of elisp and org, but
I'd like to know if org provides any machinery/API that makes it
easier/straightfoward (maybe a hook?)

Thanks,

Marcelo.

[-- Attachment #1.2: Type: text/html, Size: 459 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: add todo state when tagging by specific tag
  2009-11-19 22:11 add todo state when tagging by specific tag Marcelo de Moraes Serpa
@ 2009-11-19 22:14 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2009-11-19 22:14 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> What would be the easiest way to apply a TODO state to an item just after tagging it by a specific
> tag? For example,  want to tag an item with the :PROJECT: tag and when I do that, change the TODO to
> PROJECT too.
>
> I know it is possible somehow, given the flexibility of elisp and org, but I'd like to know if org
> provides any machinery/API that makes it easier/straightfoward (maybe a hook?)

The other way already works.  If you set a task todo keyword to PROJECT
you can automatically add a PROJECT tag.  See
org-todo-state-tags-triggers to set that up.

-Bernt

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

end of thread, other threads:[~2009-11-19 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-19 22:11 add todo state when tagging by specific tag Marcelo de Moraes Serpa
2009-11-19 22:14 ` Bernt Hansen

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