Cecil Westerhof <Cecil@...> writes:
> Op donderdag 29 jul 2010 17:01 CEST schreef Stas Boukarev:
>>> I have the following 'code':
>>> (with-open-file (in "~/recepten.db")
>>> (read in))
>>> This looks like it should work, but when I execute this, I get:
>>> error in process filter: Wrong type argument: characterp, nil
>>> What is happening here? In clisp this code worked.
>>> I am using:
>>> GNU Emacs 23.1.1
>>> SBCL 1.0.40
>> First, SBCL doesn't understand ~, so you need
>> (merge-pathnames "reception.db" (user-homedir-pathname))
> That was the problem. This does not give a problem anymore. But a
> little strange that something like this can wreck havoc on emacs. :-[
> My problems are not solved yet, because somewhere else something
> happens that has the same result. I have something to do. It looks
> like it is not easy to write code that can be accepted by all Common
It's easy if you're using the standard as a guidance.
>> But if you're using the latest slime (check with M-x
>> slime-changelog-date) I'd be interested to see the backtrace while still
>> entering your erroneous filename with ~.
> I am for sure not using the latest slime. And slime-changelog-date
> gives nil. But if I install the latest, would you still like to see
> the backtrace?
Yes, and install Slime from CVS.
With Best Regards, Stas.