AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Change aquamacs theme3/15/2024 ![]() ![]() (defun slime-eval-and-preview-opmo-score-before-point () (full-expr (concat "(preview-score (list :snippet " score "))"))) wrap call to preview-score around the score before point "Evaluate the Openmusic snippet (an expression) preceding point and preview that snippet." (defun slime-eval-and-preview-opmo-snippet-before-point () Custom function for previewing Openmusic snippets etc ![]() It is all a bit hacky, but works for me and perhaps also for others It should also be easy to add menu items and keyboard shortcuts for any other commands (like plotting) that work from Lisp. together with shortcuts shown in the menu. The code below adds to Emacs buffers in Lisp mode an Opusmodus menu with some standard commands like for previewing a snippet, stopping the playback etc. Try copying the Emacs Lisp code below into your Emacs initialisation file (e.g., ~/.emacs), start Aquamacs again and open a Lisp file. I cannot answer for the builtin Opusmodus Slime functionality, but I developed something similar some time ago on my own, which works in Aquamacs for me.
0 Comments
Read More
Leave a Reply. |