ros / roslisp_repl

Tiny script for running emacs and slime to interactively work with roslisp.
2 stars 2 forks source link

roslisp_repl cannot find slime #2

Open airballking opened 10 years ago

airballking commented 10 years ago

I got packages roslisp_repl and slime in my catkin_ws, made and installed them with catkin. However, rosrun roslisp_repl roslisp_repl starts up emacs and winds up with the following error:

Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading /etc/emacs/site-start.d/50rosemacs-el.el (source)...done Loading /etc/emacs/site-start.d/50slime.el (source)... Error while loading 50slime: Cannot open load file: /usr/share/emacs/site-lisp/slime/slime-autoloads.el Loading /etc/emacs/site-start.d/50thailatex.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. eval-buffer: Cannot open load file: slime

A couple of questions: (1) Why do we download slime from cvs in a separate ros package? Would the slime debian work, instead? (2) In repl-config.el we have the following line: (add-to-list 'load-path (ros-package-path "slime")) Unfortunately, this is no longer where the slime sources are located after checkout. We need the install-path, and I have no clue how to get there... :( Any propositions? (3) Also in repl-config.el, we're referering to slime-ros: (slime-setup '(slime-fancy slime-asdf slime-indentation slime-ros)) Where does slime-ros come from?

moesenle commented 10 years ago

slime-ros is provided by rosemacs-el, a package that is completely independent of the ros distro used. Some time ago, we were just building the debian package manually and uploading it to the ros package server. But I think noone is maintaining it at the moment and I even don't know if it is still available on the server.

It would be good to find a way to release it using bloom and just let roslisp_repl depend on it.

airballking commented 10 years ago

OK, should be possible. Where can I find the sources for this?

moesenle commented 10 years ago

The sources the debian package was built from can be found here: https://github.com/moesenle/rosemacs-debs

They should be moved to the official ros repos at some point though.