Questions tagged [swank]

Swank is the Common Lisp server component of SLIME, the Superior Lisp Interaction Mode for Emacs.

Swank is the Common Lisp server component of , the Superior Lisp Interaction Mode for .

83 questions
1
vote
0 answers

How to run swank of slime with clisp without dump?

Summary swank always dumps when using clisp as an infferior-lisp on cygwin Emacs. Details emacs on cygwin GNU Emacs 26.3 (build 1, x86_64-pc-cygwin) of 2019-08-30 slime 20200219.2239 I use no customize after installing slime from melpa. clisp $…
1
vote
1 answer

How to load ASDF system defined in local source code into remote lisp? I use SBCL, Slime and Swank

I have a simple ASDF system at my laptop. I can do "M-X slime-load-system ", and it loads. I can call a function exported by one of packages. When I run another instance of Emacs locally, and connect to the remote Swank with slime-connect, and load…
peroksid
  • 890
  • 6
  • 17
1
vote
3 answers

How to fix backtrace in clojure & slime

I'm a clojure noob trying to get emacs & slime set up. There doesn't seem to be one true way to do this, so I've followed a few blog posts and the swank-clojure and leiningen READMEs. Mostly it works. My problem is that if I try to select restart 0…
fizzer
  • 13,551
  • 9
  • 39
  • 61
1
vote
1 answer

Running 'lein swank' (calling clojure server) with elisp

As is asked and answered here. I could use 'lein swank' to run clojure on Aquamacs. I need to automate running 'lein swank', before running slime/clojure. Q : Is there a way to this automatically? I mean how can I run the command 'lein swank'…
prosseek
  • 182,215
  • 215
  • 566
  • 871
1
vote
3 answers

lexical binding lost when switching package

All I wanted was to load an initialisation file for swank which wouldn't affect my lisp when it's started without swank... I first tried #+swank (defun...) in my file that's loaded from ccl-init (trying this on ccl 1.10 + windows), and soon realised…
AlbusMPiroglu
  • 645
  • 3
  • 13
1
vote
1 answer

How to make swank working with stumpw?

I've added this code snippet to my stumpwmrc file: (defun load-swank () "Load a swank server" (ql:quickload 'swank) (require 'swank) (setq swank:*use-dedicated-output-stream* nil) (setq slime-net-coding-system 'utf-8-unix) …
yves Baumes
  • 8,836
  • 7
  • 45
  • 74
1
vote
2 answers

Using Swank functions in a library

I use SLIME/SBCL/Emacs and Quicklisp on Ubuntu Raring. I have the function defined below. I would like to add to my Lisp library's top .lisp file, i.e., the one every other one depends on, so that I can use it in all the functions I write with my…
user2862490
1
vote
2 answers

when setting up "Slime" in "emacs"(latest version) how do i tell it to load swank faster?

the slime manual says this: "Loading Swank faster For SBCL, we recommend that you create a custom core file with socket support and POSIX bindings included because those modules take the most time to load. To create such a core, execute the…
user1438567
1
vote
1 answer

Clojure, emacs, ritz-swank: `M-x slime-connect` gives error message

I spent the afternoon trying to get the ritz-swank package to work with emacs and Clojure. (Googling the error message and much more gave no useful leads.) I hope somebody can give me some pointers that'll get me up and running. The error is…
Gregg Williams
  • 868
  • 1
  • 8
  • 15
1
vote
1 answer

Kite live editing

I really like the idea behind Kite – using WebKit's own protocol for remote debugging. No need for a proxy socket server or a bookmarklet to connect to a web-page (that's how swank-js operates). The project's readme states that Kite... "enables ...…
katspaugh
  • 17,449
  • 11
  • 66
  • 103
1
vote
1 answer

Use swank-js without js2-mode as major mode in emacs

I don't want to use js2-mode as major mode when editing js files. But I find I use swank-js very often(with magnar's slime-js setting). Of course I know that swank-js depends on js2-mode Can I just (require 'js2-mode)(means not as major mode) and…
Saddle Point
  • 3,074
  • 4
  • 23
  • 33
1
vote
1 answer

Can i load swank lazily?

The following code works but i have to load swank no matter whether i need it or not. (ql:quickload :swank) (defun swank () (swank:create-server :port 4005 :donot-close t)) If i move "(ql:quickload :swank)" into function swank, then CL will not…
z_axis
  • 8,272
  • 7
  • 41
  • 61
1
vote
1 answer

vim mapping not working with slimv plugin

The following mappings are located in my .vimrc and are used to quickly navigate between vertical split panes created with :vsp and split panes creates with :sp. " Smart way to move between windows map map map…
deadghost
  • 5,017
  • 3
  • 34
  • 46
1
vote
1 answer

Setting up Uber development mode in Emacs for Clojure

I am aware of A gentle tutorial to Emacs/Swank/Paredit for Clojure I basically have the same question. I noted that there is an EDIT saying that the instructions are outdated, and there will be an update (I don't see where the update is…
user1311390
0
votes
3 answers

Swank server startup failure

Emacs SLIME can't connect to swank, because apparently swank cannot initialize correctly. It says some back end function not implemented. However, my swamp backend is SBCL, which is supported. I am using windows xp os. A similar issue was found…
Abhijeet Kashnia
  • 12,290
  • 8
  • 38
  • 50