On Wed, Jun 23, 2004 at 09:47:11PM -0400, Loyd Fueston wrote:
I've had a similar problem under cmucl with a simple menu function that originally came from a Kent Pitman(sp?) posting. I've found that \C-j followed by RETURN or \C-\M-m will produce the expected behavior.
From the timing of when I first saw the problem, I'm guessing it was introduced by the changes to (slime-repl-return) on 6-18, but I'm a hobbyist and I'm really guessing. I've tried to follow the relevent functions through but it's getting late. I hope I've at least given a clue that will allow someone who knows what he's doing to find a solution.
Committed a fix. Good call, by the way, you hit the patch on the nose.
The problem (and the reason that sending C-j RET made it work) was that between 1.315 and 1.316, a subtle code rearrangement meant that the newline was added after the input was decided on to send to the Lisp, not before.
I also fixed multiple separate lines of input (as in multiple calls to READ-LINE) with no output in between them so that when called up by putting point on an old line and hitting RET, you only get that one line, and hitting RET in the middle of the current line sends it properly.
(This also fixes the bug report I made about the SBCL TTY debugger not working.)
-bcd