code-iai / ros_emacs_utils

Emacs tools for ROS
17 stars 19 forks source link

Attempts to install emacs24 on apt-get install #27

Closed Seanmatthews closed 4 years ago

Seanmatthews commented 6 years ago

I'm have emacs26. When I apt-get install the ros-kinetic-rosemacs package, it attempts to install emacs24. Is this expected behavior?

gaya- commented 6 years ago

Hi, the version of emacs that rosdep chooses is the default version that comes with your operating system. As you are installing a Kinetic package, I assume that you have Ubuntu 16.04, which comes with emacs24 per default. Basically, doing apt-get install ros-kinetic-rosemacs triggers an apt-get install emacs, which is per default emacs24.

So, yes, this is expected behavior.

If you would like to use rosemacs with your 26 version, try to install from source. It's quite simple, compile the ros_emacs_utils package in your catkin workspace and add 2 lines of code to your init.el or whatever emacs initialization file you have, as explained in the README.md. However, beware, that rosemacs has not been tested on emacs26 yet, so there might be incompatibilities.

gaya- commented 4 years ago

Looks like it's a solved issue. Besides, on 20.04 the default version of emacs is 26.