emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Mileage
@ 2008-04-04 16:20 Russell Adams
  0 siblings, 0 replies; only message in thread
From: Russell Adams @ 2008-04-04 16:20 UTC (permalink / raw)
  To: Org Mode List

So I discussed this briefly on IRC, but how are others handling
mileage reporting? Its very similar to clocking time, and fits neatly
into the property drawer.

Here's a sample of what I started, I'm just concerned about how to get
the delta and a summary.

** DONE Meeting Downtown
   CLOSED: [2008-04-02 Wed 22:55]
   :PROPERTIES:
   :MILES_START: 50375
   :MILES_END: 50417
   :END:

I wrote a short piece of code I can eval to see the delta on the
current item:

(- (string-to-number (org-entry-get (point) '"MILES_END")) 
   (string-to-number (org-entry-get (point) '"MILES_START"))
) 

My question has to do with scale, how could this be made to auto
update across all headings? Column view already allows me a nice
summary view, though I may have to sort out the date range to review.

Suggestions?

Thanks!

------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-04 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 16:20 Mileage Russell Adams

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