[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Mileage

From: Russell Adams
Subject: [Orgmode] Mileage
Date: Fri, 4 Apr 2008 11:20:09 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

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]
   :MILES_START: 50375
   :MILES_END: 50417

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.



Russell Adams                            address@hidden

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]