6098 comments
2357 subscribers
6256 on Twitter
Subscribe! Feed reader E-mail

Developing a better sense of time

One of the things I want to do is develop a good sense of how long it
takes me to do something. Better time estimates lead to better
scheduling, better sense of what I can commit to, and ultimately less
stress and more happiness. =)

Fortunately, Planner makes it easy for me to do really detailed
time-tracking. When I mark a task as in progress, the clock starts
ticking. When I postpone or close a task, the system clocks out
automatically.

I find that my attention occasionally strays. Sometime ago, I wrote a
function to help me keep track of what I’m supposed to be doing.
Today, I’ve decided to try estimating task completion times for more
of the tasks on my list. I modified my old function to tell me how
much time has elapsed since I started the task. This doesn’t take into
account previous clock-in/clock-outs, but it will do for now.

We’ll see how well it works. =)

;; I've bound sacha/planner-what-am-i-supposed-to-be-doing to F9 F11. I
;; start out by clocking into the task (use planner-timeclock.el and
;; C-c TAB to mark a task as in progress). Then, when I find myself
;; getting distracted, I hit F9 F9 to see my current task in the
;; minibuffer. C-u F9 F9 jumps back to the task so that I can either
;; mark it as postponed. M-x planner-task-pending (bound to C-c C-p in
;; my local config) and M-x planner-task-done (C-c C-x) both clock out
;; of the task. If I want to jump back to the previous window
;; configuration from that planner page, I can just hit F9 F9 again.

(defvar sacha/window-register "w"
  "Register for jumping back and forth between planner and wherever I am.")
(defvar sacha/planner-current-task nil
  "Current task info.")
(defadvice planner-task-in-progress (after sacha activate)
  "Keep track of the task info."
  (setq sacha/planner-current-task (planner-current-task-info)))

(defun sacha/planner-what-am-i-supposed-to-be-doing (&optional prefix)
  "Make it easy to keep track of what I'm supposed to be working on.
If PREFIX is non-nil, jump to the current task, else display it
in a message. If called from the plan page, jump back to whatever
I was looking at."
  (interactive "P")
  (if planner-timeclock-current-task
      (if (string= (planner-task-page sacha/planner-current-task)
                   (planner-page-name))
          (jump-to-register sacha/window-register)
        (if (null prefix)
            (message "%s %s"
                     ;; Minutes so far
                     (timeclock-seconds-to-string (timeclock-last-period))
                     planner-timeclock-current-task)
          (frame-configuration-to-register sacha/window-register)
          (planner-find-file (planner-task-page sacha/planner-current-task))
          (planner-find-task sacha/planner-current-task)))
    (if prefix
        (planner-goto-today)
      (message "No current task. HEY!"))))

On Technorati: , , ,

Random Emacs symbol: cal-tex-mouse-filofax-week – Command: Two page Filofax calendar for week indicated by cursor. (Hey, I didn’t know we could print Filofax calendars from Emacs cal…)

Short URL: http://sachachua.com/blog/p/3921

On This Day...

  • 2011: From the feeds: Saving money, making money, balancing life, reading books, and making rainbows — PassionSaving shares ten money-saving tips: focus on getting over the $100,000 hump (yay!), add income tax when you [...]
  • 2009: Weekly review: Week ending October 4, 2009 — From last week’s plans: Update the market scans for innovations and forces of change. Moved to a lower priority. Instead, working [...]
  • 2009: Seeing in three dimensions — The last few movies I’ve watched in an actual movie theatre have been in 3D. Whenever I see the opening [...]
  • 2008: New domain name: livinganawesomelife.com — I like having my name as my domain name. It makes sense, and it’s very searchable… if you can remember [...]
  • 2008: WordPress and lifestreaming – check out my draft firehose interface — Inspired by WordCamp Toronto (and the Flutter plugin in particular), I decided to spend some time figuring out if I [...]
  • 2008: — Attend WordCamp Cut out sewing patterns Set up my blog as a tumblelog/lifestream without overwhelming people
  • 2008: Firehose
  • 2008: Notes from WordCamp — wordcamptoronto on Twitter #wpto08, #wcto08, which one? Joseph Thornley search.twitter.com sociology + technology RSS changed it from pastime to productivity tool Magazine analogy – doesn’t make [...]
  • 2007: Time to exercise — Day 2. So far, so good. I did another fifteen minutes of core exercises today: five minutes of crunches, five minutes [...]
  • 2007: PostReach’s ClickComment — I’ve just added Postreach to my blog. That’s the row of little icons that shows up on my website. If [...]
  • 2007: Sorted out Emacs problem — I compiled Emacs from CVS yesterday, badly breaking it in X11. It would die horribly in a segmentation fault whenever [...]
  • 2006: Emacs Gnus hack: Prioritize based on the number of recipients — Ever found yourself confronted with an inbox overflowing with general messages that you can ignore and messages that you and only [...]
  • 2005: Humorous speech — Whoa, went way out of my comfort zone there. Giving in to social pressure, I volunteered to do a humorous speech [...]
  • 2004: Osaka accommodations — Might be a good idea to get an international youth hostel association card. Offices: Place Address Tel Fax Japan Youth Hostels, Inc Suidobashi Nishiguchi Kaikan 2-20-7 Misaki-cho [...]
  • 2004: Haiku — We took up haiku in class today, just for fun. I wrote a lot. =) Then just for kicks, I translated [...]
  • 2003: best practices of e-commerce for farmers — This is actually a pretty cool project… Wow!
  • 2003: http://www.B2BPriceNow.com — B2B R3 RICE B2B R6 SUGAR Send to 2333 for Globe subscribers 211 for Smart subscribers
  • 2003: Wearable notes — Medical transcription, wearables, taking notes

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!