From: Cecil W. <Ce...@de...> - 2010-07-29 16:09:40
|
Op donderdag 29 jul 2010 17:42 CEST schreef Pascal J. Bourguignon: >>> This is an emacs error. >>> >>> M-: (require 'cl) RET >>> M-: (setf debug-on-error t) RET >>> >>> and try it again to fall in the emacs debugger and see where it >>> comes from... >> >> Quit interesting. It is so severe that emacs can not display the debug >> buffer. I get: >> Entering debugger... >> define-key: Wrong type argument: characterp, nil >> Error in post-command-hook: (wrong-type-argument characterp nil) > > Which is not surprizing since it's in the post-command-hook. > I thought however that erronous hooks were removed automatically... > > Check functions in post-command-hook. (Notice that it's often a > buffer-local variable, so you should check it in the problematic > buffer). It is nil. So that is not the problem I think. It looks like it was an error with the code. Sbcl does not understand ~ in a filename. After changing that, emacs does not have a problem with this code. It does have a problem somewhere else. So I keep debugging. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof |