RE: Trouble communicating with inferior CLISP buffer under NT4
"Clementson, Bill" <[email protected]> Thu, 15 Aug 2002 10:40:34 -0600
| Newsgroups | gmane.lisp.ilisp.general |
|---|---|
| Message-ID | <[email protected]> |
Instead of using ILISP key sequences that do an evaluate&go, use the evaluate equivalent in order to keep the cursor in the lisp source buffer. For example, there is the eval-next-sexp-and-go-lisp function which performs the action you describe and there is the eval-next-sexp-lisp function which performs the eval but does not go to the inferior lisp buffer. You used C-z C-e which calls eval-defun-and-go-lisp - instead use C-z e or M-C-x which both call eval-defun-lisp. -- Bill Clementson -----Original Message----- From: Eric Moncrieff [mailto:[email protected]] Sent: Thursday, August 15, 2002 8:34 AM To: '[email protected]' Subject: [Ilisp-help] Trouble communicating with inferior CLISP buffer under NT4 Hello all, I've used Ilisp under Emacs 21 on Linux with CMUCL for a while, and had no trouble. However, when I started a job which required me to use NT, and I installed CLISP, everything started misbehaving. The biggest issue I have is that, when I type an expression, and issue a C-z C-e to evaluate it, the current buffer switches to the inferior lisp buffer, which prints [NUM-1]> ;;;Evaluating EXPR <RESULT> [NUM]> The minibuffer, rather than displaying the output of the expression, displays the ";;;Evaluating..." message, and (most anoying of all) the focus is left in the inferior CLISP buffer, requring a C-x o to get back. Are there some settings I can tweak to make this stop? Is there some other Lisp which I can use freely without corporate sponsorship which works better with NT/GNU Emacs? Any advice you might have would be appreciated. Thanks, Eric Moncrieff Relevant parts of my .emacs file are included below (autoload 'clisp-hs "ilisp" "Inferior CLISP program." t) (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))) (setq clisp-hs-program "d:\\clisp\\clisp-2.29\\lisp.exe -I -B \"d:/clisp/clisp-2.29\" -M \"D:/clisp/clisp-2.29/lispinit.mem\" -ansi -q") (add-to-list 'load-path "~/src/ilisp-20020702/") (require 'completer) (autoload 'run-ilisp "ilisp" "Select a new inferior Lisp." t) (setq ilisp-display-output-function 'ilisp-display-output-in-typeout-window) ;;;This last I'm not sure about; it represents me messing around with output ;;;options. ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Ilisp-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ilisp-help ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390