[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reviving Emacs-Guix
From: |
zimoun |
Subject: |
Re: Reviving Emacs-Guix |
Date: |
Sun, 15 Nov 2020 14:15:39 +0100 |
Hi Pierre,
On Sun, 15 Nov 2020 at 08:37, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> zimoun <zimon.toutoune@gmail.com> writes:
>
>> Could you try this and tell if Emacs hangs? On my laptop, the first
>> attempts are not so worse. M-x ielm
>>
>> --8<---------------cut here---------------start------------->8---
>> *** Welcome to IELM *** Type (describe-mode) for help.
>> ELISP> (require 'guix-repl)
>> guix-repl
>> ELISP> (guix-eval-in-repl ",use(guix scripts build)")
>> nil
>> ELISP> (guix-eval-in-repl "(guix-build \"nyxt\" \"--no-grafts\"
>> \"--check\")")
>> nil
>> --8<---------------cut here---------------end--------------->8---
>
> Maybe a misunderstanding, but comint-mode is not the problem here, it
> works very well indeed with big outputs.
> Only Geiser chokes on it.
I do not understand your point. ’guix-eval-in-repl’ is a wrapper around
’geiser-repl--send’ so it uses Geiser, isn’t it?
>From my understanding, the culprit of Emacs hanging when building seems
more something wrong with the current implementation in Emacs-Guix than
really Geiser.
It reads:
(guix-eval-in-repl
(format (concat "(build-package* (package-by-id %d)"
" #:use-substitutes? %s"
" #:dry-run? %s)")
where ’build-packages*’ reads:
--8<---------------cut here---------------start------------->8---
(define (build-package* package . build-options)
"Build PACKAGE using BUILD-OPTIONS acceptable by 'set-build-options'.
Show what and how will/would be built."
(with-store store
(run-with-store store
(apply build-package package build-options))))
--8<---------------cut here---------------end--------------->8---
Especially if
(guix-eval-in-repl
"(guix-build \"nyxt\" \"--no-grafts\" \"--check\")")
works fine.
All the best,
simon
PS:
What do you name Geiser?
- Re: Reviving Emacs-Guix, (continued)
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/14
- Re: Reviving Emacs-Guix, zimoun, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/14
- Re: Reviving Emacs-Guix, zimoun, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/14
- Re: Reviving Emacs-Guix, zimoun, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/14
- Re: Reviving Emacs-Guix, Ricardo Wurmus, 2020/11/14
- Re: Reviving Emacs-Guix, zimoun, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/15
- Re: Reviving Emacs-Guix,
zimoun <=
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/15
- Re: Reviving Emacs-Guix, zimoun, 2020/11/15
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/15
- Re: Reviving Emacs-Guix, zimoun, 2020/11/15
- Re: Reviving Emacs-Guix, zimoun, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/15
- Re: Reviving Emacs-Guix, Ricardo Wurmus, 2020/11/14
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/15
- Re: Reviving Emacs-Guix, Ludovic Courtès, 2020/11/16
- Re: Reviving Emacs-Guix, Pierre Neidhardt, 2020/11/16