Stephen J. Turnbull wrote:
Raymond Toy writes:
> I did some more investigation with an older version of slime.
> Everything is working there, and the hook is (dummy t), and everything
> works fine. So it's something about slime.
Well, feel free to post the exact errors (preferably with a full Lisp
backtrace). It may be that people who understand the implementation
of hooks can help with the analysis.
I was all wet. The bug is in fsf-compat/timer.el:
(defun timer-set-idle-time (timer secs &optional repeat)
"Set the trigger idle time of TIMER to SECS.
If optional third argument REPEAT is non-nil, make the timer
fire each time Emacs is idle for that many seconds."
(set-itimer-is-idle timer t)
(set-itimer-value timer secs)
(when repeat
(set-itimer-restart timer repeat))
timer)
I think the call to set-itimer-restart should have a second arg of secs,
not repeat. Making that change fixes the issue with post-command-hook
and slime.
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta