Thursday, May 28, 2026

Using Emacs as editor for SBCL on Ubuntu 26.04

Using Emacs as editor for SBCL on Ubuntu 26.04

Version info:
  • OS: Ubuntu 26.04
  • Emacs: 30.2
  • SBCL: 2.6.0
Install Emacs and SBCL as needed:
$: sudo apt install emacs
$: sudo apt install sbcl


Configure Emacs with SLY (Sylvester the Cat's Common Lisp IDE for Emacs), fire up Emacs and do:
  1. Install Sly package in Emacs
  2. M-x package-refresh-contents
    M-x package-install RET sly RET
    
  3. Create or edit Emacs configuration file
  4. M-: (find-file user-init-file)
    
    My .emacs looks like below
  5. Restart Emacs
  6. Load SLY
  7. M-x sly RET
    


Below shows SLY with SBCL loaded.

No comments:

Using Emacs as editor for SBCL on Ubuntu 26.04

Using Emacs as editor for SBCL on Ubuntu 26.04 Version info: OS: Ubuntu 26.04 Emacs: 30.2 SBCL: 2.6.0 Install Emacs and SBCL...