> More information for reproducing this error:

[...]

> 7) Enter a rational number at the REPL prompt.  Guile will enter its
>     debugger:
>
> scheme@(guile-user)> 9/5
> $3 = 9/5
> scheme@(guile-user) [2]>

I've followed all your steps up to this point, but i don't enter the
debugger when i input 9/5 (or any other value, for that matter), so i
cannot reproduce the problem. Could you please activate logs using
'C-u M-x geiser-show-logs', and send the contents of the *geiser
messsages* buffer when you perform these steps? Could you also type
,error and ,bt once you've entered the debugger and send the result?
What version of Emacs are you using?


Here is a third pair of logs.  This is to demonstrate that the
evaluation of rational numbers is *NOT* the source of the problem.
Instead of entering '9/5', I entered the string "024" at the REPL
prompt, that is, including the double-quote characters.  In this case,
the debugger was fourteen levels deep.

Again, this was done by starting Emacs, and then immediately following
the steps outlined in earlier messages, that is, it was not at the end
of a long editing session.  I am able to generate the problem a minute
after starting Emacs.

--
INFO: REQUEST: <1>: ,use (geiser emacs)
'done

INFO: RETORT: nil

INFO: <1>: processed

INFO: REQUEST: <2>: ,geiser-eval #f ge:set-warnings ((quote medium)) ()

INFO: RETORT: ((result "#<unspecified>") (output . ""))

INFO: <2>: processed

INFO: REQUEST: <3>: ,geiser-eval #f (define (define q)
  (* q q)) ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . 
"language/scheme/compile-tree-il.scm:31:6: cannot define keyword at top level
Exception during displaying of error: misc-error

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> "))

INFO: <3>: processed

