emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* clock based context settings
@ 2010-01-19 22:16 Richard Riley
  2010-01-20  8:30 ` David Maus
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Riley @ 2010-01-19 22:16 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


I would like to be able to execute arbitrary elisp when I clock in or
out of a certain org.item This would be very, very useful for defining
variables or even keystrokes on a "per project" basis. Ideally it would
work using inheritance so if an item does not have something then the
project or file level values would be used.

e.g at the file level:

#+CLOCKINEXEC: (setq curr-url "project1.com")

Or at the org item level 

** touch up picture of the org logo
  :PROPERTIES:
  :CLOCKINEXEC:   (setq curr-url "org-mode.com/images")
  :END:

Would others think this might be useful or is there another way/approach
to achieve something similar?

My example might for instance having a key bound to launching a url and
the url will set depending n´on which web project I am working on.

-- 
Google Talk : rileyrgdev@googlemail.com  http://www.google.com/talk

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

end of thread, other threads:[~2010-01-28 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 22:16 clock based context settings Richard Riley
2010-01-20  8:30 ` David Maus
2010-01-20  9:34   ` Richard Riley
2010-01-28 17:42     ` Carsten Dominik

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