[slime-devel] restarts

Both in ACL (6.2 EE) and LW (4.3.6 PE), selecting restarts that need some user intervention, like USE-VALUE, make slime hang. CL-USER> foo [hit 3 for USE-VALUE] enter an expression which will evaluate to a new value: 1 and then nothing happens. Andras [Fresh CVS slime, Emacs 21.2.1, Linux]

Andras Simon <andras@renyi.hu> writes:
Both in ACL (6.2 EE) and LW (4.3.6 PE), selecting restarts that need some user intervention, like USE-VALUE, make slime hang.
CL-USER> foo [hit 3 for USE-VALUE] enter an expression which will evaluate to a new value: 1
and then nothing happens.
I don't know if I or someone else fixed it, but the problem occurs no longer. Mysterious :-) Helmut.

On Sun, 20 Jun 2004, Helmut Eller wrote:
Andras Simon <andras@renyi.hu> writes:
Both in ACL (6.2 EE) and LW (4.3.6 PE), selecting restarts that need some user intervention, like USE-VALUE, make slime hang.
CL-USER> foo [hit 3 for USE-VALUE] enter an expression which will evaluate to a new value: 1
and then nothing happens.
I don't know if I or someone else fixed it, but the problem occurs no longer. Mysterious :-)
I can confirm this. Like a bad dream, it's gone. But now who should I thank for fixing it? :-) Andras

Andras Simon <andras@renyi.hu> writes:
On Sun, 20 Jun 2004, Helmut Eller wrote:
Andras Simon <andras@renyi.hu> writes:
Both in ACL (6.2 EE) and LW (4.3.6 PE), selecting restarts that need some user intervention, like USE-VALUE, make slime hang.
CL-USER> foo [hit 3 for USE-VALUE] enter an expression which will evaluate to a new value: 1
and then nothing happens.
I don't know if I or someone else fixed it, but the problem occurs no longer. Mysterious :-)
I can confirm this. Like a bad dream, it's gone. But now who should I thank for fixing it? :-)
Hmmm. I seem to still be seeing this in Allegro 6.2 on GNU/Linux with GNU Emacs 21.3.1. I just did a cvs update and restarted emacs. Any ideas? -Peter -- Peter Seibel peter@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp

Peter Seibel <peter@javamonkey.com> writes:
Andras Simon <andras@renyi.hu> writes:
On Sun, 20 Jun 2004, Helmut Eller wrote:
Andras Simon <andras@renyi.hu> writes:
Both in ACL (6.2 EE) and LW (4.3.6 PE), selecting restarts that need some user intervention, like USE-VALUE, make slime hang.
CL-USER> foo [hit 3 for USE-VALUE] enter an expression which will evaluate to a new value: 1
and then nothing happens.
I don't know if I or someone else fixed it, but the problem occurs no longer. Mysterious :-)
I can confirm this. Like a bad dream, it's gone. But now who should I thank for fixing it? :-)
Hmmm. I seem to still be seeing this in Allegro 6.2 on GNU/Linux with GNU Emacs 21.3.1. I just did a cvs update and restarted emacs. Any ideas?
BTW, here's a simple function to demonstrate the problem: (defun foo () (restart-case (break) (use-value (x) :interactive (lambda () (format *query-io* "Value: ") (list (read *query-io*))) x))) Call it and select the USE-VALUE restart. I see the "Value: " prompt in the REPL buffer but after I type 10 and hit enter nothing happens. -Peter -- Peter Seibel peter@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp

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. FWIW, I'll try to dig in later tomorrow if no one solves
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. the problem before then.

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 -- *** Brian Downing <bdowning at lavos dot net>

Brian Downing <bdowning@lavos.net> writes:
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.
Fix works for me (for the interactive restart problem). Thanks. -Peter -- Peter Seibel peter@javamonkey.com Lisp is the red pill. -- John Fraser, comp.lang.lisp
participants (5)
-
Andras Simon
-
Brian Downing
-
Helmut Eller
-
Loyd Fueston
-
Peter Seibel