[...]
> 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.
It is important to enter and evaluate the invalid procedure definition
in a separate buffer, for example, 'foo.scm', and *NOT* enter it at
the REPL prompt. The first error needs to be triggered properly
before the subsequent error will occur. If I enter the invalid
procedure definition at the REPL prompt, then the latter error is not
triggered.
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?
Done. Please find the log attached to this message. I typed 'C-u M-x
geiser-show-logs' before starting the Guile REPL.
Could you also type ,error and ,bt once you've entered the debugger
and send the result?
Done. Please find a copy of the '* Guile REPL *' buffer attached.
Note that the log does not show the second ',q' that I typed at the
REPL prompt, but it was typed and entered.
scheme@(guile-user) [1]> ,q
scheme@(guile-user)>
It's been nice interacting with you!
Press C-c C-z to bring me back.
What version of Emacs are you using?
GNU Emacs 23.2.
Please let me know if there is more information that I can provide
about this problem.
--
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 ('(q)) ()
INFO: <5>: processed
INFO: REQUEST: <6>: ,geiser-eval #f ge:autodoc ('(q)) ()
INFO: <6>: 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>: ,use (geiser emacs)
'done
INFO: RETORT: ((error (key . geiser-debugger)) (output . "$2 = done
scheme@(guile-user) [2]> "))
INFO: <2>: processed
INFO: REQUEST: <3>: ,geiser-eval #f ge:set-warnings ((quote medium)) ()
INFO: RETORT: ((error (key . geiser-debugger)) (output . "((result
\"#<unspecified>\") (output . \"\"))
scheme@(guile-user) [2]> "))
INFO: <3>: processed
INFO: REQUEST: <4>: ,geiser-eval #f ge:autodoc ('(9)) ()
INFO: <4>: processed
INFO: REQUEST: <5>: ,geiser-eval #f ge:autodoc ('(9/)) ()
INFO: <5>: processed
INFO: REQUEST: <6>: ,geiser-eval #f ge:autodoc ('(9/5)) ()
INFO: <6>: processed
INFO: REQUEST: <7>: ,geiser-eval #f ge:autodoc ('(error)) ()
INFO: <7>: processed
INFO: REQUEST: <8>: ,geiser-eval #f ge:autodoc ('(bt)) ()
INFO: <8>: 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 2bc9d20 at language/scheme/compile-tree-il.â¦>)
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)> 9/5
$3 = 9/5
scheme@(guile-user) [2]> ,error
standard input:1:30: Wrong type to apply: "language/scheme/compile-tree-il.scm"
scheme@(guile-user) [2]> ,bt
In standard input:
1:29 0 (#<procedure 1de4780 at standard input:1:29 ()>)
scheme@(guile-user) [2]>