HenryT Posted February 16, 2023 Share Posted February 16, 2023 Hello! I haven't had any luck in creating connection between OM and Emacs. (start-swank) from OM Listener gives error: "The file #P"OM-SRC:SWAML-LOADER.LISP.NEWEST" does not exist". If I try (start-swank) with path to a Slime on Quicklisp path (I have both 2.28 and 2.24 versions of Slime, result is the same), compilation starts but gets stuck and must be aborted. Help appreciated Henry Quote Link to comment Share on other sites More sharing options...
JimmyTheSaint Posted April 30, 2023 Share Posted April 30, 2023 I get the same error. Quote Link to comment Share on other sites More sharing options...
opmo Posted April 30, 2023 Share Posted April 30, 2023 I need to check if we can use Emacs with the new Opusmodus (LispWorks). Quote Link to comment Share on other sites More sharing options...
torstenanders Posted March 21 Share Posted March 21 Any progress on using Emacs (Slime) with Opusmodus 3? It appears the file Emacs-Slime Setup.lisp is still part of the Extensions folder, but as reported (start-swank) results in an error. Thanks! Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted March 21 Share Posted March 21 I still can't start swank on OM 3 unfortunately. Quote Link to comment Share on other sites More sharing options...
torstenanders Posted April 19 Share Posted April 19 Dear Janusz, > I need to check if we can use Emacs with the new Opusmodus (LispWorks). Any updates on the Emacs/Slime interface for Opusmodus 3? I understand/assume that in order to simplify the Opusmodus interface for most of its users, Opusmodus provides its own IDE with convenient features for things like snippet playback. Indeed, Emacs would be unnecessarily confusing for most of Opusmodus' users. However, for actual Lisp/Opusmodus library development, I personally feel the Opusmodus IDE is currently far less suited than Slime. While there is a debugger already integrated in the Opusmodus IDE (thanks), it is basically only the command line version of the 80s. Also, I have not found any cross referencing support in the Opusmodus IDE (e.g., for jumping to the definition of a function call with a single shortcut). Not sure whether the Opusmodus listener has some short cuts to go back in its history etc. Perhaps I am missing some things, but Slime is a completely different cattle of fish for developers in contrast of users (of course, only after its learning curve). Anyway, I understand if you do not have the resources (or if LW does not allow) for Emacs/Slime integration into Opusmodus 3. I just keep using mainly Opusmodus 2 with working Slime in the meantime. Thanks for all your work on Opusmodus! Quote Link to comment Share on other sites More sharing options...
torstenanders Posted Monday at 06:16 PM Share Posted Monday at 06:16 PM Update: I made some progress with the Emacs/Slime interface for Opusmodus 3, but not yet a fully working solution. Just sharing here an intermediate progress report for those interested. I found out that I could start the swank server (the Lisp compiler part of Slime) in the following way. 1. Install the latest version of Slime (link) where it can be found by ASDF (which is by default the folder ~/common-lisp). 2. Execute the following code within Opusmodus (or some file loaded by Opusmodus): (asdf:load-system :swank) (swank:create-server :dont-close t) There is then no error message any longer, but instead I get the following message. ;; Swank started at port: 4005. On the Emacs side, Slime needs to be installed in the usual way (e.g., via a MELPA repository). On the Emacs side then, as before, call M-x slime-connect with the localhost IP 127.0.0.1 and the relevant port (4005 by default). On my particular system, Emacs then somehow gets stalled for a long time, much longer than before when trying to do the same with Opusmodus 2. Emacs is then completely frozen. Anyway, sometimes I already got a working connection between Emacs Slime and Opusmodus 3 now, but not necessarily reproducible. Anyway, will continue following this up and keep you in the loop if I make further progress. If anyone else finds out more, I would be grateful! jon and Stephane Boussuge 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.