title: Reading User Input in Emacs Inferior Lisp
body: <p>I'm trying to learn Lisp by reading <a href="http://www.gigamonkeys.com/book/" rel="nofollow">Practical Common Lisp</a> and I've hit a small stumbling block early on when trying to read user input.  I've defined prompt-read to prompt the user for input:</p>
  
  <pre><code>(defun prompt-read (prompt)
    (format *query-io* "~a: " prompt)
    (force-output *query-io*)
    (read-line *query-io*))
  </code></pre>
  
  <p>When I try to evaluate prompt-read, pressing [Enter] to run the statement seems to be accepted as the input so the resulting input is blank</p>
  
  <pre><code>&gt;(prompt-read "Test")
  Test: 
  ""
  NIL
  </code></pre>
  
  <p>I followed the example exactly, so I'm assuming that this is somehow related to my environment.  I am using Emacs Inferior Lisp in Windows, is there some adjustment I have to make to my code in order to get the behavior I expect?</p>