Getting precompiled code (e.g., quicklisp, quicklisp libraries, swank, own libraries) running again on recent Opusmodus versionsBy torstenanders
After updating to a recent Opusmodus version 1.3, I ran into some errors when loading code that had been loaded and compiled before, e.g., quicklisp, quicklisp libraries, swank (the interface that allows using Emacs Slime with Opusmodus), and my own Lisp libraries. The errors I saw were rather cryptic, like the following:
Error: The value "CL" is not of the expected type list.
While executing: (:internal ccl::operation-on-all-specs ccl::%define-package), in process Listener-1(7).
After exchanges with Janusz (thanks a lot for your help!) I learnt that the underlying Common Lisp version of Opusmodus had been upgraded to CCL version 1.12, and the format of compiled files (fasl files or dx64fsl files) of this version had changed.
So, in case you run into similar problems, these can be fixed simply by deleting all previously compiled files (which Lisp stores if they do not change to speed up the load process), so that the Lisp compiler has to compile them again. In the folder ~/.cache/common-lisp just delete any folders starting with ccl-, so that all compiled files in this directory are compiled again.
I have a little suggestion for workflow.
1) A simple context menu button (or some way) to open the XML snippet in other software.
Like right-clicking on the snippet and have an option (OS based option) like "open with" (musescore, finale, sibelius, etc)
This could be useful for collecting material for a piece to be edited outside Opusmodus.
I personally use Musescore with my students. It's free, open and runs windows and mac.
I also use Finale for myself.
This simple options could solve the problem of the audition of many different snippets.
2) Another (much more complex) idea would be when click over each snippet to have a play panel, similar to the
live coding panel (with play/stop button, tempo, volume, maybe sound and channel assigment , according
to the number of staves, etc...
This could be handy.
added 2 minutes later Like this (when clicking over the snipett inside Opusmodus:
The Opusmodus editor allows to have a number of "windows" open next to each other, but not enough for me. With Emacs I have commonly 3-4 frames with code open next to each other, in addition to the documentation, output viewers etc. (nice to have multiple screens :)
Any chance to do the same and open 3-4 files from the current project/workspace side by side?
EDIT: Note that I can open additional files, but only if they are not part of the current project/workspace -- going beyond that restriction would help.