[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

y-or-n-p



     y-or-n-p mistakenly assumes that the after the reply the new line has 
     began. This is the correct assumption when the output is terminal: the 
     reply must be terminated by a newline. But when clisp runs under 
     emacs, the answer might be sent through the comint-send-string and it 
     will never appear in the buffer where clisp runs and thus the cursor 
     will remain on the line with the question and the next message, if it 
     is not preceded by (fresh-line) or a ~& format directive.
     
     Therefore I suggest that y-or-n-p (as well as yes-or-no-p) should run 
     (fresh-line) after they have received the answer.
     
     Thanks.
     Sam