slime

slime-connect not working

本秂侑毒 提交于 2019-12-12 14:43:15
问题 I am an Emacs and Common Lisp novice. I have successfully installed SLIME in my Emacs, but I am unable to run it. Alt + x slime-connect gives the following options, accepting which gives the error pasted below the options. Host: 127.0.0.1 Port: 4005 Connecting to Swank on port 4005... make client process failed: connection refused, :name, SLIME Lisp, :buffer, nil, :host, 127.0.0.1, :service 4005, :nowait, nil How do I get this to work? 回答1: to fix the whitespace - escape it with double

Lisp: CHAR is neither declared nor bound

有些话、适合烂在心里 提交于 2019-12-12 11:24:13
问题 I have decided to learn (Common) Lisp a few days ago and I realize that this is quite a newbie question and it is probably extremely trivial to someone with at least a bit of experience. So basically what happens is that I load up Emacs + Slime (via Lisp in a Box) and write my program (included below): (defun last-char (s) "Get last character" (char s (- (length s) 1))) And then I try to compile it with C - c M - k , but then I get the following warning: CHAR is neither declared nor bound, it

Why isn't SLIME working?

家住魔仙堡 提交于 2019-12-12 01:59:09
问题 I asked this question previously, but SLIME still doesn't work. When I try "Esc-x slime", I get "Searching for program: no such file or directory, lisp". Why is it so difficult to get SLIME up and running? What am I doing wrong? 回答1: Just in case (I know this counted for me): you could try Portacle, a portable and multiplatform development environment. It gives Emacs25 with Slime, SBCL, Quicklisp and Git packaged together. 来源: https://stackoverflow.com/questions/42171736/why-isnt-slime

not able to find package when running from SLIME, but from command line is ok

天大地大妈咪最大 提交于 2019-12-11 08:51:33
问题 I'm running the teapot example from cl-opengl package. The only changes I've made are loading the required packages. It works fine when executed from unix shell ( sbcl --load "3.cl" ), but when I try to compile and load it through SLIME ( C-c C-k ) i get the error about package GLUT not found. Curiously, the compiler chokes on the (defclass glut-teapot-window (glut:window) . What gives??? Here's a screenshot of what happens Here's the code for 3.cl. ;;;; -*- Mode: lisp; indent-tabs-mode: nil

slime-fancy not loading with emacs sbcl slime windows configuration

假如想象 提交于 2019-12-11 01:17:19
问题 I have slime with sbcl working in emacs 24.1 but can not get a slime repl to open. I can use M-x slime to make a connection to sbcl in a inferior-lisp buffer but I can not invoke the slime-repl or get a nice lisp auto-indent when editing lisp files even though I am loading the slime-fancy contrib in .emacs. I don't get any error messages during start-up. When I try M-x slime-repl I get [No match]. my .emacs file: (setq inferior-lisp-program "sbcl") (add-to-list 'load-path "c:/home/bin/emacs

Cannot start slime with emacs + sbcl under windows

与世无争的帅哥 提交于 2019-12-11 00:59:25
问题 I want to configure my emacs to work with SLIME and SBCL. The .emacs file looks like this: (add-to-list 'load-path "D:/app/slime/") (setq inferior-lisp-program "sbcl") (require 'slime) (slime-setup) Now i'm able to start emacs, but if i type M-x slime, there would be an error complaining something like: "function SWANK-BACKEND: fd-stream-input-buffer-empty-p is undefined" so that the connection to swank fails. What problem could that be? Thanks The version of emacs is 23.3. The version of

Workflow for hacking on Clojure libraries using swank-clojure

╄→гoц情女王★ 提交于 2019-12-10 16:11:53
问题 Is there a typical workflow for hacking on Clojure libraries? Say I have my application "Foo" which relies on a third-party library "Bar", which was obtained from a repository, and included in project Foo via lein deps . Then, say I want to hack on library "Bar", so I clone it from github. Now, I would like to hack on my local clone "Bar" while at the same time working on application "Foo" that depends on it. I would like all of the source files for "Bar" to open in Emacs along with all the

How to do automatic expansion or autocomplete of functions and variables in a Clojure repl

一个人想着一个人 提交于 2019-12-10 01:52:21
问题 Is there a way to expand the current command at the Clojure repl like I'd be able to do in Common Lisp? For example say I have typed: Math/ I would like the tab key to expand to all the available variables and functions in that namespace. I'm using Clojure as inferior-lisp would like to know how to do this from the plain vanilla repl in Clojure, and through swank slime. 回答1: Another vote in favour of clojure-mode and slime under Emacs. In particular, if you set up auto-complete, then you can

Emacs and slime stopped cooperating for me

霸气de小男生 提交于 2019-12-08 17:30:18
问题 I'm trying to use slime from CVS (2009-01-05) but keep getting this error: LOAD: A file with name /usr/share/common-lisp/source/slime/swank-loader.lisp does not exist I've stripped my .emacs down to just: (setq inferior-lisp-program "/usr/bin/clisp") (add-to-list 'load-path "/home/ssm/lisp/slime/") (require 'slime) (slime-setup) I've deleted my ~/.slime directory, started with 'emacs -q' and eval'd the above code but I keep getting the LOAD error when I run slime (via M-x slime). Any ideas on

Install slime on emacs error

僤鯓⒐⒋嵵緔 提交于 2019-12-08 09:33:15
问题 IDE for common lisp like lispbox,lispstick do not work on my windows,so I try to directly install slime on my emacs,but the error still happened. Debugger entered: (("Error in timer" slime-attempt-connection (#<process inferior-lisp> nil 4) (file-error "make client process failed" "too many open files" :name "SLIME Lisp" :buffer nil :host "127.0.0.1" :service 6605 :nowait nil))) (condition-case data (apply fun args) ((debug error) (debug nil (list "Error in timer" fun args data)))) slime