Skip to content
Snippets Groups Projects
Commit adc92ccc authored by Constantin Jucovschi's avatar Constantin Jucovschi
Browse files

first fiddling with the idea of a SAlly client for Emacs

parents
No related branches found
No related tags found
No related merge requests found
1243.png 0 → 100644
1243.png

4.75 KiB

(global-set-key (kbd "<f9>") 'eval-buffer)
(load "~/sally4-base/client-emacs/stompem.el")
(load "~/sally4-base/client-emacs/toolbar-x.el")
(require `url)
(setq stompem-user "webclient")
(setq stompem-pass "webclient")
(setq png "~/sally4-base/client-emacs/1243.png")
(setq TeX-data-directory "~/sally4-base/client-emacs/")
;(url-copy-file "http://localhost:8181/sally/mathhub/static/repository.png" png)
(defimage icon ((:type png :file png)))
(defun btn-exec()
(message "btn executed")
)
(setq button '("test" (
:image icon
:command `btn-exec
))
)
(toolbarx-emacs-add-button button)
(defun test()
(message "did connect!!!! ")
)
(add-hook `stomp-connect `test)
;(stompem-client-open "localhost" 61613)
;(stompem-client-close)
File added
File added
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment