Re: [Orgmode] Clockreport for each day last week?
I do the same. Three things I learned / didn't learn: 1. For a daily report, I use the :step option (see http://orgmode.org/manual/Clocking-work-time.html) ... not in a single table like I wanted, but nice small summary tables in export, so good enough for me. 2. I successfully hacked in another column that gives the $ the line represents, based on an hourly rate, via the clocktable's formula line 3. I wanted to hack in a persistent *row*, for column width formatting or other summary calculations, but couldn't figure out an easy way and gave up I'd be interested in how others do similar time tracking reports! -brad Hi, In my work I log all hours in an org-file, and every monday I report my hours for the previous week. I have been playing with the clock-report to get a solution that displays hours for each day in the previous week, but by solution now is a a clock-report where I have to go in and change the date for each entry before updating them. There must be many with similar needs, could anyone tell me how you solve this? Ivan -- ___ 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 End of Emacs-orgmode Digest, Vol 38, Issue 86 * ___ 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
Re: [Orgmode] iPhone ---- org-mode
Couple more fixes - do a git pull in the shell script to keep my auto-updater's repository up to date and avoid git push failure, and avoid adding new Reqall items until they have been transcribed (at first they show up in RSS as Reqall is typing what you said) --- a/repo/bin/get_reqall_tasks.sh +++ b/repo/bin/get_reqall_tasks.sh @@ -3,8 +3,9 @@ echo . /tmp/crontest /sw/bin/wget -O /tmp/req http://www.reqall.com/user/feeds/rss/82012e8e26fae644e -/usr/bin/awk -f ~/repo/bin/reqallxml.awk /tmp/req cd /Users/Brad/Dev/reqall/Brad/repo/org/ +/usr/bin/git pull +/usr/bin/awk -f ~/repo/bin/reqallxml.awk /tmp/req /usr/bin/git add gtd.org /usr/bin/git commit -m Auto-reqall update $(date) /dev/null /usr/bin/git push /dev/null --- a/repo/bin/reqallxml.awk +++ b/repo/bin/reqallxml.awk @@ -414,7 +414,11 @@ END { newItems = 0; for ( guid in guids ) { + where = index(blobs[guid, DESCRIPTION], is typing what you said) + if (where) + continue; ret = system(egrep \^ guid \ ~/repo/bin/reqalldb /dev/null); if ( ret != 0 ) { On Tue, Mar 24, 2009 at 10:56 PM, Brad Bozarth prettyg...@cs.stanford.edu wrote: I should note that I tried to clean up the files a bit to make them more readable before uploading, and I realized the clean version of reqallxml.awk in the attachment has two silly bugs - /* nothing for now */ ; on line 368 should be ; # nothing for now (C-style comments don't work in awk). And the system call string on line 425 can't be split across lines as it is (again, I was thinking in C). -brad On Mon, Mar 23, 2009 at 1:32 AM, Brad Bozarth prettyg...@cs.stanford.edu wrote: Sure! As I said, it's a hack - it would obviously be better implemented with one elisp batch script or something, but I was in a hurry, and it's been working for me. Reqall is a free app kind of like Jott, if you're familiar with that. You can phone into it (thus this hack would work with a blackberry or your friend's landline or any phone, not just the iphone) or use an iphone or web interface to plop in todos (and various other things, which I don't use). It can publish your items as an RSS feed. Here's how voice - org-mode happens: I use a cron job every 10 minutes to run get_reqall_tasks.sh This wget's my reqall RSS feed, runs reqallxml.awk on it (updates my .org file), and commits and pushes the .org reqallxml.awk parses the reqall items and saves a flat local DB (currently just to check for newness of items), doing some simple formatting on new items and sticking them in my .org file to be processed later Pretty simple - it could be cleaner, and filenames and such are hardcoded, but it should be easy for anyone to fix it up or simply replace the filenames and formatting to their liking. It's simple ... but still feels like magic when I press one button on my iPhone in the car, and what I spoke is sitting in my gtd.org when I get to the office :) ... tarball of hack attached. Note that my awk is from OS X, should work on linux as well though (I first got it running on linux, but had to escape some / characters in a pattern match to get reqallxml.awk to work on my mac and haven't tested it again on linux). -brad ___ 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
Re: [Orgmode] iPhone ---- org-mode
On Wed, Mar 25, 2009 at 1:36 AM, Carsten Dominik domi...@science.uva.nl wrote: Hi Brad, I hope you don't mind, but I find this *so extremely useful* that I made a pure Emacs lisp version of this which is now in the git repo under the name org-feed.el. It is not made for fancy automatic updating with cron jobs and git etc, but it makes for a stand-alone alternative that will be easy to configure and has no dependencies on external code. I don't mind at all! I'm very glad you find it useful, and I will adopt yours soon - it will be much less fragile. I knew it would be better implemented natively in elisp, but I haven't coded in lisp in 10 years :) -brad ___ 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
Re: [Orgmode] iPhone ---- org-mode
A quick question - if I use a non-nil org-feed-assume-stable, will that handle updating a changed reqall entry? This would be both for the case of the entries initially saying Reqall is typing what you said before they are transcribed, and for the case of editing an existing entry on the iPhone or web interface. -brad On Wed, Mar 25, 2009 at 1:36 AM, Carsten Dominik domi...@science.uva.nl wrote: Hi Brad, I hope you don't mind, but I find this *so extremely useful* that I made a pure Emacs lisp version of this which is now in the git repo under the name org-feed.el. It is not made for fancy automatic updating with cron jobs and git etc, but it makes for a stand-alone alternative that will be easy to configure and has no dependencies on external code. For example, to get a reQall feed into file ~/org/feeds.org under heading ReQall Entries, you would do this. (setq org-feed-alist '((ReQall http://www.reqall.com/user/feeds/rss/a1b2...; ~/org/feeds.org ReQall Entries))) I do hope that this will not stop python hackers from exploring this further, because I thought that the python solution was really good and innovative, and it shows what can be done with modules like the ones Charles has put out. - Carsten On Mar 22, 2009, at 11:38 AM, Brad Bozarth wrote: Hi! I'm new to org-mode, but knew I had to use it when I combined a desire to try GTD with my ctrl-s view of the world. I'm ok with processing tethered to a computer, but wanted an easy way to capture on the move, without adding anything to my pocket. A couple days of hacking later (with some real *hacks*, but they work), and I've got something I really like. I can now, using either the iphone keyboard or my voice, quickly capture something, and know that it will shortly be sitting as a TODO under iPhone inbox in my gtd.org file that is git synchronized between all my computers. I put it together with a cron'd shell script, two awk scripts, and the free Reqall iPhone app. Could be done more elegantly, but then I wouldn't be Getting (other) Things Done :). I can share the hacks if anyone is interested. -brad ___ 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 ___ 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
Re: [Orgmode] iPhone ---- org-mode
Hi Carsten, I'm glad I could help in a very small way - I really appreciate the years you've put into this. I watched GregKH's, Linus's and your Google tech talks the other day, and enjoyed yours the most. I know I'll love the flexibility of org-mode over time, but it's great to hear your version of the most powerful core features and the theory behind them. And yes, I think the RSS -- org-mode idea has some good possibilities, and reqall happens to be a convenient phone -- RSS tool. I think we have some similar genes - I ended up a software engineer after a childhood love of all things astronomical (and love of adrenaline, my dream was to be an astronaut), and was fascinated by the self-organization of Saturn's rings - I always wanted to code a simulation of such for fun, but never quite got to it. I made a pretty neat 3D space particle sandbox in my Stanford graphics class, where you could fly around and place directional points of gravity that would attract all the floating particles on one side of the plane perpendicular to your angle of view when you placed the point. Place two facing different directions, and you could get beautiful, organic looking streams of particles flowing in a ring (well, I thought they were beautiful). Place three, and you could get extremely complex and interesting cycling streams. I loved how all I had to get right were the derivative calculations for gravity fall-off, and the simple flying control and open-gl graphics, and something artistic emerged. I've always loved the idea of complex order arising from simple foundations... Anyway, sorry to ramble, but I went down memory lane when I looked up your website and watched the mpeg movies of grain collisions. In the age of Pixar, I don't know that many people would agree, but I found them fascinating :) Thanks again for your generous sharing! -brad On Tue, Mar 24, 2009 at 4:32 AM, Carsten Dominik domi...@science.uva.nl wrote: Hi Brad, I am really happy that you showed us how to do this. Like you, when I work I am at my computer, so I don't need a fully mobile side of Org. But a capture path. Using RSS like you demonstrate means that we can use any kind of service that pushes to an RSS feed - even if ReQall goes away at some point, there will be others. This, for me, really was the missing piece. It no longer is missing. Thanks! - Carsten On Mar 22, 2009, at 11:38 AM, Brad Bozarth wrote: Hi! I'm new to org-mode, but knew I had to use it when I combined a desire to try GTD with my ctrl-s view of the world. I'm ok with processing tethered to a computer, but wanted an easy way to capture on the move, without adding anything to my pocket. A couple days of hacking later (with some real *hacks*, but they work), and I've got something I really like. I can now, using either the iphone keyboard or my voice, quickly capture something, and know that it will shortly be sitting as a TODO under iPhone inbox in my gtd.org file that is git synchronized between all my computers. I put it together with a cron'd shell script, two awk scripts, and the free Reqall iPhone app. Could be done more elegantly, but then I wouldn't be Getting (other) Things Done :). I can share the hacks if anyone is interested. -brad ___ 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 ___ 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
Re: [Orgmode] iPhone ---- org-mode
I should note that I tried to clean up the files a bit to make them more readable before uploading, and I realized the clean version of reqallxml.awk in the attachment has two silly bugs - /* nothing for now */ ; on line 368 should be ; # nothing for now (C-style comments don't work in awk). And the system call string on line 425 can't be split across lines as it is (again, I was thinking in C). -brad On Mon, Mar 23, 2009 at 1:32 AM, Brad Bozarth prettyg...@cs.stanford.eduwrote: Sure! As I said, it's a hack - it would obviously be better implemented with one elisp batch script or something, but I was in a hurry, and it's been working for me. Reqall is a free app kind of like Jott, if you're familiar with that. You can phone into it (thus this hack would work with a blackberry or your friend's landline or any phone, not just the iphone) or use an iphone or web interface to plop in todos (and various other things, which I don't use). It can publish your items as an RSS feed. Here's how voice - org-mode happens: I use a cron job every 10 minutes to run get_reqall_tasks.sh This wget's my reqall RSS feed, runs reqallxml.awk on it (updates my .org file), and commits and pushes the .org reqallxml.awk parses the reqall items and saves a flat local DB (currently just to check for newness of items), doing some simple formatting on new items and sticking them in my .org file to be processed later Pretty simple - it could be cleaner, and filenames and such are hardcoded, but it should be easy for anyone to fix it up or simply replace the filenames and formatting to their liking. It's simple ... but still feels like magic when I press one button on my iPhone in the car, and what I spoke is sitting in my gtd.org when I get to the office :) ... tarball of hack attached. Note that my awk is from OS X, should work on linux as well though (I first got it running on linux, but had to escape some / characters in a pattern match to get reqallxml.awk to work on my mac and haven't tested it again on linux). -brad ___ 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
Re: [Orgmode] iPhone ---- org-mode
Sure! As I said, it's a hack - it would obviously be better implemented with one elisp batch script or something, but I was in a hurry, and it's been working for me. Reqall is a free app kind of like Jott, if you're familiar with that. You can phone into it (thus this hack would work with a blackberry or your friend's landline or any phone, not just the iphone) or use an iphone or web interface to plop in todos (and various other things, which I don't use). It can publish your items as an RSS feed. Here's how voice - org-mode happens: I use a cron job every 10 minutes to run get_reqall_tasks.sh This wget's my reqall RSS feed, runs reqallxml.awk on it (updates my .org file), and commits and pushes the .org reqallxml.awk parses the reqall items and saves a flat local DB (currently just to check for newness of items), doing some simple formatting on new items and sticking them in my .org file to be processed later Pretty simple - it could be cleaner, and filenames and such are hardcoded, but it should be easy for anyone to fix it up or simply replace the filenames and formatting to their liking. It's simple ... but still feels like magic when I press one button on my iPhone in the car, and what I spoke is sitting in my gtd.org when I get to the office :) ... tarball of hack attached. Note that my awk is from OS X, should work on linux as well though (I first got it running on linux, but had to escape some / characters in a pattern match to get reqallxml.awk to work on my mac and haven't tested it again on linux). -brad org-reqall.tar.gz Description: GNU Zip compressed data ___ 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
Re: [Orgmode] iPhone ---- org-mode
This is nice, no more superfluous flat file... thanks! -brad On Mon, Mar 23, 2009 at 6:47 AM, Ian Barton li...@manor-farm.org wrote: Pretty simple - it could be cleaner, and filenames and such are hardcoded, but it should be easy for anyone to fix it up or simply replace the filenames and formatting to their liking. It's simple ... but still feels like magic when I press one button on my iPhone in the car, and what I spoke is sitting in my gtd.org when I get to the office :) ... tarball of hack attached. Note that my awk is from OS X, should work on linux as well though (I first got it running on linux, but had to escape some / characters in a pattern match to get reqallxml.awk to work on my mac and haven't tested it again on linux). Appended is a quick hack in Python that appends items from the rss feed to an org file. Tasks are give the guid property, which is used to identify which tasks have already been imported. Requires Mark Pilgrim's feed parser (think this is already part of Python) and Charles Cave's orgnode.py. Note orgnode.py seems to have a bug, where it requires at least one entry in the file. Ian. ___ 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 ___ 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
[Orgmode] iPhone ---- org-mode
Hi! I'm new to org-mode, but knew I had to use it when I combined a desire to try GTD with my ctrl-s view of the world. I'm ok with processing tethered to a computer, but wanted an easy way to capture on the move, without adding anything to my pocket. A couple days of hacking later (with some real *hacks*, but they work), and I've got something I really like. I can now, using either the iphone keyboard or my voice, quickly capture something, and know that it will shortly be sitting as a TODO under iPhone inbox in my gtd.org file that is git synchronized between all my computers. I put it together with a cron'd shell script, two awk scripts, and the free Reqall iPhone app. Could be done more elegantly, but then I wouldn't be Getting (other) Things Done :). I can share the hacks if anyone is interested. -brad ___ 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