From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: StumpWM with SLIME Date: Sun, 15 Jan 2017 01:57:37 +0100 Message-ID: <87fuklywam.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSZ8o-00058S-5i for help-guix@gnu.org; Sat, 14 Jan 2017 19:57:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSZ8l-00083B-3T for help-guix@gnu.org; Sat, 14 Jan 2017 19:57:50 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSZ8k-00081b-Rw for help-guix@gnu.org; Sat, 14 Jan 2017 19:57:47 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix 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