MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.188.23.45
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/calendar/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/calendar/timeclock.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:30 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calendar/timeclock.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312\313\304\301&\210\306\314\315\316\312\317\304\301&\210\306\320\321\322\312\323\304\301&\210\306\324\325\326\312\327\304\301&\210\306\330\331\332\312\327\304\301&\210\306\333\302\334\312\335\304\301&\210\306\336\321\337\340\341\312\323\304\301&	\207" [custom-declare-group timeclock nil "Keeping track of the time that gets spent." :group data custom-declare-variable timeclock-file (convert-standard-filename "~/.timelog") "The file used to store timeclock data in." :type file timeclock-workday (* 8 60 60) "The length of a work period in seconds." integer timeclock-relative t "Whether to make reported time relative to `timeclock-workday'.\nFor example, if the length of a normal workday is eight hours, and you\nwork four hours on Monday, then the amount of time \"remaining\" on\nTuesday is twelve hours -- relative to an averaged work period of\neight hours -- or eight hours, non-relative.  So relative time takes\ninto account any discrepancy of time under-worked or over-worked on\nprevious days.  This only affects the timeclock mode line display." boolean timeclock-get-project-function 'timeclock-ask-for-project "The function used to determine the name of the current project.\nWhen clocking in, and no project is specified, this function will be\ncalled to determine what is the current project to be worked on.\nIf this variable is nil, no questions will be asked." function timeclock-get-reason-function 'timeclock-ask-for-reason "A function used to determine the reason for clocking out.\nWhen clocking out, and no reason is specified, this function will be\ncalled to determine what is the reason.\nIf this variable is nil, no questions will be asked." timeclock-get-workday-function "A function used to determine the length of today's workday.\nThe first time that a user clocks in each day, this function will be\ncalled to determine what is the length of the current workday.  If\nthe return value is nil, or equal to `timeclock-workday', nothing special\nwill be done.  If it is a quantity different from `timeclock-workday',\nhowever, a record will be output to the timelog file to note the fact that\nthat day has a length that is different from the norm." (choice (const nil) function) timeclock-ask-before-exiting "If non-nil, ask if the user wants to clock out before exiting Emacs.\nThis variable only has effect if set with \\[customize]." :set #[(symbol value) "\203\f\302\303\304\"\210\202\305\303\304\"\210\211\207" [value timeclock-ask-before-exiting add-hook kill-emacs-query-functions timeclock-query-out remove-hook] 3]] 10)
#@51 The timer used to update `timeclock-mode-string'.
(defvar timeclock-update-timer nil (#$ . 3195))
(byte-code "\300\301\302\303\304\305\306\307\310\311\312\313&\210\300\314\315\316\306\317\310\311&\210\300\320\315\321\306\317\310\311&\210\300\322\315\323\306\317\310\311&\210\300\324\315\325\306\317\310\311&\210\300\326\315\327\306\317\310\311&\210\300\330\315\331\306\317\310\311&\210\300\332\315\333\306\317\310\311&\207" [custom-declare-variable timeclock-use-display-time t "If non-nil, use `display-time-hook' for doing mode line updates.\nThe advantage of this is that one less timer has to be set running\namok in Emacs's process space.  The disadvantage is that it requires\nyou to have `display-time' running.  If you don't want to use\n`display-time', but still want the mode line to show how much time is\nleft, set this variable to nil.  Changing the value of this variable\nwhile timeclock information is being displayed in the mode line has no\neffect.  You should call the function `timeclock-mode-line-display' with\na positive argument to force an update." :set #[(symbol value) "\306\300!\205\211\203&\n\203\306\303!\203\307>\204$\n\204&\f\203&\310	\203/\311\300\310\"\210\n	\203:\311\300\312\"\210
)\207" [timeclock-mode-line-display currently-displaying value display-time-hook timeclock-update-timer timeclock-use-display-time boundp timeclock-update-mode-line nil set-variable t] 4] :type boolean :group timeclock :require time timeclock-first-in-hook nil "A hook run for the first \"in\" event each day.\nNote that this hook is run before recording any events.  Thus the\nvalue of `timeclock-hours-today', `timeclock-last-event' and the\nreturn value of function `timeclock-last-period' are relative previous\nto today." hook timeclock-load-hook "Hook that gets run after timeclock has been loaded." timeclock-in-hook "A hook run every time an \"in\" event is recorded." timeclock-day-over-hook "A hook that is run when the workday has been completed.\nThis hook is only run if the current time remaining is being displayed\nin the mode line.  See the variable `timeclock-mode-line-display'." timeclock-out-hook "A hook run every time an \"out\" event is recorded." timeclock-done-hook "A hook run every time a project is marked as completed." timeclock-event-hook "A hook run every time any event is recorded."] 12)
#@101 A list containing the last event that was recorded.
The format of this list is (CODE TIME PROJECT).
(defvar timeclock-last-event nil (#$ . 5567))
#@65 The number of seconds in the workday of `timeclock-last-event'.
(defvar timeclock-last-event-workday nil (#$ . 5719))
#@459 A variable containing the time discrepancy before the last event.
Normally, timeclock assumes that you intend to work for
`timeclock-workday' seconds every day.  Any days in which you work
more or less than this amount is considered either a positive or
a negative discrepancy.  If you work in such a manner that the
discrepancy is always brought back to zero, then you will by
definition have worked an average amount equal to `timeclock-workday'
each day.
(defvar timeclock-discrepancy nil (#$ . 5844))
#@321 A variable containing the time elapsed for complete periods today.
This value is not accurate enough to be useful by itself.  Rather,
call `timeclock-workday-elapsed', to determine how much time has been
worked so far today.  Also, if `timeclock-relative' is nil, this value
will be the same as `timeclock-discrepancy'.
(defvar timeclock-elapsed nil (#$ . 6356))
#@70 Non-nil if the mode line should display time elapsed, not remaining.
(defvar timeclock-use-elapsed nil (#$ . 6725))
#@168 Integer representing the number of seconds in the last period.
Note that you shouldn't access this value, but instead should use the
function `timeclock-last-period'.
(defvar timeclock-last-period nil (#$ . 6848))
#@131 The timeclock string (optionally) displayed in the mode line.
The time is bracketed by <> if you are clocked in, otherwise by [].
(defvar timeclock-mode-string nil (#$ . 7069))
#@56 The date of the last day when notified "day over" for.
(defvar timeclock-day-over nil (#$ . 7252))
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias timeclock-modeline-display timeclock-mode-line-display nil make-obsolete "24.3"] 4)
#@484 Toggle display of the amount of time left today in the mode line.
If `timeclock-use-display-time' is non-nil (the default), then
the function `display-time-mode' must be active, and the mode line
will be updated whenever the time display is updated.  Otherwise,
the timeclock will use its own sixty second timer to do its
updating.  With prefix ARG, turn mode line display on if and only
if ARG is positive.  Returns the new status of timeclock mode line
display (non-nil means on).
(defalias 'timeclock-mode-line-display #[(&optional arg) "\306	\204\307\n\203\310\n!\311V\202?\211\203e\300	>\204&\312	\313\"\314\315\316\"\210
\2035\317
!\210\320\321\322!\203@\323\322\316\"\210\203\\\203P\316 \210\202T\324\325!\210\314\322\316\"\210\202\204\326\320\327\316#\202\204\330\300	\"\323\315\316\"\210\321\322!\203z\323\322\316\"\210
\203\204\317
!\210\320\331 \210\f\211)\207" [timeclock-mode-string global-mode-string arg timeclock-mode-line-display on-p timeclock-update-timer #1="" (#1#) prefix-numeric-value 0 append (timeclock-mode-string) add-hook timeclock-event-hook timeclock-update-mode-line cancel-timer nil boundp display-time-hook remove-hook message "Activate `display-time-mode' or turn off `timeclock-use-display-time' to see timeclock information" run-at-time 60 delq force-mode-line-update timeclock-use-display-time display-time-mode] 5 (#$ . 7508) "P"])
(byte-code "\302\303\304\305#\210\306\305\211\203,	@\303N\203%\304N\204%\307\304\303N#\210	A\211\204*\310\303\304\311#\210\312\304\305\313\314\315\316\317\320\321\322\321&\207" [prop --dolist-tail-- defvaralias timeclock-modeline-display timeclock-mode-line-display nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3" custom-declare-variable "Toggle mode line display of time remaining.\nYou must modify via \\[customize] for this variable to have an effect." :set #[(symbol value) "\301\206\302!\211\207" [value timeclock-mode-line-display 0] 2] :type boolean :group timeclock :require] 13)
#@50 Convert the TIME value to a textual date string.
(defalias 'timeclock-time-to-date #[(time) "\301\302\"\207" [time format-time-string "%Y/%m/%d"] 3 (#$ . 9548)])
(put 'timeclock-time-to-date 'byte-optimizer 'byte-compile-inline-expand)
#@678 Clock in, recording the current time moment in the timelog.
With a numeric prefix ARG, record the fact that today has only that
many hours in it to be worked.  If ARG is a non-numeric prefix argument
(non-nil, but not a number), 0 is assumed (working on a holiday or
weekend).  *If not called interactively, ARG should be the number of
_seconds_ worked today*.  This feature only has effect the first time
this function is called within a day.

PROJECT is the project being clocked into.  If PROJECT is nil, and
FIND-PROJECT is non-nil -- or the user calls `timeclock-in'
interactively -- call the function `timeclock-get-project-function' to
discover the name of the project.
(defalias 'timeclock-in #[(&optional arg project find-project) "@\306\232\203\307\310!\207\204\311 \210\203.\211A@)\312\313\n\")\314 \312\313\n\")\232\204{\247\2037\206I\203?\315\202I\f\203H\f \206I
\316\317!\210\206U\315Z
U\204z\320\321\322\323\324\325\246!\203t\326\202u\327\326#!\"\210)\320\306\206\225\205\225\204\222\330\331!\205\225 \"\210\316\332!\207" [timeclock-last-event x time arg timeclock-get-workday-function timeclock-workday "i" error "You've already clocked in!" timeclock-reread-log format-time-string "%Y/%m/%d" current-time 0 run-hooks timeclock-first-in-hook timeclock-log "h" number-to-string / zerop 3600 60 60.0 called-interactively-p interactive timeclock-in-hook workday timeclock-discrepancy project timeclock-get-project-function find-project] 9 (#$ . 9792) (list (and current-prefix-arg (if (numberp current-prefix-arg) (* current-prefix-arg 60 60) 0)))])
#@389 Clock out, recording the current time moment in the timelog.
If a prefix ARG is given, the user has completed the project that was
begun during the last time segment.

REASON is the user's reason for clocking out.  If REASON is nil, and
FIND-REASON is non-nil -- or the user calls `timeclock-out'
interactively -- call the function `timeclock-get-reason-function' to
discover the reason.
(defalias 'timeclock-out #[(&optional arg reason find-reason) "\204\305\306!\210@\227\307\232\203\305\310!\207\311	\203\312\202\307\n\2062\2052\f\2040\313\314!\2052 \"\210\315\316!\210	\205?\315\317!\207" [timeclock-last-event arg reason timeclock-get-reason-function find-reason error "You haven't clocked in!" "o" "You've already clocked out!" timeclock-log "O" called-interactively-p interactive run-hooks timeclock-out-hook timeclock-done-hook] 4 (#$ . 11414) "P"])
#@245 Return the number of seconds until the workday is complete.
The amount returned is relative to the value of `timeclock-workday'.
If TODAY-ONLY is non-nil, the value returned will be relative only to
the time worked today, and not to past time.
(defalias 'timeclock-workday-remaining #[(&optional today-only) "\303 \211\203	\203\211A@)\202@[\202\304)\207" [discrep today-only x timeclock-find-discrep 0.0] 2 (#$ . 12296)])
(put 'timeclock-workday-remaining 'byte-optimizer 'byte-compile-inline-expand)
#@240 Report the overall timeclock status at the present moment.
If SHOW-SECONDS is non-nil, display second resolution.
If TODAY-ONLY is non-nil, the display will be relative only to time
worked today, ignoring the time worked on previous days.
(defalias 'timeclock-status-string #[(&optional show-seconds today-only) "\206	?\306 \211\203!\203\n\211A@)\202\n@[\202\"\307*\f@\310\232\311\312\313\2038\314\2029\315 \203G\316\317\fA@\"\202M\316\320\fA@\"\321\f8\206]\203\\\322\202]\323\324 \325#\326V\203o\327\202p\330\331 \"&\332\333!\203\205\334\335
\"\202\206
+\207" [today-only timeclock-relative discrep x timeclock-last-event status timeclock-find-discrep 0.0 "i" nil format "Currently %s since %s (%s), %s %s, leave at %s" "IN" "OUT" format-time-string "%-I:%M:%S %p" "%-I:%M %p" 2 "**UNKNOWN**" "workday over" timeclock-seconds-to-string t 0 "remaining" "over" timeclock-when-to-leave-string called-interactively-p interactive message "%s" last-in remainder show-seconds] 10 (#$ . 12816) "P"])
#@262 Change to working on a different project.
This clocks out of the current project, then clocks in on a new one.
With a prefix ARG, consider the previous project as finished at the
time of changeover.  PROJECT is the name of the last project you were
working on.
(defalias 'timeclock-change #[(&optional arg project) "\302!\210\303\304	\305\306!#\207" [arg project timeclock-out timeclock-in nil called-interactively-p interactive] 5 (#$ . 13859) "P"])
#@106 Ask the user whether to clock out.
This is a useful function for adding to `kill-emacs-query-functions'.
(defalias 'timeclock-query-out #[nil "@\301\232\203\302\303!\203\304 \210\305\207" [timeclock-last-event "i" y-or-n-p "You're currently clocking time, clock out? " timeclock-out t] 2 (#$ . 14318)])
#@107 Re-read the timeclock, to account for external changes.
Returns the new value of `timeclock-discrepancy'.
(defalias 'timeclock-reread-log #[nil "\302\303 \210\203	\203\304 \210\207" [timeclock-discrepancy timeclock-mode-line-display nil timeclock-find-discrep timeclock-update-mode-line] 1 (#$ . 14633) nil])
#@384 Convert SECONDS into a compact time string.
If SHOW-SECONDS is non-nil, make the resolution of the return string
include the second count.  If REVERSE-LEADER is non-nil, it means to
output a "+" if the time value is negative, rather than a "-".
This is used when negative time values have an inverted meaning (such
as with time remaining, where negative time really means overtime).
(defalias 'timeclock-seconds-to-string #[(seconds &optional show-seconds reverse-leader) "\2032\303\304	\305W\203\n\203\306\202\307\202\310\311\312	!\313\245!\311\312	!\314\245!\314\246\311\312	!!\314\246%\207\303\315	\305W\203F\n\203B\306\202G\307\202G\310\311\312	!\313\245!\311\312	!\314\245!\314\246$\207" [show-seconds seconds reverse-leader format "%s%d:%02d:%02d" 0 "+" "-" "" truncate abs 3600 60 "%s%d:%02d"] 8 (#$ . 14956)])
#@53 Return non-nil if the user is currently clocked in.
(defalias 'timeclock-currently-in-p #[nil "@\301\232\207" [timeclock-last-event "i"] 2 (#$ . 15794)])
(put 'timeclock-currently-in-p 'byte-optimizer 'byte-compile-inline-expand)
#@286 Return a string representing the amount of time left today.
Display second resolution if SHOW-SECONDS is non-nil.  If TODAY-ONLY
is non-nil, the display will be relative only to time worked today.
See `timeclock-relative' for more information about the meaning of
"relative to today".
(defalias 'timeclock-workday-remaining-string #[(&optional show-seconds today-only) "\305\306 \211\203\203	\211A@)\202	@[\202\307*\310#\311\312!\2030\313\314\f\"\2021\f)\207" [today-only discrep x show-seconds string timeclock-seconds-to-string timeclock-find-discrep 0.0 t called-interactively-p interactive message "%s"] 4 (#$ . 16032) nil])
#@204 Return the number of seconds worked so far today.
If RELATIVE is non-nil, the amount returned will be relative to past
time worked.  The default is to return only the time that has elapsed
so far today.
(defalias 'timeclock-workday-elapsed #[nil "\301 \211\203
\3028\202\303)\207" [discrep timeclock-find-discrep 2 0.0] 3 (#$ . 16685)])
(put 'timeclock-workday-elapsed 'byte-optimizer 'byte-compile-inline-expand)
#@201 Return a string representing the amount of time worked today.
Display seconds resolution if SHOW-SECONDS is non-nil.  If RELATIVE is
non-nil, the amount returned will be relative to past time worked.
(defalias 'timeclock-workday-elapsed-string #[(&optional show-seconds) "\303\304 \211\203\3058\202\306)	\"\307\310!\203 \311\312\n\"\202!\n)\207" [discrep show-seconds string timeclock-seconds-to-string timeclock-find-discrep 2 0.0 called-interactively-p interactive message "%s"] 3 (#$ . 17111) nil])
(byte-code "\300\301\302\303!\203\f\303\202
\304\"\210\300\305\306\"\207" [defalias timeclock-time-to-seconds fboundp float-time time-to-seconds timeclock-seconds-to-time seconds-to-time] 4)
#@177 Return a time value representing the end of today's workday.
If TODAY-ONLY is non-nil, the value returned will be relative only to
the time worked today, and not to past time.
(defalias 'timeclock-when-to-leave #[(&optional today-only) "\303\304\305 !\306 \211\203	\203\211A@)\202@\202\307)Z!\207" [discrep today-only x timeclock-seconds-to-time timeclock-time-to-seconds current-time timeclock-find-discrep 0.0] 4 (#$ . 17822)])
(put 'timeclock-when-to-leave 'byte-optimizer 'byte-compile-inline-expand)
#@313 Return a string representing the end of today's workday.
This string is relative to the value of `timeclock-workday'.  If
SHOW-SECONDS is non-nil, the value printed/returned will include
seconds.  If TODAY-ONLY is non-nil, the value returned will be
relative only to the time worked today, and not to past time.
(defalias 'timeclock-when-to-leave-string #[(&optional show-seconds today-only) "\306\307\310 !\311 \211\203 \203	\211A@)\202!	@\202!\312)Z!)\f\2031\313\314\"\2025\313\315\"\316\317!\203C\320\321
\"\202D
*\207" [today-only discrep x then show-seconds string timeclock-seconds-to-time timeclock-time-to-seconds current-time timeclock-find-discrep 0.0 format-time-string "%-I:%M:%S %p" "%-I:%M %p" called-interactively-p interactive message "%s"] 4 (#$ . 18346) nil])
#@120 Specify all workday lengths in `timeclock-file'.
OLD-DEFAULT hours are set for every day that has no number indicated.
(defalias 'timeclock-make-hours-explicit #[(old-default) "\203\305!\202\306\307!\210\310	!\311r\312	\313\"q\210\314\216\212\214~\210eb\210\315\311w\210m\204l\316\317!\2048\306\320	\"\210\321\322!\n\203F\f\n\230\204Z\321\323!\324\230\204Z\325\326\321\322!\321\327!$c\210\330\331\321\323!\"\203e\f)\311y\210\202%\332 .\207" [old-default timeclock-file current-date extant-timelog this-date prefix-numeric-value error "`timelog-make-hours-explicit' requires an explicit argument" find-buffer-visiting nil find-file-noselect t ((byte-code "\204\301p!\210\301\207" [extant-timelog kill-buffer] 2)) "\n" looking-at "^\\([bhioO]\\) \\([0-9]+/[0-9]+/[0-9]+\\) \\([0-9]+:[0-9]+:[0-9]+\\)" "Can't parse `%s'" match-string 2 1 "h" format "h %s %s %s\n" 3 string-match "^[ih]" save-buffer] 5 (#$ . 19149) "P"])
(defvar timeclock-project-list nil)
(defvar timeclock-last-project nil)
#@171 A version of `completing-read' that works on both Emacs and XEmacs.
PROMPT, ALIST and DEFAULT are used for the PROMPT, COLLECTION and DEF
arguments of `completing-read'.
(defalias 'timeclock-completing-read #[(prompt alist &optional default) "\303	\304\211\211\211\n&\207" [prompt alist default completing-read nil] 8 (#$ . 20169)])
#@54 Ask the user for the project they are clocking into.
(defalias 'timeclock-ask-for-project #[nil "\302\303\304\206		@\"\305\306	\"\206	@#\207" [timeclock-last-project timeclock-project-list timeclock-completing-read format "Clock into which project (default %s): " mapcar list] 5 (#$ . 20510)])
(defvar timeclock-reason-list nil)
#@52 Ask the user for the reason they are clocking out.
(defalias 'timeclock-ask-for-reason #[nil "\301\302\303\304\"\"\207" [timeclock-reason-list timeclock-completing-read "Reason for clocking out: " mapcar list] 5 (#$ . 20850)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias timeclock-update-modeline timeclock-update-mode-line nil make-obsolete "24.3"] 4)
#@165 Update the `timeclock-mode-string' displayed in the mode line.
The value of `timeclock-relative' affects the display as described in
that variable's documentation.
(defalias 'timeclock-update-mode-line #[nil "\203\306 \211\203\307	8\202\310)\2025\n?\306 \211\2033\203-	\211A@)\202/	@[\2024\311*
@\312\232\211\313W\203h\203X\314  \315\316 \")\232\204h\314  \315\316 \")\317\320!\210\321\322\323\203t\324\202u\325\326\327\330#\203\204\331\202\205\332$\333\334#\211!*\207" [timeclock-use-elapsed discrep timeclock-relative today-only x timeclock-last-event timeclock-find-discrep 2 0.0 0.0 "i" 0 current-time format-time-string "%Y/%m/%d" run-hooks timeclock-day-over-hook propertize format " %c%s%c " 60 91 timeclock-seconds-to-string nil t 62 93 help-echo "timeclock: time remaining" last-in remainder timeclock-day-over time timeclock-mode-string] 9 (#$ . 21233) nil])
(put 'timeclock-mode-string 'risky-local-variable t)
#@196 Log the event CODE to the timeclock log, at the time of call.
If PROJECT is a string, it represents the project which the event is
being logged for.  Normally only "in" events specify a project.
(defalias 'timeclock-log #[(code &optional project) "\306!r\307\310\"q\210\212\214~\210db\210n\204\311c\210\312 \313\314\315\n\"\f;\2034\fG\316V\2034\313\fP\2065\317\311\261\210\227\320\232\203V\321\n!\321
\211A@)!Z\\\n\fE+\322 \210	\204g\323p!\210*\324\325!\207" [timeclock-file extant-timelog now code project timeclock-last-event find-buffer-visiting find-file-noselect t "\n" current-time " " format-time-string "%Y/%m/%d %H:%M:%S" 0 "" "o" timeclock-time-to-seconds save-buffer kill-buffer run-hooks timeclock-event-hook x timeclock-last-period timeclock-discrepancy] 6 (#$ . 22207)])
(defvar timeclock-moment-regexp "\\([bhioO]\\)\\s-+\\([0-9]+\\)/\\([0-9]+\\)/\\([0-9]+\\)\\s-+\\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\)[ 	]*\\([^\n]*\\)")
#@47 Read the moment under point from the timelog.
(defalias 'timeclock-read-moment #[nil "\306!\205E\307\310!\311\307\312!!\311\307\313!!\311\307\314!!\311\307\315!!\311\307\316!!\311\307\317!!\307\320!\211\321\n\f
&	E.\207" [timeclock-moment-regexp project sec min hour mday looking-at match-string 1 string-to-number 2 3 4 5 6 7 8 encode-time mon year code] 10 (#$ . 23176)])
(put 'timeclock-read-moment 'byte-optimizer 'byte-compile-inline-expand)
#@328 Return the value of the last event period.
If the last event was a clock-in, the period will be open ended, and
growing every second.  Otherwise, it is a fixed amount which has been
recorded to disk.  If MOMENT is non-nil, use that as the current time.
This is only provided for coherency when used by
`timeclock-discrepancy'.
(defalias 'timeclock-last-period #[(&optional moment) "@\304\232\203\305	\206\306 !\305\211A@)!Z\207\207" [timeclock-last-event moment x timeclock-last-period "i" timeclock-time-to-seconds current-time] 4 (#$ . 23650)])
#@40 Return the length of ENTRY in seconds.
(defalias 'timeclock-entry-length #[(entry) "\302\211A@)!\302@!Z\207" [entry x timeclock-time-to-seconds] 4 (#$ . 24211)])
(put 'timeclock-entry-length 'byte-optimizer 'byte-compile-inline-expand)
#@33 Return the start time of ENTRY.
(defalias 'timeclock-entry-begin #[(entry) "@\207" [entry] 1 (#$ . 24456)])
(put 'timeclock-entry-begin 'byte-optimizer 'byte-compile-inline-expand)
#@31 Return the end time of ENTRY.
(defalias 'timeclock-entry-end #[(entry) "\211A@)\207" [entry x] 2 (#$ . 24644)])
(put 'timeclock-entry-end 'byte-optimizer 'byte-compile-inline-expand)
#@30 Return the project of ENTRY.
(defalias 'timeclock-entry-project #[(entry) "\3018\207" [entry 2] 2 (#$ . 24835)])
(put 'timeclock-entry-project 'byte-optimizer 'byte-compile-inline-expand)
#@30 Return the comment of ENTRY.
(defalias 'timeclock-entry-comment #[(entry) "\3018\207" [entry 3] 2 (#$ . 25030)])
(put 'timeclock-entry-comment 'byte-optimizer 'byte-compile-inline-expand)
#@51 Return the total length of ENTRY-LIST in seconds.
(defalias 'timeclock-entry-list-length #[(entry-list) "\305	\306\211\203'@\n\307\n\211A@)!\307\n@!Z)\\A\211\204\n*)\207" [length entry-list entry --dolist-tail-- x 0 nil timeclock-time-to-seconds] 5 (#$ . 25225)])
(put 'timeclock-entry-list-length 'byte-optimizer 'byte-compile-inline-expand)
#@59 Return the start time of the first element of ENTRY-LIST.
(defalias 'timeclock-entry-list-begin #[(entry-list) "@\211@)\207" [entry-list entry] 2 (#$ . 25588)])
(put 'timeclock-entry-list-begin 'byte-optimizer 'byte-compile-inline-expand)
#@56 Return the end time of the last element of ENTRY-LIST.
(defalias 'timeclock-entry-list-end #[(entry-list) "\303!@\211\211A@*\207" [entry-list entry x last] 3 (#$ . 25835)])
(put 'timeclock-entry-list-end 'byte-optimizer 'byte-compile-inline-expand)
#@57 Return the total time in seconds spanned by ENTRY-LIST.
(defalias 'timeclock-entry-list-span #[(entry-list) "\303\304!@\211\211A@+!\303\211@\211@*!Z\207" [entry-list entry x timeclock-time-to-seconds last] 5 (#$ . 26093)])
(put 'timeclock-entry-list-span 'byte-optimizer 'byte-compile-inline-expand)
#@60 Return the total break time (span - length) in ENTRY-LIST.
(defalias 'timeclock-entry-list-break #[(entry-list) "\305\306!@\211\211A@+!\305\211@\211@*!Z)\307\310\211\203F\f@	\305	\211A@)!\305	@!Z)\\\fA\211\204)**Z\207" [entry-list entry x length --dolist-tail-- timeclock-time-to-seconds last 0 nil] 5 (#$ . 26407)])
(put 'timeclock-entry-list-break 'byte-optimizer 'byte-compile-inline-expand)
#@50 Return a list of all the projects in ENTRY-LIST.
(defalias 'timeclock-entry-list-projects #[(entry-list) "\305\211\n\305\211\203,\f@\211\3068)	\203\"\307\301\"\210\202%C\fA\211\204\f*	*\207" [proj projects entry-list entry --dolist-tail-- nil 2 add-to-list] 4 (#$ . 26833)])
(put 'timeclock-entry-list-projects 'byte-optimizer 'byte-compile-inline-expand)
#@76 Return the required length of DAY in seconds, default `timeclock-workday'.
(defalias 'timeclock-day-required #[(day) "@\206	\207" [day timeclock-workday] 1 (#$ . 27211)])
(put 'timeclock-day-required 'byte-optimizer 'byte-compile-inline-expand)
#@45 Return the actual length of DAY in seconds.
(defalias 'timeclock-day-length #[(day) "A\306	\307\211\203*\f@\n\310\211A@)!\310@!Z)\\\fA\211\204
*\n*\207" [day entry-list length entry --dolist-tail-- x 0 nil timeclock-time-to-seconds] 4 (#$ . 27465)])
(put 'timeclock-day-length 'byte-optimizer 'byte-compile-inline-expand)
#@70 Return the debt (required - actual) associated with DAY, in seconds.
(defalias 'timeclock-day-debt #[(day) "\211@\206	)\211A\306\n\307\211\2036
@\f\310\f\211	A@)!\310\f@!Z)\\
A\211\204*+Z\207" [day timeclock-workday entry-list length entry --dolist-tail-- 0 nil timeclock-time-to-seconds x] 6 (#$ . 27808)])
(put 'timeclock-day-debt 'byte-optimizer 'byte-compile-inline-expand)
#@31 Return the start time of DAY.
(defalias 'timeclock-day-begin #[(day) "A\211@\211@*\207" [day entry-list entry] 3 (#$ . 28212)])
(put 'timeclock-day-begin 'byte-optimizer 'byte-compile-inline-expand)
#@29 Return the end time of DAY.
(defalias 'timeclock-day-end #[(day) "A\304	!@\211\211A@+\207" [day entry-list entry x last] 2 (#$ . 28420)])
(put 'timeclock-day-end 'byte-optimizer 'byte-compile-inline-expand)
#@25 Return the span of DAY.
(defalias 'timeclock-day-span #[(day) "A\304	\305	!@\211\211A@+!\304	\211@\211@*!Z)\207" [day entry-list entry x timeclock-time-to-seconds last] 4 (#$ . 28637)])
(put 'timeclock-day-span 'byte-optimizer 'byte-compile-inline-expand)
#@37 Return the total break time of DAY.
(defalias 'timeclock-day-break #[(day) "A\211\306	\307	!@\211\211A@+!\306	\211@\211@*!Z)	\310	\311\211\203I
@\f\n\306\n\211A@)!\306\n@!Z)\\
A\211\204,*\f*Z)\207" [day entry-list entry x length --dolist-tail-- timeclock-time-to-seconds last 0 nil] 6 (#$ . 28906)])
(put 'timeclock-day-break 'byte-optimizer 'byte-compile-inline-expand)
#@43 Return a list of all the projects in DAY.
(defalias 'timeclock-day-projects #[(day) "\211AA)\306\211\n\306\211	\2037	@\211\307
8)\f\203+\310\304\"\210\202.C	A\211	\204*\f+\207" [day x entry-list proj projects entry nil 2 add-to-list --dolist-tail--] 4 (#$ . 29302)])
(put 'timeclock-day-projects 'byte-optimizer 'byte-compile-inline-expand)
#@70 Template for summing the result of FUNC on each element of DAY-LIST.
(defalias 'timeclock-day-list-template '(macro . #[(func) "\301\302\303\304\305\306\307\306\310!\311BE\312BBBE\313BBB\207" [func let ((length 0)) while day-list setq length + eval ((car day-list)) (day-list (cdr day-list)) (length)] 10 (#$ . 29670)]))
#@55 Return total required length of DAY-LIST, in seconds.
(defalias 'timeclock-day-list-required #[(day-list) "\304	\203	@\211@\206)\\	A\211\204)\207" [length day-list day timeclock-workday 0] 3 (#$ . 29998)])
#@47 Return actual length of DAY-LIST, in seconds.
(defalias 'timeclock-day-list-length #[(day-list) "\306	\203A	@\211A\306\307\211\2035
@\f\310\f\211	A@)!\310\f@!Z)\\
A\211\204*+\\	A\211\204)\207" [length day-list day entry-list entry --dolist-tail-- 0 nil timeclock-time-to-seconds x] 6 (#$ . 30223)])
#@52 Return total debt (required - actual) of DAY-LIST.
(defalias 'timeclock-day-list-debt #[(day-list) "\306	\203R	@\211\211@\206)\n\211A\306\f\307\211	\203D	@
\310
\211\nA@)!\310
@!Z)\\	A\211	\204#*+Z)\\	A\211\204)\207" [length day-list day timeclock-workday entry-list entry 0 nil timeclock-time-to-seconds --dolist-tail-- x] 7 (#$ . 30552)])
#@36 Return the start time of DAY-LIST.
(defalias 'timeclock-day-list-begin #[(day-list) "@\211A\211@\211@+\207" [day-list day entry-list entry] 3 (#$ . 30928)])
(put 'timeclock-day-list-begin 'byte-optimizer 'byte-compile-inline-expand)
#@34 Return the end time of DAY-LIST.
(defalias 'timeclock-day-list-end #[(day-list) "\305!@\211A\305\n!@\211\211A@,\207" [day-list day entry-list entry x last] 3 (#$ . 31171)])
(put 'timeclock-day-list-end 'byte-optimizer 'byte-compile-inline-expand)
#@30 Return the span of DAY-LIST.
(defalias 'timeclock-day-list-span #[(day-list) "\306	\2031	@\211A\307\310!@\211\211A@+!\307\211@\211@*!Z*\\	A\211\204)\207" [length day-list day entry-list entry x 0 timeclock-time-to-seconds last] 6 (#$ . 31429)])
#@37 Return the total break of DAY-LIST.
(defalias 'timeclock-day-list-break #[(day-list) "\306	\203e	@\211A\211\307\310!@\211\211A@+!\307\211@\211@*!Z)\306\311\211\n\203W\n@\f\307\f\211A@)!\307\f@!Z)\\\nA\211\n\2047**Z*\\	A\211\204)\207" [length day-list day entry-list entry x 0 timeclock-time-to-seconds last nil --dolist-tail--] 7 (#$ . 31698)])
#@48 Return a list of all the projects in DAY-LIST.
(defalias 'timeclock-day-list-projects #[(day-list) "\306	\306\211\203y@\211\211\211AA)\306\211	
\306\n\211\203J@\211\n\n\307\n8)	\203?\310\300	\"\210\202C	CA\211\204$*,\306	\211\203q@	\203f\310\300	\"\210\202j	CA\211\204U*A\211\204\n*)\207" [projects day-list day --dolist-tail-- x entry-list nil 2 add-to-list proj entry] 4 (#$ . 32085)])
#@70 Return the seconds debt from LOG-DATA, default `timeclock-log-data'.
(defalias 'timeclock-current-debt #[(&optional log-data) "\206\301 @\207" [log-data timeclock-log-data] 1 (#$ . 32526)])
(put 'timeclock-current-debt 'byte-optimizer 'byte-compile-inline-expand)
#@68 Return the date alist from LOG-DATA, default `timeclock-log-data'.
(defalias 'timeclock-day-alist #[(&optional log-data) "\206\301 A@\207" [log-data timeclock-log-data] 1 (#$ . 32799)])
(put 'timeclock-day-alist 'byte-optimizer 'byte-compile-inline-expand)
#@60 Return a list of the cdrs of the date alist from LOG-DATA.
(defalias 'timeclock-day-list #[(&optional log-data) "\304	\211\206\n\305 A@)\304\211\203#@\211ABA\211\204*)\207" [day-list log-data date-list --dolist-tail-- nil timeclock-log-data] 3 (#$ . 33065)])
#@71 Return the project alist from LOG-DATA, default `timeclock-log-data'.
(defalias 'timeclock-project-alist #[(&optional log-data) "\301\206\302 8\207" [log-data 2 timeclock-log-data] 2 (#$ . 33345)])
(put 'timeclock-project-alist 'byte-optimizer 'byte-compile-inline-expand)
#@4328 Return the contents of the timelog file, in a useful format.
If the optional argument RECENT-ONLY is non-nil, only show the contents
from the last point where the time debt (see below) was set.
If the optional argument FILENAME is non-nil, it is used instead of
the file specified by `timeclock-file.'

A timelog contains data in the form of a single entry per line.
Each entry has the form:

  CODE YYYY/MM/DD HH:MM:SS [COMMENT]

CODE is one of: b, h, i, o or O.  COMMENT is optional when the code is
i, o or O.  The meanings of the codes are:

  b  Set the current time balance, or "time debt".  Useful when
     archiving old log data, when a debt must be carried forward.
     The COMMENT here is the number of seconds of debt.

  h  Set the required working time for the given day.  This must
     be the first entry for that day.  The COMMENT in this case is
     the number of hours in this workday.  Floating point amounts
     are allowed.

  i  Clock in.  The COMMENT in this case should be the name of the
     project worked on.

  o  Clock out.  COMMENT is unnecessary, but can be used to provide
     a description of how the period went, for example.

  O  Final clock out.  Whatever project was being worked on, it is
     now finished.  Useful for creating summary reports.

When this function is called, it will return a data structure with the
following format:

  (DEBT ENTRIES-BY-DAY ENTRIES-BY-PROJECT)

DEBT is a floating point number representing the number of seconds
"owed" before any work was done.  For a new file (one without a 'b'
entry), this is always zero.

The two entries lists have similar formats.  They are both alists,
where the CAR is the index, and the CDR is a list of time entries.
For ENTRIES-BY-DAY, the CAR is a textual date string, of the form
YYYY/MM/DD.  For ENTRIES-BY-PROJECT, it is the name of the project
worked on, or t for the default project.

The CDR for ENTRIES-BY-DAY is slightly different than for
ENTRIES-BY-PROJECT.  It has the following form:

  (DAY-LENGTH TIME-ENTRIES...)

For ENTRIES-BY-PROJECT, there is no DAY-LENGTH member.  It is simply a
list of TIME-ENTRIES.  Note that if DAY-LENGTH is nil, it means
whatever is the default should be used.

A TIME-ENTRY is a recorded time interval.  It has the following format
(although generally one does not have to manipulate these entries
directly; see below):

  (BEGIN-TIME END-TIME PROJECT [COMMENT] [FINAL-P])

Anyway, suffice it to say there are a lot of structures.  Typically
the user is expected to manipulate to the day(s) or project(s) that he
or she wants, at which point the following helper functions may be
used:

  timeclock-day-required
  timeclock-day-length
  timeclock-day-debt
  timeclock-day-begin
  timeclock-day-end
  timeclock-day-span
  timeclock-day-break
  timeclock-day-projects

  timeclock-day-list-required
  timeclock-day-list-length
  timeclock-day-list-debt
  timeclock-day-list-begin
  timeclock-day-list-end
  timeclock-day-list-span
  timeclock-day-list-break
  timeclock-day-list-projects

  timeclock-entry-length
  timeclock-entry-begin
  timeclock-entry-end
  timeclock-entry-project
  timeclock-entry-comment

  timeclock-entry-list-length
  timeclock-entry-list-begin
  timeclock-entry-list-end
  timeclock-entry-list-span
  timeclock-entry-list-break
  timeclock-entry-list-projects

A few comments should make the use of the above functions obvious:

  `required' is the amount of time that must be spent during a day, or
  sequence of days, in order to have no debt.

  `length' is the actual amount of time that was spent.

  `debt' is the difference between required time and length.  A
  negative debt signifies overtime.

  `begin' is the earliest moment at which work began.

  `end' is the final moment work was done.

  `span' is the difference between begin and end.

  `break' is the difference between span and length.

  `project' is the project that was worked on, and `projects' is a
  list of all the projects that were worked on during a given period.

  `comment', where it applies, could mean anything.

There are a few more functions available, for locating day and entry
lists:

  timeclock-day-alist LOG-DATA
  timeclock-project-alist LOG-DATA
  timeclock-current-debt LOG-DATA

See the documentation for the given function if more info is needed.
(defalias 'timeclock-log-data #[(&optional recent-only filename) "\306\307\211E\310 \307\211\211\311\307\211\211\211\211()*+,\312\313!-r-q\210\314\216\315.\2063/!\2100\203Hdb\210\316\317\307\320#\204Heb\210\3211!\205\230\322\323!\324\322\325!!\324\322\326!!\324\322\327!!\324\322\330!!\324\322\331!!\324\322\332!!\322\333!2345678\2119\334345678&2E.\211\204\260\203\367\f\204\367\320\335+D\211\203\367
T@\336\232\203\306,\324\3258!\240\210\202\361@\337\232\203\352\211:A@);\340\341;\")*\324\3258!\342_)\202\361@\343\232\203i\203\375\344\345
\"\210\202\377\320\211:A@)\307\3258G\311V\205\3258E\211:A@);\340\341;\")<(\203Q<(\232\204Q,A(\nB,\211:A@)B\240\210*\205L)C\202^\n\204^*\205\\)C<(\307*)\202\361@\227\335\232\203\361\204}\344\345
\"\210\202\307	A\211:A@)\240\210\3258G\311V\205\226\3258\211=\203\243	\3258C\244\210@\346\232\203\272	=\203\265\320C\202\270\307\320D\244\210\n	C\244\210\325	8=\347=\325,8\"\211>\204\351,\211:AA)=	CB\325,8B\240\210\202\360>A	C\244\210*\307y\210\202H\n\203
,A(\nB,\211:A@)B\240\210,.\207" [event entry day beg last line 0.0 nil current-time 0 generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) insert-file-contents re-search-backward "^b\\s-+" t looking-at match-string 1 string-to-number 2 3 4 5 6 7 8 encode-time "o" "b" "h" format-time-string "%Y/%m/%d" 3600.0 "i" error "Error in format of timelog file, line %d" "O" assoc last-date last-date-seconds last-date-limited now log-data #1# filename timeclock-file recent-only timeclock-moment-regexp project sec min hour mday mon year code x time date desc proj] 12 (#$ . 33629)])
#@166 Calculate time discrepancies, in seconds.
The result is a three element list, containing the total time
discrepancy, today's discrepancy, and the time worked today.
(defalias 'timeclock-find-discrep #[nil "\306 \211\307\310	\")\311\312\211\313\211+,\313\211-.\313/0\204\327\3141!\203\327\313\211$2\313)\3123\315\316!4r4q\210\317\216\3201!\210db\210\321\322\313\311#\204Web\210\3235!\205\247\324\325!\326\324\327!!\326\324\330!!\326\324\331!!\326\324\332!!\326\324\333!!\326\324\334!!\324\335!6789:;<\211=\336789:;<&6E.\211+\203\323+@\337\232\203\277\326\327+8!\202\263+@\340\232\203\344+\211>A@)\307\310	\").\326\327+8!\341_/\202\263+@\342\232\203a\327+8\203\327+8G\312V\203\343\344\327+8\"\210\327+82+\211>A@)\307\310	\")?-\203)?-\232?\202*\203>\313\f.\203:/\202<@Z?-\313.,\203Q\345\346!\210\202]\347+\211>A@)!,)\202\263+@\227\350\232\203\263\327+8\203\203\327+8G\312V\203\203\343\351\327+8\"\210,\204\217\345\346!\210\202\245\347+\211>A@)!,Z\211*\f\\\313,-\n\232\203\263*3\\3+A\307\310	\").\232\203\311/\202\313@B\313y\210\202W\f0+B\204\340@B0\206\346\3123\206\355
A\203,A@\342\232\203\352!C\fC\\
C\\)\202,A\211>A@)\307\310	\")\307\310	\")\232\204,\fBZ\f
BZ
E.\n\207" [now time todays-date first accum elapsed current-time format-time-string "%Y/%m/%d" t 0 nil file-readable-p generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) insert-file-contents re-search-backward "^b\\s-+" looking-at match-string 1 string-to-number 2 3 4 5 6 7 8 encode-time "b" "h" 3600.0 "i" add-to-list timeclock-project-list error "Error in format of timelog file!" timeclock-time-to-seconds "o" timeclock-reason-list timeclock-last-period event beg last-date last-date-limited last-date-seconds timeclock-discrepancy timeclock-file timeclock-last-project timeclock-elapsed #1# timeclock-moment-regexp project sec min hour mday mon year code x date timeclock-workday timeclock-last-event timeclock-last-event-workday last-period] 10 (#$ . 39742)])
#@134 Given a time within a day, return 0:0:0 within that day.
If optional argument TIME is non-nil, use that instead of the current time.
(defalias 'timeclock-day-base #[(&optional time) "\302\206\303 !\211\304\240\210	A\304\240\210	AA\304\240\210\305\306	\")\207" [time decoded decode-time current-time 0 apply encode-time] 4 (#$ . 41908)])
#@58 Compute the arithmetic mean of the values in the list L.
(defalias 'timeclock-mean #[(l) "\305\211\n\306\211\203\f@	\\T\fA\211\204\f*\307!\203(\305\202+	\245*\207" [count total l thisl --dolist-tail-- 0 nil zerop] 3 (#$ . 42255)])
#@173 Generate a summary report based on the current timelog file.
By default, the report is in plain text, but if the optional argument
HTML-P is non-nil, HTML markup is added.
(defalias 'timeclock-generate-report #[(&optional html-p) "\306 \307 \n\203
\310c\210\311c\210\3128A@\313@@\314\232\203(\315c\210\202;\316@G!\2038\317c\210\320\202;\321c\210\f\204\306\322\323\324
\"\261\210\n\203Q\325c\210\202T\326c\210@\314\232\203^\327c\210\n\203k@\330\261\210\202q@\331\261\210\332@	A\312A\206\306 8)\"A\333\334!\335Z!\313\211BCD\211E\203J\336E@\211F@)\"\204\355EG\337HG\313F\211I\203\340I@FHFF\334F\211JA@)!\334F@!Z)\\HIA\211I\204\270*H*B\313\211E\202\225C\204A\336E@\211F@)D\"\204AEG\337HG\313F\211I\203;I@FHFF\334F\211JA@)!\334F@!Z)\\HIA\211I\204*H*CEA\211E\204\230C\204SBC\n\203Z\310c\210B\203o\340\341B!\342\341C!\261\210\202|C\203|\343\341C!\261\210\n\203\203\344c\210\345\341\346 \211K\203\224\312K8\202\225\347)!\350\341\313L\346 \211K\203\273L\203\264K\211JA@)\202\267K@[\202\274\351*!\352\353 \345\261\210,\n\203\315\310c\210\354\355	\211A\206\330\306 A@)G!\356\357	\211A\206\350\306 A@)!\211J@@)\261\210\n\203\374\360c\210\n\205\343\361c\210\362 M\333\334!\363Z!N\333\334!\364Z!O\333\334!\365Z!P\333\334!\366Z!Q\367\320C\320C\320C\320C\320C%R\367\320C\320C\320C\320C\320C%S\367\320C\320C\320C\320C\320C%T\367\320C\320C\320C\320C\320C%U\367\370NOPQ%VM\313W\211I\203\307I@W\337\371X\211YXW\203\275\336W\211WA\211G@\211F@+VYH\"\204\264\334\307W\211WA\211G@\211F@+!!ZRYH\334W\211WA\211G@\211F@+!ZZC\244\210W\211WAG\334GG\357G!@\211F\211JA@+!\334G\211G@\211F@*!Z*W\211WAG\337HG\313F\211I\203@I@FHFF\334F\211JA@)!\334F@!Z)\\HIA\211I\204*H+W\211W@\206O[)\\]\211^\337V\203\232\372]!\372^!\245\373V\203\232SYH\334W\211WAG\357G!@\211F\211JA@,!ZZC\244\210TYH^]ZC\244\210\\\203\251][\\Z\\]UYH]C\244\210,YT\211Y\202\207*IA\211I\204{*\337\371X\211YXW\203RY\374RYHA!I\210SY\374SYHA!I\210TY\374TYHA!I\210UY\374UYHA!I\210YT\211Y\202\317*\375c\210\376c\210\337\371X\211YXW\203A\377\341RYH!\201_\261\210YT\211Y\202$*\201`c\210\375c\210\201ac\210\337\371X\211YXW\203s\377\341SYH!\201_\261\210YT\211Y\202V*\201`c\210\375c\210\201bc\210\337\371X\211YXW\203\245\377\341TYH!\201_\261\210YT\211Y\202\210*\201`c\210\375c\210\201cc\210\337\371X\211YXW\203\327\377\341UYH!\201_\261\210YT\211Y\202\272*\201`c\210.\n\201dc-\207" [today log html-p timeclock-last-event done begin timeclock-log-data timeclock-day-base "<p>" "Currently " 2 nil "i" "IN" zerop "Done Working Today" t "OUT" " since " format-time-string "%Y/%m/%d %-I:%M %p" "<br>\n<b>" "\n*" "Working on " "</b><br>\n" "*\n" assoc timeclock-seconds-to-time timeclock-time-to-seconds 1209600 time-less-p 0 "\nTime spent on this task today: " timeclock-seconds-to-string ".  In the last two weeks: " "\nTime spent on this task in the last two weeks: " "<br>" "\n" timeclock-find-discrep 0.0 " worked today, " 0.0 " remaining, done at " timeclock-when-to-leave-string "\nThere have been " number-to-string " days of activity, starting " last "</p>" "<p>\n<table>\n<td width=\"25\"><br></td><td>\n<table border=1 cellpadding=3>\n<tr><th><i>Statistics</i></th>\n    <th>Entire</th>\n    <th>-30 days</th>\n    <th>-3 mons</th>\n    <th>-6 mons</th>\n    <th>-1 year</th>\n</tr>" timeclock-day-list 2592000 7776000 15552000 31536000 vector (0 0) 5 float 0.7 timeclock-mean "<tr>\n" "<td align=\"center\">Time in</td>\n" "<td align=\"right\">" project log-data today-len two-week-len two-weeks-ago proj-data entry entry-list length --dolist-tail-- x discrep today-only day-list thirty-days-ago three-months-ago six-months-ago one-year-ago time-in time-out breaks workday lengths day l i base timeclock-workday req len span "</td>\n" "</tr>\n" "<td align=\"center\">Time out</td>\n" "<td align=\"center\">Break</td>\n" "<td align=\"center\">Workday</td>\n" "<tfoot>\n<td colspan=\"6\" align=\"center\">\n  <i>These are approximate figures</i></td>\n</tfoot>\n</table>\n</td></table>"] 8 (#$ . 42510) "P"])
#@60 Open the file named by `timeclock-file' in another window.
(defalias 'timeclock-visit-timelog #[nil "\301!\207" [timeclock-file find-file-other-window] 2 (#$ . 46780) nil])
(byte-code "\301\302!\210\303\304!\210\305!\203\306 \210\301\207" [timeclock-file provide timeclock run-hooks timeclock-load-hook file-readable-p timeclock-reread-log] 2)

MMCT - 2023