emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Set a property or take action on state change to done
@ 2015-02-18 23:31 Subhan Michael Tindall
  2015-03-01  6:46 ` Alexis
  0 siblings, 1 reply; 2+ messages in thread
From: Subhan Michael Tindall @ 2015-02-18 23:31 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

I know the hooks are in there somewhere, but is there any relatively straightforward way to set a particular property, or run a function to do so, when a TODO changes status to a DONE state?

Thanks!
Subhan


This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message.  Thank you.

[-- Attachment #2: Type: text/html, Size: 2600 bytes --]

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

* Re: Set a property or take action on state change to done
  2015-02-18 23:31 Set a property or take action on state change to done Subhan Michael Tindall
@ 2015-03-01  6:46 ` Alexis
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis @ 2015-03-01  6:46 UTC (permalink / raw)
  To: emacs-orgmode


On 2015-02-19T10:31:05+1100, Subhan Michael Tindall said:

 SMT> I know the hooks are in there somewhere, but is there any 
 SMT> relatively straightforward way to set a particular property, 
 or SMT> run a function to do so, when a TODO changes status to a 
 DONE SMT> state?

Perhaps use a combination of `org-after-todo-state-change-hook` 
and the `org-state` variable?


Alexis.

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

end of thread, other threads:[~2015-03-01  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 23:31 Set a property or take action on state change to done Subhan Michael Tindall
2015-03-01  6:46 ` Alexis

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