[slime-devel] editing previously entered forms causes problems

Andras Simon andras at renyi.hu
Wed Dec 8 00:15:37 UTC 2004



On Tue, 7 Dec 2004, Pascal J.Bourguignon wrote:

> Date: Tue, 7 Dec 2004 23:15:08 +0100
> From: Pascal J.Bourguignon <pjb at informatimago.com>
> To: Tim Oates <oates at cs.umbc.edu>
> Cc: slime-devel at common-lisp.net
> Subject: [slime-devel] editing previously entered forms causes problems
>
> Tim Oates writes:
> > I checked out SLIME from the CVS repository on 11/24/04.  I'm using it on
> > my PowerBook G4 which is running Mac OS X version 10.3.6, emacs version
> > 21.2.1, and CLISP (a recent version, not sure which one precisely).
> >
> > My problem is that when I edit a form that was previously entered, part of
> > it always gets chopped off when I hit enter.  For example:
> >
> > CL-USER> (princ 'hello)
> > HELLO
> > HELLO
> >
> > ;; Now I use the arrow keys to go back to the form that was just evaluated
> > ;; and edit it so that it looks like this
> >
> > CL-USER> (princ-to-string 'hello)
> >
> > ;; When I hit enter I get the following
> >
> > CL-USER> 'hello)
> >
> > This happens every time.  All text of the form prior to the point of my
> > last edit within the form is chopped off.  Does anyone have any ideas on
> > how to fix this?  Thanks!
>
> Yes, it's a big bug IMHO.  But the developers of slime want you to
> type: M-p and to edit the line in the last position, not above the
> CL-USER> prompt.

You can also hit enter to copy down the form to the prompt and edit it
there. It's better anyway, because the repl buffer will be a faithful
transcript of your interaction with the listener.

Andras

>
> --
> __Pascal Bourguignon__                     http://www.informatimago.com/
> The world will now reboot; don't bother saving your artefacts.
>
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel
>



More information about the slime-devel mailing list