emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Timeclock error


From: David Lord
Subject: [emacs-wiki-discuss] Timeclock error
Date: Fri, 18 Nov 2005 08:34:33 +0000

Hi,

I'm getting an error when I check in to this task: -

#B   o Miscellaneous ([[Miscellaneous]])

on a planner day page with C-c C-i: -

Debugger entered--Lisp error: (wrong-number-of-arguments #<subr propertize> 2)
  (propertize string props)
  (if (not (fboundp ...)) (let (...) (while props ... ...) string)
(propertize string props))
  timeclock-propertize(" [54:47] " help-echo "timeclock: time remaining")
  (setq timeclock-mode-string (timeclock-propertize (format " %c%s%c "
... ... ...) (quote help-echo) "timeclock: time remaining"))
  (let ((remainder ...) (last-in ...)) (when (and ... ...) (setq
timeclock-day-over ...) (run-hooks ...)) (setq timeclock-mode-string
(timeclock-propertize ... ... "timeclock: time remaining")))
  timeclock-update-modeline()
  run-hooks(timeclock-event-hook)
  (save-current-buffer (set-buffer (find-file-noselect
timeclock-file)) (goto-char (point-max)) (if (not ...) (insert "\n"))
(let (...) (insert code " " ... ... "\n") (if ... ...) (setq
timeclock-last-event ...)) (save-buffer) (run-hooks (quote
timeclock-event-hook)) (kill-buffer (current-buffer)))
  (with-current-buffer (find-file-noselect timeclock-file) (goto-char
(point-max)) (if (not ...) (insert "\n")) (let (...) (insert code " "
... ... "\n") (if ... ...) (setq timeclock-last-event ...))
(save-buffer) (run-hooks (quote timeclock-event-hook)) (kill-buffer
(current-buffer)))
  timeclock-log("o" nil)
  (if (equal (downcase ...) "o") (error "You've already clocked out!")
(timeclock-log (if arg "O" "o") (or reason ...)) (run-hooks (quote
timeclock-out-hook)) (if arg (run-hooks ...)))
  ad-Orig-timeclock-out(nil nil nil)
  (setq ad-return-value (ad-Orig-timeclock-out arg reason find-reason))
  (let (ad-return-value) (setq ad-return-value (ad-Orig-timeclock-out
arg reason find-reason)) (setq planner-timeclock-current-task nil)
ad-return-value)
  timeclock-out(nil)
  timeclock-change(nil "[[Miscellaneous]]: Miscellaneous")
  planner-timeclock-task-marked("o" "o")
  run-hook-with-args-until-failure(planner-timeclock-task-marked "o" "o")
  byte-code("(JÆ(B=,T\(Bn

emacs-version's value is "21.3.1"
muse-version's value is "3.02.01"
planner-muse version is planner-muse--mwolson--1.0--patch-97

It does appear to put the right line in the .timeclock file.

Regards
David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]