help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Emacs,Clisp, Ilisp isues


From: Sivaram Neelakantan
Subject: [h-e-w] Emacs,Clisp, Ilisp isues
Date: Fri, 17 Oct 2003 15:55:12 +0530

Hello,

I'm unable to run Clisp from within Emacs as i get the following error

--8<---------------cut here---------------start------------->8---

[...]
Loading ilisp-cl-easy-menu...done
Loading ild...done
Loading ilisp-imenu...done
Loading ilisp...done
apply: Spawning child process: invalid argument
--8<---------------cut here---------------end--------------->8---

When i try to run clisp from Emacs-21.3.  Googling for the last line,
I couldn't find anything which helped.  The following is part of my _emacs. 

--8<---------------cut here---------------start------------->8---
;;for cygwin
;;
(setq exec-path (cons "C:/cygwin/bin" exec-path))
(setenv "PATH" (concat "C:/cygwin/bin;" (getenv "PATH")))
;;
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq w32-quote-process-args ?\")
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name) 
(setq explicit-shell-file-name shell-file-name) 
;;
(add-hook 'comint-output-filter-functions
          'comint-strip-ctrl-m)

(require 'cygwin-mount)
(cygwin-mount-activate)
;; cygwinized CLISP support
;; All the *.d and *.lisp sources are in UTF-8 encoding.
(modify-coding-system-alist 'file "\\.\\(d\\|lisp\\)\\'" 'utf-8)

;; For CLISP in `inferior-lisp-mode' under win32
;;(modify-coding-system-alist 'process "lisp" 'unix)
;;CLISP indent style
(load-file "c:/emacs-21.3/mylisp/clisp-indent.el") 
;;; ILISP support
(setq load-path (cons (expand-file-name "c:/cygwin/home/ilisp-20021222/")
                      load-path))
;; CLISP (Bruno Haible and Michael Stoll)
(autoload 'clisp-hs   "ilisp"
  "Inferior Haible/Stoll CLISP Common Lisp." t)
(setq clisp-hs-program "c:/cygwin/usr/local/bin/clisp -I")
(set-default 'auto-mode-alist
             (append '(("\\.lisp$" . lisp-mode)
                       ("\\.lsp$" . lisp-mode)
                       ("\\.cl$" . lisp-mode))
                     auto-mode-alist))
(add-hook 'lisp-mode-hook '(lambda () (require 'ilisp)))
;;; Sample load hook

(add-hook 'ilisp-load-hook
          '(lambda ()
             (setq ilisp-*prefix* "\C-c")
             (message "Running ilisp-load-hook")
             (add-hook 'ilisp-init-hook
                       '(lambda ()
                          (default-directory-lisp ilisp-last-buffer)))
             ))
--8<---------------cut here---------------end--------------->8---

Can anyone tell me what's wrong.

regards,
Sivaram

--







reply via email to

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