all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: help-guix <help-guix@gnu.org>
Subject: StumpWM with SLIME
Date: Sun, 15 Jan 2017 01:57:37 +0100	[thread overview]
Message-ID: <87fuklywam.fsf@elephly.net> (raw)

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	other threads:[~2017-01-15  0:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15  0:57 Ricardo Wurmus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-17 22:53 StumpWM with SLIME Diego Nicola Barbato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuklywam.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.