Trouble running Chicken Scheme in Emacs -
i got scheme through racket , want use chicken scheme. emacs seems pretty option have developping in scheme other racket boot emacs not at.
i had set emacs sbcl using this tutorial, not experienced emacs @ all. (note: on windows)
what did:
i set unix-like file structure tutorial above described, , installed chicken-scheme in z:\home\myname\bin\chicken-iup
i tried following instructions on this page there wasn't much. says need quack doesn't explain lot, downloaded quack.el site , put in site-lisp folder
i added following lines .emacs folder
(setq scheme-program-name "csi -:c") (require 'quack)
on page linked previously, there snapshot, want to
you can see @ top there file open write text , repl @ bottom, however, when open emacs , m-x run-scheme, can't that
i have 2 choices, m-x run-scheme , "chicken" gives me chicken intro screen says "process finished"
on other hand, m-x run-scheme csi gives me blank buffer seemingly no repl
running csi.exe directly in windows opens console window intro text , repl, want have in emacs first snapshot, doesn't work
i've tried chicken-slime swank backend couldn't work , searching google doesn't yield help
so, know need able develop in chicken scheme in emacs
(alternatively, if there other scheme environments development outside of drracket i'd interested know, haven't found info apart drracket or emacs)
thanks in advance
it's odd m-x run-scheme
prompting scheme interpreter.
normally, (setq scheme-program-name "csi -:c")
should define scheme program use run-scheme
. perhaps quack overrides run-scheme
, means wouldn't use scheme-program-name
(it's under "built-in support", , indeed standard scheme-mode use this). i'm not fan of quack, try typing "csi -:c" instead of plain "csi". manual says,
the -:c force interactive mode, required on platforms (most notably windows).
because emacs can't fake console on windows can on *nix, chicken thinks it's reading pipe on stdin, won't show prompt.
like said, i'm not fan of quack; afaik doesn't add except "fancy lambda" , large menu (but never use menu in emacs). i'd rather start removing (require 'quack)
.emacs
(keeping (setq scheme-program-name)
), , restart emacs, type m-x run-scheme
see happens.
Comments
Post a Comment