I am newbie to use emacs with geiser. Currently, I do not have any problem with its regular operations, such as compiling program or launching REPL. But I do not know why the REPL within Geiser only provides very limited information if my program goes wrong.
For example, I use a mutable list but accidentally use assoc
rather than massoc
, the error message from REPL in Geiser is
install-deriv-package: undefined;
cannot reference undefined identifier
context...:
/Applications/Racket v6.0.1/collects/racket/private/misc.rkt:87:7
However, in the REPL of DrRacket, the error message would be more enlightening:
assoc: not a proper list: (mcons (mcons 'deriv (mcons (mcons '** #<procedure:deriv-
exponential>) (mcons (mcons '* #<procedure:deriv-product>) (mcons (mcons '+ #
<procedure:deriv-sum>) '())))) '())
For the former case, I do not even know where the mistake is.
Is it relevant with the configuration of Geiser? If so, how can I make the error message similar to the one in DrRacket?