all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Run ECL with Sly
@ 2023-09-04  9:41 André A. Gomes
  2023-09-04 13:27 ` Mario Forzanini
  0 siblings, 1 reply; 3+ messages in thread
From: André A. Gomes @ 2023-09-04  9:41 UTC (permalink / raw)
  To: help-guix

Hi Guix,

This is a question for Common Lispers.

From Emacs, C-u M-x sly RET ecl RET, results in the error below (from
the inferior-lisp buffer).

Can anyone reproduce it?  If my memory isn't tricking me, I believe I
used to have it successfully in the past.  Thanks.

--8<---------------cut here---------------start------------->8---
(cond ((ignore-errors (funcall 'require "asdf") (funcall (read-from-string "asdf:version-satisfies") (funcall (read-from-string "asdf:asdf-version")) "2.019")) (push (pathname "/gnu/store/0y1h8arnl91jhfklqig1frwlbgi10sp3-emacs-sly-1.0.43-7.82b20a9/share/emacs/site-lisp/sly-1.0.43-7.82b20a9/slynk/") (symbol-value (read-from-string "asdf:*central-registry*"))) (funcall (read-from-string "asdf:load-system") :slynk) (funcall (read-from-string "slynk:start-server") "/tmp/sly.1228")) (t (progn (load "/gnu/store/0y1h8arnl91jhfklqig1frwlbgi10sp3-emacs-sly-1.0.43-7.82b20a9/share/emacs/site-lisp/sly-1.0.43-7.82b20a9/slynk/slynk-loader.lisp" :verbose t) (funcall (read-from-string "slynk-loader:init")) (funcall (read-from-string "slynk:start-server") "/tmp/sly.1228"))))

ECL (Embeddable Common-Lisp) 21.2.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2013 Juan J. Garcia-Ripoll
Copyright (C) 2018 Daniel Kochmanski
Copyright (C) 2021 Daniel Kochmanski and Marius Gerbershagen
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process TOP-LEVEL 0x7f9e48639f80>.
> 
;;; Loading #P"/gnu/store/65g9s7fdgxxsz1673lkpqq0mmgxxisp5-ecl-21.2.1/lib/ecl-21.2.1/asdf.fas"

Condition of type: SIMPLE-ERROR
Can't reliably convert wild pathname #P"/run/udev/links/\\x2finput\\x2fby-path\\x2fpci-0000:04:00.4-usb-0:4:1.2-event-kbd/"
Available restarts:

1. (RETRY) Retry ASDF operation.
2. (CLEAR-CONFIGURATION-AND-RETRY) Retry ASDF operation after resetting the configuration.
3. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (COND ((IGNORE-ERRORS (FUNCALL 'REQUIRE "asdf") (FUNCALL (READ-FROM-STRING "asdf:version-satisfies") (FUNCALL (READ-FROM-STRING "asdf:asdf-version")) "2.019")) (PUSH (PATHNAME "/gnu/store/0y1h8arnl91jhfklqig1frwlbgi10sp3-emacs-sly-1.0.43-7.82b20a9/share/emacs/site-lisp/sly-1.0.43-7.82b20a9/slynk/") (SYMBOL-VALUE (READ-FROM-STRING "asdf:*central-registry*"))) (FUNCALL (READ-FROM-STRING "asdf:load-system") :SLYNK) (FUNCALL (READ-FROM-STRING "slynk:start-server") "/tmp/sly.1228")) (T (PROGN (LOAD "/gnu/store/0y1h8arnl91jhfklqig1frwlbgi10sp3-emacs-sly-1.0.43-7.82b20a9/share/emacs/site-lisp/sly-1.0.43-7.82b20a9/slynk/slynk-loader.lisp" :VERBOSE T) (FUNCALL (READ-FROM-STRING "slynk-loader:init")) (FUNCALL (READ-FROM-STRING "slynk:start-server") "/tmp/sly.1228"))))] In: #<process TOP-LEVEL 0x7f9e48639f80>.
>> 
--8<---------------cut here---------------end--------------->8---

-- 
André A. Gomes
"You cannot even find the ruins..."


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Run ECL with Sly
  2023-09-04  9:41 Run ECL with Sly André A. Gomes
@ 2023-09-04 13:27 ` Mario Forzanini
  2023-09-04 18:27   ` André A. Gomes
  0 siblings, 1 reply; 3+ messages in thread
From: Mario Forzanini @ 2023-09-04 13:27 UTC (permalink / raw)
  To: André A. Gomes; +Cc: help-guix

On 9/4/23 11:41, André A. Gomes wrote:
> Hi Guix,
> 
> This is a question for Common Lispers.
> 
>  From Emacs, C-u M-x sly RET ecl RET, results in the error below (from
> the inferior-lisp buffer).
> 
> Can anyone reproduce it?  If my memory isn't tricking me, I believe I
> used to have it successfully in the past.  Thanks.

Hi!

Unfortunately I cannot reproduce it: running Emacs in a pure shell like this:

<snip>
$ guix shell --pure emacs ecl emacs-sly
[env] $ TERM=screen-256color emacs -Q -nw
<snap>

and starting sly with ecl works as expected.

For reference I haven't 'guix pull'ed in a couple of days, this is the output of 
guix describe:

<snip>
Generation 38   Sep 01 2023 10:32:59    (current)
   guix 62075c6
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 62075c6be4242866cf75c480115382568784a4b9
<snap>

-- 
Mario



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Run ECL with Sly
  2023-09-04 13:27 ` Mario Forzanini
@ 2023-09-04 18:27   ` André A. Gomes
  0 siblings, 0 replies; 3+ messages in thread
From: André A. Gomes @ 2023-09-04 18:27 UTC (permalink / raw)
  To: Mario Forzanini; +Cc: help-guix

Mario Forzanini <mf@marioforzanini.com> writes:


> Unfortunately I cannot reproduce it: running Emacs in a pure shell like this:
>
> <snip>
> $ guix shell --pure emacs ecl emacs-sly
> [env] $ TERM=screen-256color emacs -Q -nw
> <snap>
>
> and starting sly with ecl works as expected.

Hi Mario,

The issue is coming from my machine indeed.  I've followed your recipe
and it worked for me too.  I also tested on another Guix machine of mine
and it worked too.  Another day, another mystery.  Thanks!


-- 
André A. Gomes
"You cannot even find the ruins..."


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-04 18:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04  9:41 Run ECL with Sly André A. Gomes
2023-09-04 13:27 ` Mario Forzanini
2023-09-04 18:27   ` André A. Gomes

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.