[slime-devel] Error in `post-command-hook' ?

Tobias C. Rittweiler tcr at freebits.de
Fri Aug 21 06:30:17 UTC 2009

Alberto Riva <ariva at ufl.edu> writes:

> I recently upgraded Slime, and now I keep getting these very annoying
> warnings, usually when I do something in the modeline, but also at other
> apparently random times:
> (1) (error/warning) Error in `post-command-hook' (setting hook to nil):
> (wrong-type-argument natnump t)

I've seen this, too. Has this been addressed since by Raymond?

> If I turn debug on, this is what I get:
> Debugger entered--Lisp error: (wrong-type-argument natnump t)
>     signal(wrong-type-argument (natnump t))
>     set-itimer-restart(("run-with-idle-timer<2>" 0.2 0.2
> eldoc-print-current-symbol-info t t nil (19018 24548 646301)) t)
>     timer-set-idle-time(("run-with-idle-timer<2>" 0.2 0.2
> eldoc-print-current-symbol-info t t nil (19018 24548 646301)) 0.2 t)
>     eldoc-schedule-timer()

Uhm, why does the warning seem to come from eldoc?

> I also observed the problem that was reported here earlier:
>    slime-bug("Caught error during fontification while searching for forms
>    that are suppressed by reader-conditionals. The error was:
>    (cl-assertion-failed (<= (point) limit))
> but I was able to stop XEmacs doing whatever it was doing with C-g
> before it ran out of memory.

Yes, that's the same issue as Raymond's. For the time being, do not use
the slime-fontifying-fu contrib with XEmacs. Either do not load it, or
(if you use slime-fancy which automatically includes it) place

  (setq slime-highlight-suppressed-forms nil)

into your ~/.emacs.

More information about the slime-devel mailing list