INFO: REQUEST: <4>: ,geiser-eval #f ge:find-file 
("language/scheme/compile-tree-il.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "((result 
\"\\\"/usr/local/share/guile/2.0/language/scheme/compile-tree-il.scm\\\"\") 
(output . \"\"))
scheme@(guile-user) [1]> "))

INFO: <4>: processed

INFO: REQUEST: <5>: ,geiser-eval #f ge:autodoc ('(b)) ()

INFO: <5>: processed

INFO: REQUEST: <6>: ,geiser-eval #f ge:autodoc ('(bt)) ()

INFO: <6>: processed

INFO: REQUEST: <7>: ,geiser-eval #f ge:autodoc ('(error)) ()

INFO: <7>: processed

INFO: REQUEST: <8>: ,geiser-eval #f ge:autodoc ('(b)) ()

INFO: <8>: processed

INFO: REQUEST: <9>: ,geiser-eval #f ge:autodoc ('(bt)) ()

INFO: <9>: processed

INFO: REQUEST: <10>: ,geiser-eval #f ge:find-file ("geiser/evaluation.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "((result 
\"\\\"/usr/local/share/geiser/guile//geiser/evaluation.scm\\\"\") (output . 
\"\"))
scheme@(guile-user) [1]> "))

INFO: <10>: processed

INFO: REQUEST: <11>: ,geiser-eval #f ge:autodoc ('(err)) ()

INFO: <11>: processed

INFO: REQUEST: <12>: ,geiser-eval #f ge:autodoc ('(error)) ()

INFO: <12>: processed

INFO: REQUEST: <13>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <13>: processed

INFO: REQUEST: <14>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <14>: processed

INFO: REQUEST: <1>: ,geiser-eval #f ge:find-file 
("language/scheme/compile-tree-il.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$1 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:1:30: Wrong type to apply: 
\"language/scheme/compile-tree-il.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [2]> "))

INFO: <1>: processed

INFO: REQUEST: <2>: ,geiser-eval #f ge:find-file ("system/base/compile.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$2 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:2:30: Wrong type to apply: \"system/base/compile.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [4]> "))

INFO: <2>: processed

INFO: REQUEST: <3>: ,geiser-eval #f ge:find-file ("ice-9/boot-9.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$3 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:3:30: Wrong type to apply: \"ice-9/boot-9.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [6]> "))

INFO: <3>: processed

INFO: REQUEST: <4>: ,geiser-eval #f ge:find-file 
("language/scheme/compile-tree-il.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$4 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:4:30: Wrong type to apply: 
\"language/scheme/compile-tree-il.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [8]> "))

INFO: <4>: processed

INFO: REQUEST: <5>: ,geiser-eval #f ge:find-file ("geiser/evaluation.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$5 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:5:30: Wrong type to apply: \"geiser/evaluation.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [10]> "))

INFO: <5>: processed

INFO: REQUEST: <6>: ,geiser-eval #f ge:find-file ("ice-9/r4rs.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$6 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:6:30: Wrong type to apply: \"ice-9/r4rs.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [12]> "))

INFO: <6>: processed

INFO: REQUEST: <7>: ,geiser-eval #f ge:find-file ("geiser/evaluation.scm") ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "Unknown meta command: 
geiser-eval
$7 = #f
<unknown-location>: warning: possibly unbound variable `ge:find-file'
ERROR: In procedure module-lookup:
ERROR: Unbound variable: ge:find-file

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
standard input:7:30: Wrong type to apply: \"geiser/evaluation.scm\"

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
While compiling expression:
Syntax error:
unknown location: unexpected syntax in form ()
scheme@(guile-user) [14]> "))

INFO: <7>: processed

INFO: REQUEST: <8>: ,use (geiser emacs)
'done

INFO: RETORT: ((error (key . geiser-debugger)) (output . "$8 = done
scheme@(guile-user) [14]> "))

INFO: <8>: processed

INFO: REQUEST: <9>: ,geiser-eval #f ge:set-warnings ((quote medium)) ()

INFO: RETORT: ((error (key . geiser-debugger)) (output . "((result 
\"#<unspecified>\") (output . \"\"))
scheme@(guile-user) [14]> "))

INFO: <9>: processed

INFO: REQUEST: <10>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <10>: processed

INFO: REQUEST: <11>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <11>: processed

INFO: REQUEST: <12>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <12>: processed

INFO: REQUEST: <13>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <13>: processed

INFO: REQUEST: <14>: ,geiser-eval #f ge:autodoc ('(q)) ()

INFO: <14>: processed
GNU Guile 1.9.15
Copyright (C) 1995-2010 Free Software 
Foundation, Inc.

Guile comes with ABSOLUTELY NO 
WARRANTY; for details type `,show w'.
This program is free software, and you 
are welcome to redistribute it
under certain conditions; type `,show 
c' for details.

Enter `,help' for help.
scheme@(guile-user)> 
language/scheme/compile-tree-il.scm:31:6:
 cannot define keyword at top level
Exception during displaying of error: 
misc-error

In language/scheme/compile-tree-il.scm:
     31:5  0 (#<procedure 285dd20 at 
language/scheme/compile-tree-il. &>)
scheme@(guile-user) [1]> ,error
language/scheme/compile-tree-il.scm:31:6:
 cannot define keyword at top level
Exception during displaying of error: 
misc-error

scheme@(guile-user) [1]> ,bt

In system/base/compile.scm:
    213:6  3 (compile (define (define 
q) (* q q)) #:from scheme #:to  &)
   159:32  2 (lp (#<procedure 
compile-tree-il (x e opts)> #<proc &>  &) 
 &)
In ice-9/boot-9.scm:
   1864:4  1 (save-module-excursion 
#<procedure 285dd20 at language/ &>)
In language/scheme/compile-tree-il.scm:
     31:5  0 (#<procedure 285dd20 at 
language/scheme/compile-tree-il. &>)
scheme@(guile-user) [1]> 
In geiser/evaluation.scm:
    58:13  8 (call-with-result 
#<procedure ev ()>)
In unknown file:
           7 (call-with-output-string 
#<procedure 2866960 at ice-9/r &>)
In ice-9/r4rs.scm:
    174:4  6 (with-output-to-port 
#<variable 28681e0 value: #<outpu &>  &)
In geiser/evaluation.scm:
    61:32  5 (#<procedure 2859150 at 
geiser/evaluation.scm:59:15 ()>)
    72:21  4 (ev),error
language/scheme/compile-tree-il.scm:31:6:
 cannot define keyword at top level
Exception during displaying of error: 
misc-error

scheme@(guile-user) [1]> ,q
scheme@(guile-user)> 
It's been nice interacting with you!
Press C-c C-z to bring me back.
GNU Guile 1.9.15
Copyright (C) 1995-2010 Free Software 
Foundation, Inc.

Guile comes with ABSOLUTELY NO 
WARRANTY; for details type `,show w'.
This program is free software, and you 
are welcome to redistribute it
under certain conditions; type `,show 
c' for details.

Enter `,help' for help.
scheme@(guile-user)> "024"
$9 = "024"
scheme@(guile-user) [14]> ,q
scheme@(guile-user) [13]> ,q
scheme@(guile-user) [12]> ,q
scheme@(guile-user) [11]> ,q
scheme@(guile-user) [10]> ,q
scheme@(guile-user) [9]> ,q
scheme@(guile-user) [8]> ,q
scheme@(guile-user) [7]> ,q
scheme@(guile-user) [6]> ,q
scheme@(guile-user) [5]> ,q
scheme@(guile-user) [4]> ,q
scheme@(guile-user) [3]> ,q
scheme@(guile-user) [2]> ,q
scheme@(guile-user) [1]> ,q
scheme@(guile-user)> 
It's been nice interacting with you!
Press C-c C-z to bring me back.

Reply via email to