Menu

#420 Pasting in listener kills current line

open
None
5
2002-02-01
2002-02-01
No

Found an odd bug. Go to listener and type

(define b (+ 5 5))

b will be defined as 10

now go and type:

(de

and select starting from the f above, to the end, and
copy it. put the cursur back after the e on the
current line, and press CTRL+V to paste the end of the
statement. hit enter, and some errors will appear:

#|blox:47|# (define b (+ 5 5))
gnu.mapping.UnboundSymbol: Unbound symbol fine
at gnu.mapping.NameMap.getChecked
(NameMap.java:16)
at gnu.expr.ReferenceExp.eval
(ReferenceExp.java:103)
at gnu.expr.Expression.eval(Expression.java:21)
at gnu.expr.ModuleExp.evalModule
(ModuleExp.java:182)
at blox.Shell.run(Shell.java:96)
at blox.Shell.run(Shell.java:34)
at blox.Blox.apply0(Blox.java:93)
at gnu.mapping.Future.run(Future.java:59)

Only the newly pasted info is being evaluated. Now go
to a new line after hitting enter a few times. Type in:

(de

and hit CTRL once. now type in:

fine b (+ 5 5))

and hit enter. You will get

<msg_stdin>:47:16: invalid character #\)

error. almost like the CTRL is being "recorded".

- ACD

Discussion


Log in to post a comment.

MongoDB Logo MongoDB