help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

StumpWM with SLIME


From: Ricardo Wurmus
Subject: StumpWM with SLIME
Date: Sun, 15 Jan 2017 01:57:37 +0100
User-agent: mu4e 0.9.18; emacs 25.1.1

Hi Guix,

I’m trying out StumpWM and I’d like to be able to interact with it via
Emacs using SLIME.

Here’s what I installed:

  guix package -i emacs-slime sbcl-stumpwm:bin

My ~/.stumpwmrc looks like this:

--8<---------------cut here---------------start------------->8---
(in-package :stumpwm)
;; Find fonts in my Guix profile
(run-shell-command "xset +fp ~/.guix-profile/share/fonts/X11/100dpi/")
;; Change window font to something readable
(set-font "-adobe-courier-medium-r-normal--14-100-100-100-m-90-iso8859-1")

;; TODO: this works in the sbcl REPL, but fails when starting stumpwm
(require "asdf")
(load 
"/home/rekado/.guix-profile/share/emacs/site-lisp/guix.d/slime-2.18/swank.asd")
(require :swank)
--8<---------------cut here---------------end--------------->8---

The last three lines are supposed to load swank, which is part of
SLIME.  When running these lines in a separate sbcl REPL everything
seems to be okay.  But as part of my ~/.stumpwmrc this isn’t working.

I get an error:

    Don’t know how to REQUIRE SB-INTROSPECT

When I try this again in StumpWM using “C-t : (require :swank)” I get a
different error:

    ASDF could not load swank because
    The variable SWANK::*AFTER-INIT-HOOK* is unbound..

Does this work for anyone?

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]