Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: (NO)Problems with Timeouts but with Packages :-).: msg#00003

Subject: Re: (NO)Problems with Timeouts but with Packages :-).
>>>>> On Sun, 05 May 2002 20:21:53 +0200, Helmut-Enders@xxxxxxxxxxx (Dr. Helmut 
>>>>> G. Enders) said:

  Helmut> Thanks a lot for your immediately help, you saved me a lot of 
debugging hours.
  Helmut> I was wide off the mark looking for the problem.

  Helmut> Here is a short form of my problem:

  Helmut> nr is read into the package http not http-user.

  Helmut> Is this the correct behaviour?

Yes, because READ-FROM-STRING will intern symbols in the current package at
run-time.  If you want this to be http-user, then do something like

(defmethod restart-kwg ((url url:http-form) stream)
  (let ((*package* (find-package 'http-user)))
    (read-from-string "nr")))

though personally I don't like using the reader for things like this (I would
use some kind of tokenizer).

-- 
Martin Simmons                            Email: martin@xxxxxxxxxxx
Xanalys Ltd, Barrington Hall,             TEL:   +44 1223 873826
Barrington, Cambridge CB2 5RG, England.   FAX:   +44 1223 873873



<Prev in Thread] Current Thread [Next in Thread>