From: Mark Wooding Date: Thu, 8 May 2008 10:28:11 +0000 (+0100) Subject: emacs: Add key bindings for timeclock functions. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/5f21ac4f43be3bf9571e67d0f0cccf7bd8dd5db7?hp=be0487190c495f4a890a5c57e67c0b450babfb09 emacs: Add key bindings for timeclock functions. We don't yet have operations for extracting the data in the format required by the timesheet system, but that can wait. At least we can collect the raw data now. --- diff --git a/emacs b/emacs index 2aaf952..5e3d2e7 100644 --- a/emacs +++ b/emacs @@ -330,6 +330,12 @@ (global-set-key [?\C-x ?w ?j] 'windmove-down) (global-set-key [?\C-x ?w right] 'windmove-right) (global-set-key [?\C-x ?w ?l] 'windmove-right) +(global-set-key [?\C-x ?t ?i] 'timeclock-in) +(global-set-key [?\C-x ?t ?c] 'timeclock-change) +(global-set-key [?\C-x ?t ?o] 'timeclock-out) +(global-set-key [?\C-x ?t ?r] 'timeclock-reread-log) +(global-set-key [?\C-x ?t ?w] 'timeclock-workday-remaining-string) +(global-set-key [?\C-x ?t ?s] 'timeclock-status-string) (global-set-key [?\M-#] 'calc-dispatch) (global-set-key [?\C-x ?/] 'auto-fill-mode) (global-set-key [?\C-x ?w ?d] 'mdw-divvy-window)