Comments (3)
Is it possible to add some documention about connecting to an existing lisp process?
Sure, good idea. Maybe I should elaborate on the protocol too.
from vlime.
Vlime has it's own protocol, and can't talk to Swank directly. You'll have to include the Vlime server in your StumpWM image.
I have this little patch for my own StumpWM installation (you may need to adapt it to your environment):
diff --git a/load-stumpwm.lisp.in b/load-stumpwm.lisp.in
index a7b228a..463f58e 100644
--- a/load-stumpwm.lisp.in
+++ b/load-stumpwm.lisp.in
@@ -5,6 +5,16 @@
(require 'asdf)
+(ql:quickload '(:xembed
+ :clx-truetype
+ :swank
+ :vlime
+ :vlime-usocket))
+
(asdf:initialize-source-registry
'(:source-registry
(:directory "@STUMPWM_ASDF_DIR@")
Make a symlink to <vlime repo>/lisp/
in your <quicklisp>/local-projects/
directory, and compile StumpWM. Once StumpWM is set up successfully, evaluate (vlime:main :port 7002 :backend :vlime-usocket)
in it to start the server. Then you can call vlime#plugin#ConnectREPL("127.0.0.1", 7002)
to connect.
P.S. Thank you for trying it out. Hope you enjoyed it :)
from vlime.
Thank you very much for your quick reply, it's very helpful. Is it possible to add some documention about connecting to an existing lisp process?
from vlime.
Related Issues (20)
- Clojure Support
- loading start-vlime.lisp says quicklisp isn't installed but it is HOT 2
- Perf improvement wanted for vlime#ui#CurArgPos() HOT 5
- Sized vertical repl does not work in neovim
- JSON communication working HOT 15
- Connecting to running Swank server? HOT 25
- Installation issues on MacOS with Pathogen HOT 3
- Implement the Parinfer algorithm HOT 2
- Request consideration to "rename" the project HOT 1
- How to get autocomplete? HOT 3
- Don't escape ANSI escape sequences
- `sldb` buffer doesn't work on OpenBSD HOT 7
- Weird highlight behavior inside the REPL buffer HOT 1
- SBCL warnings seem to break the REPL connection HOT 22
- can't press `d` to inspect frame in debugger HOT 4
- Interactively macro-expand a form HOT 2
- Rebind your leaders for weird outcome HOT 1
- Fix this bug introduced by upstream: thread waiting HOT 2
- Slynk support...? HOT 2
- Bug in commit cfaac6ccb379f9f85bfb2ef17ca6369dfadf2be6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vlime.