[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Chicken-users] Using csi with emacs
From: |
Jonah Beckford |
Subject: |
RE: [Chicken-users] Using csi with emacs |
Date: |
Sat, 3 Jul 2004 10:50:35 -0400 |
I think you just need to send the option "-:c" to CSI while running it in
emacs.
In my Cygwin XEmacs initialization, I have, among things, the following
line:
(setq scheme-program-name "/usr/local/bin/csi -:c -:d -:w -hygienic")
In the CHICKEN FAQ (http://www.call-with-current-continuation.org/FAQ.html),
question #30 answers the question "When I run csi inside an emacs buffer
under Windows, nothing happens."
Also see the CHICKEN manual, section 3.2 and section 4.1, on the various
other options you can use. I find "-:d" useful while in XEmacs (because I
only use emacs for debugging Scheme).
Jonah
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of kobo
> Sent: July 3, 2004 6:17 AM
> To: address@hidden
> Subject: [Chicken-users] Using csi with emacs
>
> I fail to get csi and emacs to play along.
> SCM [http://swissnet.ai.mit.edu/~jaffer/SCM.html] works just fine when i
> set scheme-program-name accordingly.
> But when i try csi i experience undesired behavior:
> i evaluate some exprs but don't see any output in my process buffer
> only after i send the eof signal to my scheme process it displays all
> the lost output and then quits as it should.
> this is what a typical session looks like >>
>
> 'foo
> 'bar
>
> ___| | _) |
> | __ \ | __| | / _ \ __ \
> | | | | | ( < __/ | |
> \____|_| |_|_|\___|_|\_\\___|_| _|
>
> Version 1, Build 50 - windows-cygwin-x86
> (c)2000-2004 Felix L. Winkelmann
> foo
> bar
>
> Process scheme finished
>
> and this is what i have in my .emacs >>
>
> (setq scheme-mit-dialect nil) ;with or without this line it still fails
> (setq scheme-program-name "csi") ; lies in my path
> ;(setq scheme-program-name "~/developement/scheme/scm/scm.exe")
> (autoload 'scheme-mode "iuscheme" "Major mode for Scheme." t)
> (autoload 'run-scheme "iuscheme" "Switch to interactive Scheme buffer." t)
> (setq auto-mode-alist (cons '("\\.scm" . scheme-mode) auto-mode-alist))
>
> im running emacs 21.1.1 on WinXP with Chicken 1.5 compiled under cygwin.
> i can execute csi.exe by itself and it works just fine.
>
> I also tried the advice given in
> [http://lists.gnu.org/archive/html/chicken-users/2003-04/msg00047.html]
> but it behaves the same.
>
> thanks for your thoughts,
>
> Jakob Erdmann
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users