SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions

TaskTimer

Introduction

Many issue tracking systems have some form of time tracking. Wanting to be accurate (that’s the purpose, right?) after searching for an existing solution and finding none (probably missed it) task-timer was created. It is ultra simple code that allows you to simply time one task. Others are free to update and make this more useful. The use is simple:

  1. Start the task timer (task-timer-begin)… typical binding is C-ctb
  2. Get the task timer status (time since you started) (task-timer-status)… typical binding is C-cts

The bindings were chosen to fit in with tea-time which is a count-down type timer. There is no stopping of a task timer. Simply call task-timer-begin and the start time will be updated. The code runs nothing in the background, it simply sets a variable containing the time the task began then on the status call does the simple date math and reports the time elapsed.

Lisp:task-timer.el