[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Symbol's function definition is void: cancel-timer with maildir Gcc
From: |
Arcady Genkin |
Subject: |
Re: Symbol's function definition is void: cancel-timer with maildir Gcc |
Date: |
Tue, 15 Mar 2005 13:17:38 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) |
Reiner Steib <reinersteib+from-uce@imap.cc> writes:
> What was the previous version/date of SUMO?
It was 2004-08-18.
> Please do `M-x toggle-debug-on-error RET', repeat the problem and post
> the resulting backtrace.
Ok, here it goes:
Debugger entered--Lisp error: (void-function cancel-timer)
cancel-timer(("run-with-timer<2>" 86405.009366 nil #<compiled-function nil
"...(34)" [cl-struct-nnmaildir--srv-tags tmpfile nnmaildir--cur-server file
file-attributes delete-file 0 error "nnmaildir--srv-error storing a
non-nnmaildir--srv" 8 "24-hour timer expired" throw return nil] 3> nil t nil (0
0 0)))
byte-code("..." [time cl-struct-nnmaildir--srv-tags group gname file
nnmaildir--cur-server 0 error "nnmaildir--srv-error storing a
non-nnmaildir--srv" 8 "No such group: " throw return nil "nnmaildir--grp-name
accessing a non-nnmaildir--grp" 1 nnmaildir--param nnmaildir--pgname read-only
"Read-only group: " "nnmaildir--srv-dir accessing a non-nnmaildir--srv" 4
file-name-as-directory current-time format-time-string "%s." "M"
number-to-string "Q" "." nnmaildir--system-name "tmp" "cur" ":2," file-exists-p
"File exists: " run-with-timer 86400 #<compiled-function nil "...(34)"
[cl-struct-nnmaildir--srv-tags tmpfile nnmaildir--cur-server file
file-attributes delete-file 0 error "nnmaildir--srv-error storing a
non-nnmaildir--srv" 8 "24-hour timer expired" throw return nil] 3>
(add-name-to-file nnmaildir--file tmpfile) ((error ...)) cancel-timer err
(add-name-to-file tmpfile curfile) ((error ...)) file-attributes delete-file
vector cl-struct-nnmaildir--art nnmaildir--grp-add-art ...] 8)
nnmaildir-request-accept-article("sent-mail-2005-03" "" t)
gnus-request-accept-article("nnmaildir:sent-mail-2005-03" "nnmaildir:" t t)
gnus-inews-do-gcc()
gnus-agent-possibly-do-gcc()
run-hooks(gnus-agent-possibly-do-gcc)
message-send(nil)
message-send-and-exit(nil)
call-interactively(message-send-and-exit)
> Probably nnmaildir should use `nnheader-cancel-timer' instead of
> `cancel-timer'. To test this, please eval this expression:
>
> (defalias 'cancel-timer 'nnheader-cancel-timer) ; <== Press C-x C-e
>
> ... and then try to reproduce the error again. Does the error happen
> again?
Using nnheader-cancel-timer makes the problem go away, too.
--
Arcady Genkin : CDF Systems Administrator
http://www.cdf.toronto.edu/~agenkin/contact.html