-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clomacs-httpd-start FileNotFoundException on Windows 10 #11
Comments
Hello! It's very new experimental possibility and not well-documented yet. |
Furthermore if you develop your own Elisp-Clojure Emacs extension, you should add library info to all related (require 'clomacs)
(clomacs-defun your-libname-set-emacs-connection
clomacs/set-emacs-connection
:lib-name "your-libname")
(clomacs-defun your-libname-close-emacs-connection
clomacs/close-emacs-connection
:lib-name "your-libname")
(clomacs-defun your-libname-require
clojure.core/require
:lib-name "your-libname")
(defun your-libname-httpd-start ()
(cl-flet ((clomacs-set-emacs-connection 'your-libname-set-emacs-connection)
(clomacs-require 'your-libname-require))
(clomacs-httpd-start)))
(defun your-libname-httpd-stop ()
(cl-flet ((clomacs-close-emacs-connection 'your-libname-close-emacs-connection)
(clomacs-require 'your-libname-require))
(clomacs-httpd-stop)))
|
Thanks! I'll try what you've suggested and let you know the results! So what you are saying is that I should include such code as above in my elisp part of the plugin, then start httpd server with such custom function |
Yep. But beware, anytime you run In this example, when you run |
autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it |
TODO: Update README. |
Hi,
I'm having troubles starting http server using
(clomacs-httpd-start)
:I'm doing some Clojure with clomacs and it's working fine (I'm able to call Clojure functions from Elisp), but I wanted to use callbacks from Clojure to Emacs and have this issue.
I have Windows 10, Java 1.8, Emacs 25.3.1, Spacemacs.
If you need more information please let me know.
Thanks!
Kirill
The text was updated successfully, but these errors were encountered: