Hi guys! I'm trying to configure arc mode in emacs and inferior-arc on MS Windows machine.
To this end, I put this content in my .emacs file: (add-to-list 'load-path "C:/path/to/anarki/extras")
(autoload 'run-arc "inferior-arc"
"Run an inferior Arc process, input and output via buffer *arc*.")
(autoload 'arc-mode "arc"
"Major mode for editing Arc." t)
(add-to-list 'auto-mode-alist '("\\.arc$" . arc-mode))
(setq arc-program-name "C:/path/to/runarc.bat")
Here's the content of the runarc.bat file:C:/path/to/Racket.exe -e "(require anarki) (current-directory anarki-path) (anarki-repl)" Now, arc mode seems to work OK, but here's the problem: when I start arc repl from Emacs (with M-x run-arc), the arc prompt is not displayed. Although I can type in the expressions in repl, nothing is printed back as a result of evaluation. Only when I type in some wrong expressions I get the usual arc error messages printed. It seems like only stderr is printed, but stdout isn't. I don't know what I'm doing wrong and how to correct this. Any help??? |