Helmut Eller heller@common-lisp.net writes:
Does C-c C-k on such a file work for you?
Yes, it does. Note that file local variables are only set when you open the file, not when you insert the -*- ... -*-. Verify that it is set properly, by evaluating something like M-: slime-coding in the buffer.
Thanks for your answer, but this is not the error. It looks as if somehow the flag does not get propagated to SWANK-BACKEND::SOURCE-CACHE-GET. Can you maybe read something from this backtrace?
7: (SWANK-BACKEND::READ-FILE "/home/neuss/CL-HOME/mathematikum/test.lisp") 8: (SWANK-BACKEND::SOURCE-CACHE-GET "/home/neuss/CL-HOME/mathematikum/test.lisp" 3371540165) 9: ((LAMBDA (SWANK-BACKEND::FILENAME SWANK-BACKEND::LOAD-P #1="#<...>" . #1#)) "/home/neuss/CL-HOME/mathematikum/test.lisp" T :ISO-LATIN-1-UNIX) 10: (SWANK::MEASURE-TIME-INTERVAL #<CLOSURE (LAMBDA NIL) {100352EB79}>) 11: (SWANK::SWANK-COMPILER #<CLOSURE (LAMBDA NIL) {100352EB79}>) 12: ((LAMBDA NIL)) 13: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA NIL) {100352EAD9}>) 14: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {100352EAD9}>) 15: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:COMPILE-FILE-FOR-EMACS "/home/neuss/CL-HOME/mathematikum/test.lisp" T :ISO-LATIN-1-UNIX) #<NULL-LEXENV>)
I am using CVS sbcl and CVS slime.
Thank you, Nicolas