geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Geiser-users] issue with using quack with racket and geiser


From: Ali Asad Lotia
Subject: [Geiser-users] issue with using quack with racket and geiser
Date: Fri, 31 Dec 2010 23:28:02 +0000

Version info:
Geiser: cloned from git repo. Commit ID:
4826d33808c8c54bbe455639c942fc3f789383c0
Racket: v5.0.2
Quack: 0.40

Relevant stuff from emacs init file:
(setq racket-dist-dir "/Applications/Racket v5.0.2/")
(load "geiser-load")
(setq geiser-repl-history-filename (concat local-scratch-dir "geiser-history"))
(setq geiser-racket-binary (concat racket-dist-dir "bin/racket"))
(setq geiser-active-implementations '(racket))
(add-hook 'geiser-repl-mode-hook 'awesome-paredit-hook)
(setq quack-global-menu-p nil)
(require 'quack)

I'm using geiser and racket to work through The Little Schemer (4th
edition) and when I attempt to enter the following in a scheme buffer:
(define lat?
  (lambda (l)
    (cond
     ((null? l) #t)
     ((atom? (car l)) (lat? (cdr l)))
     (else #f))))

I get an error when I type the "#" symbol before "f" in the final
expression of the cond. A buffer titled "*spurious*" comes up with the
following text:
== Contents of *spurious* buffer ==
stdin::6637: else: not allowed as an expression in: else


 === context ===
/Applications/Racket v5.0.2/collects/racket/private/misc.rkt:74:7

racket@> stdin::6642: cond: bad syntax in: cond


 === context ===
/Applications/Racket v5.0.2
== end contents of *spurious* buffer ==

The value of the number after "stdin::" is different, but I get this
error whenever I attempt to enter a second "#" symbol in a scheme
buffer. I don't see the error if I don't have quack loaded.

Please let me know if this has nothing to do with geiser and should be
reported to the author of quack instead.

Thanks,
Ali



reply via email to

[Prev in Thread] Current Thread [Next in Thread]